projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f401eeb
)
Fixed iCE40 SB_IO OUTPUT_ENABLE vs. outena_q handling
author
Clifford Wolf
<clifford@clifford.at>
Fri, 6 Nov 2015 16:02:16 +0000
(17:02 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 6 Nov 2015 16:02:16 +0000
(17:02 +0100)
techlibs/ice40/cells_sim.v
patch
|
blob
|
history
diff --git
a/techlibs/ice40/cells_sim.v
b/techlibs/ice40/cells_sim.v
index 998ad3a1d2feb5bceca8518ef1831379efd09289..4d792c85609f21813b85503ab0ab71dfb05b30d4 100644
(file)
--- a/
techlibs/ice40/cells_sim.v
+++ b/
techlibs/ice40/cells_sim.v
@@
-58,8
+58,8
@@
module SB_IO (
generate
if (PIN_TYPE[5:4] == 2'b01) assign PACKAGE_PIN = dout;
- 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;
+ if (PIN_TYPE[5:4] == 2'b10) assign PACKAGE_PIN =
OUTPUT_ENABLE
? dout : 1'bz;
+ if (PIN_TYPE[5:4] == 2'b11) assign PACKAGE_PIN =
outena_q
? dout : 1'bz;
endgenerate
`endif
endmodule