Skip to content

Commit

Permalink
Added 8MiB LX9 example
Browse files Browse the repository at this point in the history
  • Loading branch information
makestuff committed Dec 28, 2012
1 parent d57109e commit d028369
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README
Expand Up @@ -36,6 +36,19 @@ Where CC:
written to cmd_fifo.


EXAMPLE: LX9 BOARD WITH 8MiB (64Mib) ONBOARD SDRAM:

Notice that the commands request 0x400000 16-bit words, so the subsequent reads
and writes are for 0x800000 bytes, which is 8MiB:

hdlmake.py -t ../templates/fx2min/vhdl -p lx9
flcli -i 04b4:8613 -j A7031 -v 04b4:8613 -x top_level.xsvf
dd if=/dev/urandom of=random.dat bs=1024 count=8192
flcli -v 04b4:8613 -a 'w0 0000000080400000;w0 "random.dat"'
flcli -v 04b4:8613 -a 'w0 0000000040400000;r0 800000 "out.dat"'
diff out.dat random.dat


EXAMPLE: LX9 BOARD WITH 16MiB (128Mib) ONBOARD SDRAM:

Notice that the commands request 0x800000 16-bit words, so the subsequent reads
Expand Down

0 comments on commit d028369

Please sign in to comment.