Add test for writing gzip-compressed files

Signed-off-by: David Shah <[email protected]>
This commit is contained in:
David Shah
2019-08-06 17:43:04 +01:00
parent 27360ceda6
commit 3a3da678ad
2 changed files with 18 additions and 0 deletions
+2
View File
@@ -1,2 +1,4 @@
/*.log
/*.out
/write_gzip.v
/write_gzip.v.gz
+16
View File
@@ -0,0 +1,16 @@
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