From 500cbce69dee527babd6a9472643ebde5b7adb1e Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Wed, 26 Feb 2014 13:16:42 -0500 Subject: commit WIP to date --- syntax.rst | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 syntax.rst (limited to 'syntax.rst') diff --git a/syntax.rst b/syntax.rst new file mode 100644 index 0000000..27ab499 --- /dev/null +++ b/syntax.rst @@ -0,0 +1,38 @@ + +Repetition +----------------------- +Repeated sections use array ([n]) syntax for the section name. The [0] section +should be complete, all the other repetitions should only have the word_index +set. + +UNIMPLEMENTED: repeated sections could be packed/unpacked automatically (see +pack_array for macros) + +HDL: Variables and Storage +------------------------------------- +Read-only nets are implemented + +Mode Flags +---------------------- + +**r: Read** + +**w: Write** + +**p: Parameter** + A special read-only mode for compile-time constants. The slug name is + capitalized for HDL but lower case in other contexts. + +**b: Doorbell** + UNIMPLEMENTED. + A new net with "_trig" suffix is created which is triggered on every write + transaction. + +**m: Memory Block** + UNIMPLEMENTED. + Uses an address mask to read/write, eg, a BRAM or regfile instead of + exposing many individual registers. + +**f: FIFO** + UNIMPLEMENTED. + Sets up a read or write FIFO. -- cgit v1.2.3