Hi Pandy,
The method to dump a .vcd file depends on the simulator you are using. VCS, Verilator, and ModelSim all have different commands to dump VCD files.
If you are using Verilator to run your simulations, when calling vlt_build, add the following flags in this order: -vlt_build_args=--trace -vlt_build_args=-CFLAGS -vlt_build_args=-DVERILATOR_VCD
Also, make sure you are using the openpiton-dev branch of the repo. The openpiton-dev branch fixes an issue with VCD dumps ending early. You can do this by doing:
$cd $PITON_ROOT
$git checkout openpiton-dev
$git pull
$git submodule update --init --recursive
Running a simulation after building with these commands should create a .vcd file called my_top.vcd and it’ll be either in the build directory or in build/manycore/rel-0.1/
Best,
Paul
From: Pandy Kalimuthu <pan...@gmail.com>
Sent: Saturday, October 5, 2019 1:25 PM
To: Paul J. Jackson <p...@princeton.edu>
Subject: Re: Keyerror ARIANE_ROOT
Paul
I figured out Cento installation of any package
Now, still struggling to way to share files between virtual box to windows. Hope will figure out.
I need to answer importantly for how to create vcd files in dumping waveform in ariane platform ?
Regards
Pandy K
On Sat, Oct 5, 2019 at 10:28 AM Pandy Kalimuthu < > wrote:
Paul
I took the latest openpiton-centos7-vm.ova and open vdmk file in the virtual box after creating Linux and Ubuntu
I am able to compile and simulate ariane hello world.c
Thanks you so much for resolving my issues.
I use vlt_build and vlt_run.
I assume that it comes with Icarus too.
Which one you suggest me to use?
I have few questions
1. How to move files from back and forth to this virtual machine to windows machine
2.I see it has gtkwave to view waveform. Do you have command to dump vcd file from the flow or Should I add in the monitor ?
3.I see Centos 7 installed in virtual machine via vmdk, it is bare minimum. It does not have any browser capability and other important stuff such as xterm and other.
Do you know how to install them or should I look for internet and if so, will it work with this vmdk ?
4. I tried to download *.vdi version also which is stored in the windows as HTML file how to download them as vdi files ?
Thanks Once again Paul your support
Regards
Pandy K
--
You received this message because you are subscribed to the Google Groups "OpenPiton Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpiton+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpiton/68a3cee5-f3ff-43eb-bf93-a58bc585f709%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to open...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openpiton+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpiton/6feb5dae-c228-438f-abdc-71704051d1a0%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpiton/6feb5dae-c228-438f-abdc-71704051d1a0%40googlegroups.com.
Hi Pandy,
You can pass arguments directly to VCS using -vcs_build_args= for build-time and -sim_run_args= for runtime. Perhaps you can look up the info for generating VPD files in the VCS manual and grab something that way. The arguments for VCDs are being passed through automatically too if you look in piton/tools/src/sims/sims,2.0
Thanks,
Jon
To unsubscribe from this group and stop receiving emails from it, send an email to openpiton+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpiton/f83cdae8-9b37-43fa-8844-5ac7d3009f41%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpiton/f83cdae8-9b37-43fa-8844-5ac7d3009f41%40googlegroups.com.
Hi Raghav,
Try adding -vcd -vcdfile=/path/to/myfile.vcd to your -vcs_run command.
Not 100% sure if those flags are working though (they're VCS specific at least). You could instead try manually adding a dumpvars(cmp_top); type line (don't remember the syntax too well for that) in piton/verif/env/manycore/manycore_top.v.pyv
Thanks,
Jon
To unsubscribe from this group and stop receiving emails from it, send an email to openpiton+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpiton/38562e38-9865-41e9-8e20-d8eab7916aca%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpiton/38562e38-9865-41e9-8e20-d8eab7916aca%40googlegroups.com.