mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
Added portmap attribute to _toVerilog to simplify cosimulation
--HG-- branch : upstream
This commit is contained in:
parent
20211ae5b6
commit
755850246c
@ -86,7 +86,8 @@ class _ToVerilogConvertor(object):
|
||||
"radix",
|
||||
"header",
|
||||
"no_myhdl_header",
|
||||
"no_testbench"
|
||||
"no_testbench",
|
||||
"portmap"
|
||||
)
|
||||
|
||||
def __init__(self):
|
||||
@ -157,6 +158,7 @@ class _ToVerilogConvertor(object):
|
||||
|
||||
### clean-up properly ###
|
||||
self._cleanup(siglist)
|
||||
self.portmap = intf.argdict
|
||||
|
||||
return h.top
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user