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
|
||||
module BB(input T, I, output O,
|
||||
(* iopad_external_pin *) inout B);
|
||||
assign B = T ? 1'bz : O;
|
||||
assign I = B;
|
||||
assign B = T ? 1'bz : I;
|
||||
assign O = B;
|
||||
endmodule
|
||||
|
||||
// Input buffer
|
||||
|
|
Loading…
Reference in New Issue