Skip to content

Commit

Permalink
applet.interface.analyzer: set scope name to something not empty
Browse files Browse the repository at this point in the history
Some tools (namely sigrok), expect non empty names
  • Loading branch information
Ninja3047 authored and whitequark committed Nov 9, 2024
1 parent b3eb5c7 commit 6d33f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/glasgow/applet/interface/analyzer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ async def interact(self, device, args, iface):
vcd_writer = VCDWriter(args.file, timescale="1 ns", check_values=False)
signals = []
for index in range(self._event_sources[0].width):
signals.append(vcd_writer.register_var(scope="", name=f"pin[{index}]",
signals.append(vcd_writer.register_var(scope="glasgow", name=f"pin[{index}]",
var_type="wire", size=1, init=0))

try:
Expand Down

0 comments on commit 6d33f8a

Please sign in to comment.