mirror of https://github.com/YosysHQ/yosys.git
Enable two inout tests
This commit is contained in:
parent
8f02c846f6
commit
66b5f5166b
|
@ -47,23 +47,21 @@ module abc9_test008_sub(input a, output b);
|
||||||
assign b = ~a;
|
assign b = ~a;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
// TODO
|
module abc9_test009(inout io, input oe);
|
||||||
//module abc9_test009(inout io, input oe);
|
reg latch;
|
||||||
//reg latch;
|
always @(io or oe)
|
||||||
//always @(io or oe)
|
if (!oe)
|
||||||
// if (!oe)
|
latch <= io;
|
||||||
// latch <= io;
|
assign io = oe ? ~latch : 1'bz;
|
||||||
//assign io = oe ? ~latch : 1'bz;
|
endmodule
|
||||||
//endmodule
|
|
||||||
|
|
||||||
// TODO
|
module abc9_test010(inout [7:0] io, input oe);
|
||||||
//module abc9_test010(inout [7:0] io, input oe);
|
reg [7:0] latch;
|
||||||
//reg [7:0] latch;
|
always @(io or oe)
|
||||||
//always @(io or oe)
|
if (!oe)
|
||||||
// if (!oe)
|
latch <= io;
|
||||||
// latch <= io;
|
assign io = oe ? ~latch : 8'bz;
|
||||||
//assign io = oe ? ~latch : 1'bz;
|
endmodule
|
||||||
//endmodule
|
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
//module abc9_test011(inout [7:0] io, input oe);
|
//module abc9_test011(inout [7:0] io, input oe);
|
||||||
|
|
Loading…
Reference in New Issue