mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-19 20:33:39 +00:00
parent
22ef5701c0
commit
2d3753d730
2 changed files with 24 additions and 2 deletions
|
@ -55,13 +55,19 @@ obuf b (.i(i), .o(tmp));
|
|||
assign o = tmp;
|
||||
endmodule
|
||||
|
||||
module k(inout o, o2);
|
||||
assign o = 1'bz;
|
||||
endmodule
|
||||
|
||||
EOT
|
||||
|
||||
opt_clean
|
||||
tribuf
|
||||
simplemap
|
||||
iopadmap -bits -inpad ibuf o:i -outpad obuf i:o -toutpad obuft oe:i:o -tinoutpad iobuf oe:o:i:io a b c d e f g h i j
|
||||
iopadmap -bits -inpad ibuf o:i -outpad obuf i:o -toutpad obuft oe:i:o -tinoutpad iobuf oe:o:i:io a b c d e f g h i j k
|
||||
opt_clean
|
||||
hierarchy -check
|
||||
check
|
||||
|
||||
select -assert-count 1 a/t:ibuf
|
||||
select -assert-count 1 a/t:obuf
|
||||
|
@ -140,6 +146,8 @@ select -assert-count 0 i/t:obuf
|
|||
select -assert-count 1 j/t:ibuf
|
||||
select -assert-count 1 j/t:obuf
|
||||
|
||||
select -assert-count 2 k/t:iobuf
|
||||
|
||||
|
||||
# Check that \init attributes get moved from output buffer
|
||||
# to buffer input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue