Skip to content

Commit

Permalink
feat(tt_tool): microtile support for Wokwi projects
Browse files Browse the repository at this point in the history
  • Loading branch information
urish committed Sep 24, 2024
1 parent 6f5c5de commit ac62847
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ def print_top_module(self):
def fetch_wokwi_files(self):
logging.info("fetching wokwi files")
src_file = self.info.source_files[0]
url = f"https://wokwi.com/api/projects/{self.info.wokwi_id}/verilog"
params = "?micro=1" if self.info.tiles == "micro" else ""
url = f"https://wokwi.com/api/projects/{self.info.wokwi_id}/verilog" + params
git_utils.fetch_file(url, os.path.join(self.src_dir, src_file))

# also fetch the wokwi diagram
Expand Down

0 comments on commit ac62847

Please sign in to comment.