Skip to content

Commit 8fa85d5

Browse files
authoredJan 22, 2022
Merge pull request YosysHQ#289 from osresearch/bitstream-pr
docs/format.html: document bram/cram read-back commands
2 parents 3b7b199 + 5b5d7bb commit 8fa85d5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed
 

‎docs/format.html

+7-5
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ <h2>General Description of the File Format</h2>
4747

4848
<table class="ctab">
4949
<tr><th>Opcode</th><th>Description</th></tr>
50-
<tr><td>0</td><td>payload=1: CRAM Data<br/>
51-
payload=3: BRAM Data<br/>
50+
<tr><td>0</td><td>payload=1: Write CRAM Data<br/>
51+
payload=2: Read BRAM Data<br/>
52+
payload=3: Write BRAM Data<br/>
53+
payload=4: Read BRAM Data<br/>
5254
payload=5: Reset CRC<br/>
5355
payload=6: Wakeup<br/>
5456
payload=8: Reboot</td></tr>
@@ -59,9 +61,9 @@ <h2>General Description of the File Format</h2>
5961
payload=0: low<br/>
6062
payload=1: medium<br/>
6163
payload=2: high</td></tr>
62-
<tr><td>6</td><td>Set bank width</td></tr>
63-
<tr><td>7</td><td>Set bank height</td></tr>
64-
<tr><td>8</td><td>Set bank offset</td></tr>
64+
<tr><td>6</td><td>Set bank width (16-bits, MSB first)</td></tr>
65+
<tr><td>7</td><td>Set bank height (16-bits, MSB first)</td></tr>
66+
<tr><td>8</td><td>Set bank offset (16-bits, MSB first)</td></tr>
6567
<tr><td>9</td><td>payload=0: Disable warm boot<br/>
6668
payload=16: Enable cold boot<br/>
6769
payload=32: Enable warm boot</td></tr>

0 commit comments

Comments
 (0)