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()]