mirror of https://github.com/YosysHQ/yosys.git
17 lines
274 B
Plaintext
17 lines
274 B
Plaintext
|
read -vlog2k <<EOT
|
||
|
module top(input a, output y);
|
||
|
assign y = !a;
|
||
|
endmodule
|
||
|
EOT
|
||
|
|
||
|
prep -top top
|
||
|
write_verilog write_gzip.v.gz
|
||
|
design -reset
|
||
|
|
||
|
! rm -f write_gzip.v
|
||
|
! gunzip write_gzip.v.gz
|
||
|
read -vlog2k write_gzip.v
|
||
|
! rm -f write_gzip.v
|
||
|
hierarchy -top top
|
||
|
select -assert-any top
|