mirror of https://github.com/YosysHQ/yosys.git
Fixed iCE40 SB_IO OUTPUT_ENABLE vs. outena_q handling
This commit is contained in:
parent
f401eeb0cf
commit
3ad742056b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue