aboutsummaryrefslogtreecommitdiffstats
path: root/templates/minimal.rst.tmpl
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 /templates/minimal.rst.tmpl
parent0530e8994ea274e7fdf12267b4e7aeba32e97a4a (diff)
downloadaxi-lite-gen-500cbce69dee527babd6a9472643ebde5b7adb1e.tar.gz
axi-lite-gen-500cbce69dee527babd6a9472643ebde5b7adb1e.zip
commit WIP to date
Diffstat (limited to 'templates/minimal.rst.tmpl')
-rw-r--r--templates/minimal.rst.tmpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/minimal.rst.tmpl b/templates/minimal.rst.tmpl
new file mode 100644
index 0000000..0ad74df
--- /dev/null
+++ b/templates/minimal.rst.tmpl
@@ -0,0 +1,23 @@
+=========================================================================
+{{name}} Memory Map
+=========================================================================
+
+{% for sec_name, sec_values in sections.iteritems() %}
+{{sec_name}}
+---------------------------------------------------------
+
+.. list-table::
+ :widths: 10 5 5 15 55
+ :header-rows: 1
+
+ * - Address
+ - Bits
+ - Mode
+ - Shortname
+ - What {% for val in sec_values %}
+ * - ``{{ val.addr_pp() }}``
+ - {{ val.bits }}
+ - ``{{ val.mode }}``
+ - {{ val.slug }}
+ - {{ val.description }} {% endfor %}
+{% endfor %}