mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 06:07:26 +02:00
deminout: Don't demote inouts with unused bits
Signed-off-by: David Shah <[email protected]>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
read_verilog <<EOT
|
||||
module top(input clk, inout [7:0] x);
|
||||
|
||||
reg [3:0] ctr;
|
||||
always @(posedge clk) ctr <= ctr + 1'b1;
|
||||
|
||||
assign x[7:4] = ctr;
|
||||
endmodule
|
||||
EOT
|
||||
proc
|
||||
tribuf
|
||||
deminout
|
||||
select -assert-count 1 i:x o:x %i
|
||||
|
||||
Reference in New Issue
Block a user