parent
a2241fcfdb
commit
ada1d6a603
|
@ -256,8 +256,8 @@ class TemplatedPlatform(Platform):
|
||||||
assert False
|
assert False
|
||||||
|
|
||||||
def emit_design(backend):
|
def emit_design(backend):
|
||||||
return {"rtlil": rtlil, "verilog": verilog}[backend].convert(fragment, name=name,
|
backend_mod = {"rtlil": rtlil, "verilog": verilog}[backend]
|
||||||
ports=list(self.iter_ports()), missing_domain=lambda name: None)
|
return backend_mod.convert_fragment(fragment, name=name)
|
||||||
|
|
||||||
def emit_commands(format):
|
def emit_commands(format):
|
||||||
commands = []
|
commands = []
|
||||||
|
|
Loading…
Reference in a new issue