projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8393f70
)
Avoid tristate warning for blackbox ice40/cells_sim.v
author
Clifford Wolf
<clifford@clifford.at>
Sat, 18 Jul 2015 09:59:04 +0000
(11:59 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 18 Jul 2015 09:59:04 +0000
(11:59 +0200)
techlibs/ice40/cells_sim.v
patch
|
blob
|
history
diff --git
a/techlibs/ice40/cells_sim.v
b/techlibs/ice40/cells_sim.v
index afa8a516bba3e28664afdf12851081043cc0f8cb..c06f5e14352f43ef9d42b9e378d24cb35ff86c53 100644
(file)
--- a/
techlibs/ice40/cells_sim.v
+++ b/
techlibs/ice40/cells_sim.v
@@
-18,6
+18,7
@@
module SB_IO (
parameter [0:0] NEG_TRIGGER = 1'b0;
parameter IO_STANDARD = "SB_LVCMOS";
+`ifndef BLACKBOX
reg dout, din_0, din_1;
reg din_q_0, din_q_1;
reg dout_q_0, dout_q_1;
@@
-57,6
+58,7
@@
module SB_IO (
if (PIN_TYPE[5:4] == 2'b10) assign PACKAGE_PIN = outena_q ? dout : 1'bz;
if (PIN_TYPE[5:4] == 2'b11) assign PACKAGE_PIN = OUTPUT_ENABLE ? dout : 1'bz;
endgenerate
+`endif
endmodule
module SB_GB_IO (