Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions vunit/sim_if/ghdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def add_arguments(parser):
group = parser.add_argument_group("ghdl", description="GHDL specific flags")
group.add_argument(
"--gtkwave-fmt",
choices=["vcd", "ghw"],
choices=["vcd", "fst", "ghw"],
default=None,
help="Save .vcd or .ghw to open in gtkwave",
help="Save .vcd, .fst, or .ghw to open in gtkwave",
)
group.add_argument("--gtkwave-args", default="", help="Arguments to pass to gtkwave")

Expand Down Expand Up @@ -297,6 +297,8 @@ def _get_command(self, config, output_path, elaborate_only, ghdl_e, wave_file):
sim += [f"--wave={wave_file!s}"]
elif self._gtkwave_fmt == "vcd":
sim += [f"--vcd={wave_file!s}"]
elif self._gtkwave_fmt == "fst":
sim += [f"--fst={wave_file!s}"]

if not ghdl_e:
cmd += sim
Expand Down