mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
Update submission tools for mux
1. don't generate user_project_wrapper.v, as it's now static 2. don't generate macros.cfg, as gen_macro_cfg.py does it (eventually, we'll want to integrate it into tt-support-tools) 3. don't generate PDN hooks config. Instead, we're using a wildcard to match all user macros. 4. remove the "layout" section from config.yaml, and scanchain related stuff from generate config.json
This commit is contained in:
+13
-3
@@ -54,12 +54,22 @@ class Project():
|
||||
os.unlink(json_file)
|
||||
|
||||
module_ports = ports['modules'][top]['ports']
|
||||
for port in ['io_in', 'io_out']:
|
||||
required_ports = [
|
||||
['clk', 1],
|
||||
['ena', 1],
|
||||
['rst_n', 1],
|
||||
['ui_in', 8],
|
||||
['uio_in', 8],
|
||||
['uio_oe', 8],
|
||||
['uio_out', 8],
|
||||
['uo_out', 8],
|
||||
]
|
||||
for port, bits in required_ports:
|
||||
if port not in module_ports:
|
||||
logging.error(f"{self} {port} not found in top")
|
||||
exit(1)
|
||||
if len(module_ports[port]['bits']) != 8:
|
||||
logging.error(f"{self} {port} doesn't have 8 bits")
|
||||
if len(module_ports[port]['bits']) != bits:
|
||||
logging.error(f"{self} {port} doesn't have {bits} bits")
|
||||
exit(1)
|
||||
|
||||
def check_num_cells(self):
|
||||
|
||||
Reference in New Issue
Block a user