aboutsummaryrefslogtreecommitdiffstats
path: root/syntax.rst
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2014-02-26 13:16:42 -0500
committerbryan newbold <bnewbold@leaflabs.com>2014-02-26 13:16:42 -0500
commit500cbce69dee527babd6a9472643ebde5b7adb1e (patch)
tree4a642c5d1965a931083e5fdf7cc31be138ca64e1 /syntax.rst
parent0530e8994ea274e7fdf12267b4e7aeba32e97a4a (diff)
downloadaxi-lite-gen-500cbce69dee527babd6a9472643ebde5b7adb1e.tar.gz
axi-lite-gen-500cbce69dee527babd6a9472643ebde5b7adb1e.zip
commit WIP to date
Diffstat (limited to 'syntax.rst')
-rw-r--r--syntax.rst38
1 files changed, 38 insertions, 0 deletions
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.