2022-05-21 21:55:27 +00:00
|
|
|
# Disclaimer
|
|
|
|
PROPRIETARY - Copyright - Yehowshua Immanuel
|
|
|
|
|
2022-04-14 04:50:37 +00:00
|
|
|
# The Beginnings of a high-performance, low memory footprint VCD Viewer in Rust for massive multi-GB waveforms
|
|
|
|
|
2022-05-22 00:40:46 +00:00
|
|
|
## Current Features
|
2022-04-14 04:50:37 +00:00
|
|
|
- very fast
|
2022-05-22 00:40:46 +00:00
|
|
|
- loads 400MB of VCD waveform per second on an 8 core 2017 desktop CPU with NVMe storage
|
2022-04-14 04:50:37 +00:00
|
|
|
- consumes roughly between 10 - 50MB of memory per GB of waveform
|
2022-05-22 00:40:46 +00:00
|
|
|
|
|
|
|
## Planed Features
|
2022-04-14 04:50:37 +00:00
|
|
|
- elegant/pretty UI
|
|
|
|
- can be easily ported to work in browser via webassembly
|
|
|
|
- allows high-performance custom Rust plugins to manipulate and
|
|
|
|
generate new waveforms live
|
|
|
|
|
|
|
|
## Running
|
|
|
|
|
|
|
|
Make sure you have a test vcd file to get you started. You can grab
|
|
|
|
a large VCD file from
|
|
|
|
[here](https://drive.google.com/file/d/1pfm2qo2l8fGTHHJ8TLrg1vSGaV_TUbp2/view?usp=sharing).
|
|
|
|
|
|
|
|
The first build of the program may take some time.
|
|
|
|
|
2022-05-19 00:47:55 +00:00
|
|
|
``cargo run --release test-vcd-files/aldec/SPI_Write.vcd``
|
2022-04-14 04:50:37 +00:00
|
|
|
|
2022-05-19 02:57:42 +00:00
|
|
|
# TODO
|
|
|
|
- [x] We need a way to merge lines.
|
2022-06-19 13:44:57 +00:00
|
|
|
- [x] We need to start regression testing the parser over all files
|
|
|
|
- [x] Decide if I want to return option types
|
|
|
|
- [x] Propagate all to question mark unwrap types.
|
|
|
|
- [x] Don't want variation in hh:mm:ss
|
|
|
|
- [x] parser_atoms -> combinator_atoms
|
|
|
|
- [x] make parse/types.rs
|
|
|
|
- [x] remove/replace calls to match_not_empty
|
|
|
|
- [ ] Split ``parse.rs``. It's getting too large.
|
|
|
|
- [ ] support parsing dates with commas
|
|
|
|
- [ ] move list of files to separate test file/folder
|
|
|
|
|
2022-06-13 02:52:24 +00:00
|
|
|
- [ ] Consolidate error messages and add cursors.
|
2022-05-24 03:59:57 +00:00
|
|
|
- [ ] Consider what to do with don't care values
|
|
|
|
will probably just convert them to strings for now.
|
2022-05-23 03:00:03 +00:00
|
|
|
- [ ] Include line and possible column numbers
|
2022-05-21 02:52:26 +00:00
|
|
|
- [ ] Change states to lowercase
|
2022-05-19 02:57:42 +00:00
|
|
|
- [ ] Take a look at GTKWave parser to compare effificiency.
|
|
|
|
- [ ] Send survey to community channel.
|
|
|
|
|
2022-05-24 03:59:57 +00:00
|
|
|
# Probably No Longer Needed
|
|
|
|
- [ ] Should insert nodes in BFS order
|
|
|
|
|
2022-05-19 07:44:24 +00:00
|
|
|
# Files
|
2022-05-21 19:23:33 +00:00
|
|
|
- ./test-vcd-files/aldec/SPI_Write.vcd
|
|
|
|
- ./test-vcd-files/ghdl/alu.vcd
|
|
|
|
- ./test-vcd-files/ghdl/idea.vcd
|
|
|
|
- ./test-vcd-files/ghdl/pcpu.vcd
|
|
|
|
- ./test-vcd-files/gtkwave-analyzer/perm_current.vcd
|
|
|
|
- ./test-vcd-files/icarus/CPU.vcd
|
|
|
|
- ./test-vcd-files/icarus/rv32_soc_TB.vcd
|
|
|
|
- ./test-vcd-files/icarus/test1.vcd
|
|
|
|
- ./test-vcd-files/model-sim/CPU_Design.msim.vcd
|
|
|
|
- ./test-vcd-files/model-sim/clkdiv2n_tb.vcd
|
|
|
|
- ./test-vcd-files/my-hdl/Simple_Memory.vcd
|
|
|
|
- ./test-vcd-files/my-hdl/sigmoid_tb.vcd
|
|
|
|
- ./test-vcd-files/my-hdl/top.vcd
|
|
|
|
- ./test-vcd-files/ncsim/ffdiv_32bit_tb.vcd
|
|
|
|
- ./test-vcd-files/quartus/mipsHardware.vcd
|
|
|
|
- ./test-vcd-files/quartus/wave_registradores.vcd
|
|
|
|
- ./test-vcd-files/questa-sim/dump.vcd
|
|
|
|
- ./test-vcd-files/questa-sim/test.vcd
|
|
|
|
- ./test-vcd-files/riviera-pro/dump.vcd
|
|
|
|
- ./test-vcd-files/systemc/waveform.vcd
|
|
|
|
- ./test-vcd-files/treadle/GCD.vcd
|
|
|
|
- ./test-vcd-files/vcs/Apb_slave_uvm_new.vcd
|
|
|
|
- ./test-vcd-files/vcs/datapath_log.vcd
|
|
|
|
- ./test-vcd-files/vcs/processor.vcd
|
|
|
|
- ./test-vcd-files/verilator/swerv1.vcd
|
|
|
|
- ./test-vcd-files/verilator/vlt_dump.vcd
|
|
|
|
- ./test-vcd-files/vivado/iladata.vcd
|
|
|
|
- ./test-vcd-files/xilinx_isim/test.vcd
|
|
|
|
- ./test-vcd-files/xilinx_isim/test1.vcd
|
|
|
|
- ./test-vcd-files/xilinx_isim/test2x2_regex22_string1.vcd
|