Commit 984a011d by Miodrag Milanovic

proper falsify

parent 41b5c224
......@@ -17,10 +17,10 @@ module tristate (en, i, io, o);
assign o = (en)? io : 2'bZZ;
`else
always @(en or i)
io_buf[0] <= (!en)? ~i : 1'bZ;
io_buf[0] <= (en)? ~i : 1'bZ;
always @(en or i)
io_buf[1] <= (!i)? ~en : 1'bZ;
io_buf[1] <= (i)? ~en : 1'bZ;
assign o = (en)? ~io : 2'bZZ;
`endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment