Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where is the "sim.vcd" file? #1

Open
lenniea opened this issue Aug 14, 2021 · 3 comments
Open

where is the "sim.vcd" file? #1

lenniea opened this issue Aug 14, 2021 · 3 comments

Comments

@lenniea
Copy link

lenniea commented Aug 14, 2021

can you check in the "sim.vcd" file you used to create the .svg file in the README.md? I am trying to recreate it (running on Ubuntu 18.04 & 20.04 but seem to get garbage in the .svg file). Also what were the command line parameters used to generate it? Also noticed that the generated file doesn't have an XML header (so won't display at all in Google Chrome, etc) only displays in Inkscape for me.

@lenniea lenniea changed the title where is the "sim.vcd" file where is the "sim.vcd" file? Aug 14, 2021
@phillbush
Copy link
Owner

Here's the file.
The command I used to convert to svg was:

$ ./vcd2svg clk:b data:u out:h <sim.vcd >sim.svg

@lenniea
Copy link
Author

lenniea commented Aug 15, 2021 via email

@phillbush
Copy link
Owner

Hi!
Try the next commit, it should work.

vcd2svg didn't support multiple commands in a single line.
The following line:

#700 0! 1"

Had to be written as

#700
0!
1"

Now it can parse multiple commands in a single line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants