From 6d33f8a8ba0e717c779f0426d26a57b9957606d5 Mon Sep 17 00:00:00 2001 From: Ninja3047 <1284324+Ninja3047@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:42:15 -0400 Subject: [PATCH] applet.interface.analyzer: set scope name to something not empty Some tools (namely sigrok), expect non empty names --- software/glasgow/applet/interface/analyzer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/glasgow/applet/interface/analyzer/__init__.py b/software/glasgow/applet/interface/analyzer/__init__.py index c16f81c2f..110d62e89 100644 --- a/software/glasgow/applet/interface/analyzer/__init__.py +++ b/software/glasgow/applet/interface/analyzer/__init__.py @@ -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: