Skip to content

Fst Writer#671

Open
desmonddak wants to merge 10 commits into
intel:mainfrom
desmonddak:fst
Open

Fst Writer#671
desmonddak wants to merge 10 commits into
intel:mainfrom
desmonddak:fst

Conversation

@desmonddak

Copy link
Copy Markdown
Contributor

Description & Motivation

It would be nice to have a WaveDumper that can output the FST format because it is much more dense and can be incrementally accessed.

Related Issue(s)

None

Testing

We ran the output through a few tools, notably Wellen and GTKwave.

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

No.

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

No. We will need to add. But at the user level, it becomes a choice between VCD and FST>

desmonddak and others added 10 commits June 14, 2026 10:42
Clarify comment

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Adds FST format support as an alternative output format for WaveDumper:
- lib/src/fst/fst_types.dart: FST type definitions (FstVarType, FstVarDirection,
  FstScopeType, FstFileType, FstSignalHandle, FstWriterConfig)
- lib/src/fst/fst_writer.dart: GTKWave-compatible binary FST writer
- lib/src/wave_dumper.dart: adds WaveFormat enum (vcd/fst) and FST format support
- lib/rohd.dart: exports fst_types.dart and fst_writer.dart
- test/fst_writer_test.dart: FST writer tests

No DevTools integration on this branch; that is added later.
Uses Directory.createSync / dart:io — fails on JS with _Namespace error.
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

Successfully merging this pull request may close these issues.

1 participant