diff options
author | David Shah <dave@ds0.me> | 2018-10-10 16:35:19 +0100 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2018-10-10 16:35:19 +0100 |
commit | 983fb7ff88ab5f398073e2aa1d5e44eb03d01ee3 (patch) | |
tree | 6d1f78a56ae2e3e850b277a4cbc247cbc60ac641 /techlibs/ecp5/brams_init.py | |
parent | 2ef1af8b58c845f4ca070a0469fe42212bcb5eee (diff) | |
download | yosys-983fb7ff88ab5f398073e2aa1d5e44eb03d01ee3.tar.gz yosys-983fb7ff88ab5f398073e2aa1d5e44eb03d01ee3.tar.bz2 yosys-983fb7ff88ab5f398073e2aa1d5e44eb03d01ee3.zip |
ecp5: First BRAM type maps successfully
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'techlibs/ecp5/brams_init.py')
-rwxr-xr-x | techlibs/ecp5/brams_init.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/ecp5/brams_init.py b/techlibs/ecp5/brams_init.py index 6f650b2a9..96a47bdcd 100755 --- a/techlibs/ecp5/brams_init.py +++ b/techlibs/ecp5/brams_init.py @@ -8,7 +8,7 @@ with open("techlibs/ecp5/bram_init_1_2_4.vh", "w") as f: init_snippets = list(reversed(init_snippets)) for k in range(8, 64, 8): init_snippets[k] = "\n " + init_snippets[k] - print(".INIT_%02X({%s})," % (i, ", ".join(init_snippets)), file=f) + print(".INITVAL_%02X({%s})," % (i, ", ".join(init_snippets)), file=f) with open("techlibs/ecp5/bram_init_9_18_36.vh", "w") as f: for i in range(0, 0x40): @@ -19,4 +19,4 @@ with open("techlibs/ecp5/bram_init_9_18_36.vh", "w") as f: init_snippets = list(reversed(init_snippets)) for k in range(8, 32, 8): init_snippets[k] = "\n " + init_snippets[k] - print(".INIT_%02X({%s})," % (i, ", ".join(init_snippets)), file=f) + print(".INITVAL_%02X({%s})," % (i, ", ".join(init_snippets)), file=f) |