ThePerfectComputer / FastWaveBackend

A Rust VCD parser intended to be the backend of a Waveform Viewer(built using egui) that supports dynamically loaded rust plugins.
GNU General Public License v3.0
42 stars 5 forks source link

Add support for FST (fast signal trace) files #7

Open alanvgreen opened 2 years ago

alanvgreen commented 2 years ago

The FST format is often used when working with large traces. It is more compact and faster than VCD.

https://github.com/semify-eda/fstdumper is an FST reader/writer library.

ThePerfectComputer commented 2 years ago

Yes, support for FST is being considered. One thing I'd really like to do however is keep only Rust code in the codebase.

How hard would it be to convert fstdumper to Rust, if I were to use fstdumper as a reference for a Rust version?

alanvgreen commented 2 years ago

I'm sure you'll have a better idea than me about how much effort it is.

It would be less effort to wrap the C, of course :)

oscargus commented 1 year ago

FYI, there is an alternative library for FST (released after this was opened): https://docs.rs/fstapi/latest/fstapi/

(Although, naturally, it would be nice to have the same API etc independent of underlying file format.)