From 5b5d7bb3ce768cf93df76961b411b088bbad8ffa Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Sat, 22 Jan 2022 18:46:24 +0100 Subject: docs/format.html: document bram/cram read-back commands The Lattice tools use these additional commands to read-back the BRAM and CRAM after programming to validate that it was written correctly. `iceprog` doesn't use this right now, so this is just for documentation purposes. Signed-off-by: Trammell Hudson --- docs/format.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/format.html b/docs/format.html index 8d36151..ee7a655 100644 --- a/docs/format.html +++ b/docs/format.html @@ -47,8 +47,10 @@ The following commands are known: - @@ -59,9 +61,9 @@ The following commands are known: payload=0: low
payload=1: medium
payload=2: high - - - + + + -- cgit v1.2.3
OpcodeDescription
0payload=1: CRAM Data
- payload=3: BRAM Data
+
0payload=1: Write CRAM Data
+ payload=2: Read BRAM Data
+ payload=3: Write BRAM Data
+ payload=4: Read BRAM Data
payload=5: Reset CRC
payload=6: Wakeup
payload=8: Reboot
6Set bank width
7Set bank height
8Set bank offset
6Set bank width (16-bits, MSB first)
7Set bank height (16-bits, MSB first)
8Set bank offset (16-bits, MSB first)
9payload=0: Disable warm boot
payload=16: Enable cold boot
payload=32: Enable warm boot