saving progress for now
This commit is contained in:
parent
3573642131
commit
adc7511ca9
4 changed files with 79 additions and 25 deletions
24
atoms.txt
24
atoms.txt
|
@ -1,6 +1,6 @@
|
|||
- [x] <id> ::= <public-id> | <autogen-id>
|
||||
- [x] <public-id> ::= “" <nonws>+
|
||||
- [x] <autogen-id> ::= “” <nonws>+
|
||||
- [x] <public-id> ::= "\" <nonws>+
|
||||
- [x] <autogen-id> ::= "$" <nonws>+
|
||||
- [x] <value> ::= <decimal-digit>+ ’ <binary-digit>*
|
||||
- [x] <decimal-digit> ::= “0” | “1” | “2” | “3” | “4” | “5” | “6” | “7” | “8” | “9”
|
||||
- [x] <binary-digit> ::= “0” | “1” | “x” | “z” | “m” | “-“
|
||||
|
@ -9,24 +9,24 @@
|
|||
- [x] <autoidx-stmt> ::= “autoidx” <integer> <eol>
|
||||
- [ ] <module> ::= <attr-stmt>* <module-stmt> <module-body> <module-end-stmt>
|
||||
- [x] <module-stmt> ::= “module” <id> <eol>
|
||||
- [ ] <module-body> ::= (<param-stmt> <wire> <memory> <cell> <process> )*
|
||||
- [ ] <param-stmt> ::= “parameter” <id> <constant>? <eol>
|
||||
- [ ] <constant> ::= <value> | <integer> | <string>
|
||||
- [ ] <module-body> ::= (<param-stmt> | <wire> | <memory> | <cell> | <process> )*
|
||||
- [x] <param-stmt> ::= “parameter” <id> <constant>? <eol>
|
||||
- [x] <constant> ::= <value> | <integer> | <string>
|
||||
- [x] <module-end-stmt> ::= “end” <eol>
|
||||
- [ ] <attr-stmt> ::= “attribute” <id> <constant> <eol>
|
||||
- [ ] <sigspec> ::= <constant> <sigspec> “[” <integer> (“:” <integer>)? “]” “{” <sigspec>* “}”
|
||||
- [x] <attr-stmt> ::= “attribute” <id> <constant> <eol>
|
||||
- [ ] <sigspec> ::= <constant> | <wire-id> | <sigspec> “[” <integer> (“:” <integer>)? “]” | “{” <sigspec>* “}”
|
||||
- [ ] <conn-stmt> ::= “connect” <sigspec> <sigspec> <eol>
|
||||
- [ ] <wire> ::= <attr-stmt>* <wire-stmt>
|
||||
- [ ] <wire-stmt> ::= “wire” <wire-option>* <wire-id> <eol>
|
||||
- [ ] <wire-id> ::= <id>
|
||||
- [ ] <wire-option> ::= “width” <integer> “offset” <integer> “input” <integer> “output” <integer> “inout” <integer> “upto” “signed”
|
||||
- [ ] <wire-option> ::= “width” <integer> | “offset” <integer> | “input” <integer> | “output” <integer> | “inout” <integer> | “upto” | “signed”
|
||||
- [ ] <memory> ::= <attr-stmt>* <memory-stmt>
|
||||
- [ ] <memory-stmt> ::= “memory” <memory-option>* <id> <eol>
|
||||
- [ ] <memory-option> ::= “width” <integer> “size” <integer> “offset” <integer>
|
||||
- [ ] <memory-option> ::= “width” <integer> | “size” <integer> | “offset” <integer>
|
||||
- [ ] <cell> ::= <attr-stmt>* <cell-stmt> <cell-body-stmt>* <cell-end-stmt>
|
||||
- [ ] <cell-stmt> ::= “cell” <cell-id> <cell-type> <eol>
|
||||
- [ ] <cell-id> ::= <id>
|
||||
- [ ] <cell-type> ::= <id>
|
||||
- [ ] <cell-stmt> ::= "cell" <cell-id> <cell-type> <eol>
|
||||
- [x] <cell-id> ::= <id>
|
||||
- [x] <cell-type> ::= <id>
|
||||
- [ ] <cell-body-stmt> ::= “parameter” (“signed” | “real”)? <id> <constant> <eol> “connect” <id> <sigspec> <eol>
|
||||
- [ ] <cell-end-stmt> ::= “end” <eol>
|
||||
- [ ] <process> ::= <attr-stmt>* <proc-stmt> <process-body> <proc-end-stmt>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue