Hello,
I am having no luck with getting a VCD simulation file from ModelSim ALTERA 10.0d (Included free with Quartus 12 free Web edition) to work with ZamiaCad 0.10.3. I have followed the tutorial from http://zamiacad.sourceforge.net/web/?q=tutorial (which is out of date btw - the included project's vcd file does not work either - had to manually edit it to remove lines starting with b------ , after which the example project worked).
I have created a simple sample project, which re-creates the problem that I am having with using vcd file, generated form ModelSim, along with the vcd file and the script to generate it (assuming modelsim is in your path).
Attached here is a archive with:
test.vhd - sample rtl (very basic one register input/output)
testtb.vhd - testbench
vcd.sh - script to generate vcd.vcd
vcd.vcd - vcd dump file from modelsim
.project - zamiaCAD project file
vcd.do - modelsim commands to generate vcd.vcd (used by vcd.sh)
BuildPath.txt - defines TOPLEVEL=testtb
The error that I am getting when executing the Run Configuration :
Jun 24 11:58:57 ==========================================================================
Jun 24 11:58:57 EXCEPTION LOG STARTS: VCD: Error: Not a VHDL object: TESTTB.CLK
Jun 24 11:58:57 D:\workspace\test\vcd.vcd:11,1: VCD: Error: Not a VHDL object: TESTTB.CLK
at org.zamia.instgraph.sim.vcd.VCDData.newSignal(VCDData.java:100)
at org.zamia.instgraph.sim.vcd.parser.VCDParser.vcd_declaration_vars(VCDParser.java:189)
at org.zamia.instgraph.sim.vcd.parser.VCDParser.value_change_dump_definitions(VCDParser.java:103)
at org.zamia.instgraph.sim.vcd.parser.VCDParser.parse(VCDParser.java:65)
at org.zamia.instgraph.sim.vcd.VCDImport.open(VCDImport.java:58)
at org.zamia.plugin.views.sim.SimulatorView$SimRunJob.run(SimulatorView.java:1609)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Jun 24 11:58:57
Jun 24 11:58:57 Full path: D:\workspace\test\vcd.vcd
Jun 24 11:58:57
Jun 24 11:58:57 --------------------------------------------------------------------------
Jun 24 11:58:57 Source code excerpt:
Jun 24 11:58:57 D:\workspace\test\vcd.vcd
Jun 24 11:58:57 7: $timescale
Jun 24 11:58:57 8: 1ps
Jun 24 11:58:57 9: $end
Jun 24 11:58:57 10: $var reg 1 ! clk $end
Jun 24 11:58:57 * 11: $var reg 1 " outs $end
Jun 24 11:58:57 12: $scope module t1 $end
Jun 24 11:58:57 13: $var reg 1 ! clk $end
Jun 24 11:58:57 14: $var reg 1 " outs $end
Jun 24 11:58:57 --------------------------------------------------------------------------
Jun 24 11:58:57
Jun 24 11:58:57 ==========================================================================
Jun 24 11:58:57 org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4083)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.SWT.error(SWT.java:3969)
at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:359)
at org.eclipse.swt.widgets.Control.getShell(Control.java:1432)
at org.zamia.plugin.views.sim.SimulatorView$SimRunJob.run(SimulatorView.java:1621)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Jun 24 11:58:57 --------------------------------------------------------------------------
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
test project with VCD file from ModelSim Altera