File size: 305 Bytes
684db41 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 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
|