From 9596fe74de69021e953aec06702e8b0c18da421a Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 16 Aug 2015 21:39:34 +0200 Subject: Another bugfix for ice40 and xilinx brams_init make rules --- techlibs/ice40/brams_init.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'techlibs/ice40/brams_init.py') diff --git a/techlibs/ice40/brams_init.py b/techlibs/ice40/brams_init.py index b99a2f3ca..93eb9846b 100644 --- a/techlibs/ice40/brams_init.py +++ b/techlibs/ice40/brams_init.py @@ -11,7 +11,7 @@ def write_init_vh(filename, initbits): print(" %s%s" % (", ".join(["INIT[%4d]" % initbits[i*256 + 255 - k*8 - l] for l in range(8)]), "," if k != 31 else ""), file=f) print("};", file=f); -write_init_vh("brams_init1.vh", [i//2 + 2048*(i%2) for i in range(4096)]) -write_init_vh("brams_init2.vh", [i//4 + 1024*(i%4) for i in range(4096)]) -write_init_vh("brams_init3.vh", [i//8 + 512*(i%8) for i in range(4096)]) +write_init_vh("techlibs/ice40/brams_init1.vh", [i//2 + 2048*(i%2) for i in range(4096)]) +write_init_vh("techlibs/ice40/brams_init2.vh", [i//4 + 1024*(i%4) for i in range(4096)]) +write_init_vh("techlibs/ice40/brams_init3.vh", [i//8 + 512*(i%8) for i in range(4096)]) -- cgit v1.2.3