From 9d802fbe8c98b26fc1f8f78f0fe096f506a65fe2 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Tue, 26 Dec 2023 15:06:28 +0200 Subject: [PATCH] fix(tt_tool): fails on Wokwi projects --- project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.py b/project.py index 2bc7c8d..99868c2 100644 --- a/project.py +++ b/project.py @@ -102,10 +102,10 @@ def __init__( if self.is_user_project: self.sources = self.info.source_files - self.check_sources() if self.is_wokwi(): self.top_verilog_filename = self.sources[0] else: + self.check_sources() self.top_verilog_filename = self.find_top_verilog() else: self.sources = [self.get_gl_verilog_filename()]