Lramseyer / vaporview

VCD Waveform Viewer Extension for VScode
GNU General Public License v3.0
54 stars 1 forks source link

Add command to reload VCD #12

Open Lramseyer opened 2 months ago

Lramseyer commented 2 months ago

@hi0t

I couldn't find a button or command to reload the vcd. If there is no such function, it would be a good idea to add it. If the data file has been updated, you have to close it, then open it and configure viewing again.

Lramseyer commented 1 week ago

I haven't forgotten about this! I am in the process of migrating to the node version of fs.read() which should allow me to get around the 2GB limit, as well as reloading vcd files.

There are 2 types of reloads that I was thinking about implementing:

I assume that the "fast" reload is your intended use case?

hi0t commented 1 week ago

I rather meant a full reload. The scenario is as follows - we make some edits to the test bench (this may even be deleting and adding signals). After launching the modified test bench, we want to press a certain button that will reboot the vcd. Accordingly, the already configured signals in the current window should remain and simply update their state. It is likely that vaporview should try to find all the already configured signals by name in the updated vcd and display them again.

Lramseyer commented 1 week ago

OK, I'll look into full reload!