summaryrefslogtreecommitdiff
path: root/cad/verilog/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-06-30 19:55:04 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-06-30 19:55:04 +0000
commitf5b7f311d18d00e983b6bdbf548a2fa5620ba4fd (patch)
tree7bd32c58ee3dcd5bad3e76ac4ea009c64dcd01cd /cad/verilog/patches
parent63ee94d24c87648b7bd265cc27eece3213e0a5de (diff)
downloadpkgsrc-f5b7f311d18d00e983b6bdbf548a2fa5620ba4fd.tar.gz
make the default timescale in the output VCD files be 1ns for compatibility
with viewers such as Dinotrace.
Diffstat (limited to 'cad/verilog/patches')
-rw-r--r--cad/verilog/patches/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/cad/verilog/patches/patch-aa b/cad/verilog/patches/patch-aa
new file mode 100644
index 00000000000..b4e8090a6c5
--- /dev/null
+++ b/cad/verilog/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2000/06/30 19:55:06 dmcmahill Exp $
+
+use a default timescale of 1ns instead of 1ps. This will make the VCD output
+compatible with Dinotrace.
+
+--- vpi/sys_vcd.c.orig Fri Jun 2 22:22:15 2000
++++ vpi/sys_vcd.c Fri Jun 30 15:51:40 2000
+@@ -252,5 +252,5 @@
+ fprintf(dump_file, "$end\n");
+ fprintf(dump_file, "$timescale\n");
+- fprintf(dump_file, "\t1ps\n");
++ fprintf(dump_file, "\t1ns\n");
+ fprintf(dump_file, "$end\n");
+ }