back.rtlil: Remove code allowing internal yosys cells in Instance.
This was allowed only because Amaranth used it internally. Now that all uses are gone, let's just disallow it entirely.
This commit is contained in:
parent
6dc7c2718c
commit
1cb9d43841
1 changed files with 2 additions and 6 deletions
|
|
@ -923,11 +923,7 @@ class ModuleEmitter:
|
|||
ports[name] = self.instance_wires[cell_idx, name]
|
||||
for name, nets in cell.ports_io.items():
|
||||
ports[name] = self.sigspec(nets)
|
||||
if cell.type.startswith("$"):
|
||||
type = cell.type
|
||||
else:
|
||||
type = "\\" + cell.type
|
||||
self.builder.cell(type, cell.name, ports=ports, params=cell.parameters,
|
||||
self.builder.cell(f"\\{cell.type}", cell.name, ports=ports, params=cell.parameters,
|
||||
attrs=cell.attributes, src=_src(cell.src_loc))
|
||||
|
||||
def emit_cells(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue