diff options
| author | Clifford Wolf <clifford@clifford.at> | 2016-05-12 18:32:07 +0200 |
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2016-05-12 18:32:07 +0200 |
| commit | 2c553baeac92026177dcf3be95cb793f1a5c973d (patch) | |
| tree | 3ab656702552922b7af3d50b25ea27b55dae5ab7 /icebram/makedemo.py | |
| parent | 0e1417249c832afabb3c81eb707d39efe94955df (diff) | |
Added icebram bitslice replacer
Diffstat (limited to 'icebram/makedemo.py')
| -rw-r--r-- | icebram/makedemo.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/icebram/makedemo.py b/icebram/makedemo.py index bcec93f..35d3653 100644 --- a/icebram/makedemo.py +++ b/icebram/makedemo.py @@ -8,6 +8,10 @@ while True: numrports = np.random.randint(1, 5) if bram_width * bram_depth * numrports < 16*4096: break +bram_width = 16 +bram_depth = 256 +numrports = 1 + with open("demo.v", "wt") as f: print("module demo (", file=f) for i in range(numrports): |
