Trinity-SciData / chips /yosys /tests /techmap /bufnorm_inout_input.ys
STAR-future's picture
add chips/yosys (part 8)
684db41 verified
Raw History Blame Contribute Delete
305 Bytes
read_verilog <<EOT
(* blackbox *)
module pad(inout B, output O);
endmodule
module top(input i, output o);
wire a, b;
assign a = i;
assign b = i;
pad p (.B(a), .O(o));
endmodule
EOT
hierarchy -top top
bufnorm -update
bufnorm -reset
clean
check -assert
select -assert-count 1 t:pad %x:+[B] w:i %i