From b05d1bb7e35e8840876376b16074bad7188ffd21 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sun, 19 Feb 2017 19:28:13 +0100 Subject: [PATCH] coreanalyzer: fix corner case crash --- artiq/coredevice/analyzer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/coredevice/analyzer.py b/artiq/coredevice/analyzer.py index f070badc9..ea6de22d1 100644 --- a/artiq/coredevice/analyzer.py +++ b/artiq/coredevice/analyzer.py @@ -447,6 +447,7 @@ def decoded_dump_to_vcd(fileobj, devices, dump): slack = vcd_manager.get_channel("rtio_slack", 64) vcd_manager.set_time(0) + start_time = 0 for m in messages: start_time = get_message_time(m) if start_time: