mirror of https://github.com/YosysHQ/yosys.git
nexus: Fix BB sim model
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
36482680d5
commit
f699c4ba58
|
@ -54,8 +54,8 @@ endmodule
|
||||||
// Bidirectional IO buffer
|
// Bidirectional IO buffer
|
||||||
module BB(input T, I, output O,
|
module BB(input T, I, output O,
|
||||||
(* iopad_external_pin *) inout B);
|
(* iopad_external_pin *) inout B);
|
||||||
assign B = T ? 1'bz : O;
|
assign B = T ? 1'bz : I;
|
||||||
assign I = B;
|
assign O = B;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
// Input buffer
|
// Input buffer
|
||||||
|
|
Loading…
Reference in New Issue