mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
feat: generate gl includes for user projects
This enables running GL tests on the final GL netlist of the actual chip
This commit is contained in:
@@ -93,6 +93,14 @@ class ShuttleConfig:
|
||||
with open("shuttle_index.json", "w") as shuttle_index_file:
|
||||
json.dump(shuttle_index_data, shuttle_index_file, indent=2)
|
||||
|
||||
with open("verilog/includes/includes.gl.user_projects", "w") as includes_file:
|
||||
for project in self.projects:
|
||||
if project.is_chip_rom():
|
||||
continue
|
||||
includes_file.write(
|
||||
f"$(USER_PROJECT_VERILOG)/../projects/{project.top_module}/{project.top_module}.v\n"
|
||||
)
|
||||
|
||||
def list(self):
|
||||
for project in self.projects:
|
||||
logging.info(project)
|
||||
|
||||
Reference in New Issue
Block a user