wavedrom / vcdrom

VCD viewer
https://vc.drom.io
MIT License
78 stars 10 forks source link

Help request: load local data #43

Open bjones1 opened 5 months ago

bjones1 commented 5 months ago

I run a server (interactive-ebooks.com) where I allow students to build and run in-browser Verilog coding exercises. I'm using iverilog to run the code. Given that it's easy to produce a VCD file on my server, what's the appropriate way to send back the VCD data as a string that vcdrom can load? Hopefully, something along the lines of VCDrom(div_id for the resulting viewer, string contents of a VCD file)?

Thanks for the awesome tool!

drom commented 5 months ago

Cool! How do you run iverilog in browser? where do you store VCD?

bjones1 commented 5 months ago

I'm running a server on the backend, so no magic there. It's a really nice open-source setup -- see https://github.com/RunestoneInteractive/rs.