Skip to content

Commit

Permalink
fix(tt_tool): fails on Wokwi projects
Browse files Browse the repository at this point in the history
  • Loading branch information
urish committed Dec 26, 2023
1 parent b45db8f commit 9d802fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()]
Expand Down

0 comments on commit 9d802fb

Please sign in to comment.