projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64d9121
)
ice40: use 2 bits for READ/WRITE MODE for SB_RAM map
author
Elms
<elms@freshred.net>
Fri, 1 Mar 2019 00:22:24 +0000
(16:22 -0800)
committer
Elms
<elms@freshred.net>
Fri, 1 Mar 2019 00:23:40 +0000
(16:23 -0800)
EBLIF output .param will only use necessary 2 bits
Signed-off-by: Elms <elms@freshred.net>
techlibs/ice40/brams_map.v
patch
|
blob
|
history
diff --git
a/techlibs/ice40/brams_map.v
b/techlibs/ice40/brams_map.v
index 19a61d73bb9f7b0b8f792bbdcd87faf735d015e2..ad3bccd21f45c7015ab94101c4d1942a479c36c4 100644
(file)
--- a/
techlibs/ice40/brams_map.v
+++ b/
techlibs/ice40/brams_map.v
@@
-7,8
+7,8
@@
module \$__ICE40_RAM4K (
input [10:0] WADDR,
input [15:0] MASK, WDATA
);
- parameter
integer
READ_MODE = 0;
- parameter
integer
WRITE_MODE = 0;
+ parameter
[1:0]
READ_MODE = 0;
+ parameter
[1:0]
WRITE_MODE = 0;
parameter [0:0] NEGCLK_R = 0;
parameter [0:0] NEGCLK_W = 0;