mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
VHDL conversion support.
--HG-- branch : mep107
This commit is contained in:
parent
6e6989dd7c
commit
303fa28ed4
@ -158,7 +158,8 @@ class _ToVHDLConvertor(object):
|
||||
_annotateTypes(genlist)
|
||||
|
||||
### infer interface
|
||||
intf = _analyzeTopFunc(func, *args, **kwargs)
|
||||
top_inst = h.hierarchy[0]
|
||||
intf = _analyzeTopFunc(top_inst, func, *args, **kwargs)
|
||||
intf.name = name
|
||||
# sanity checks on interface
|
||||
for portname in intf.argnames:
|
||||
|
Loading…
x
Reference in New Issue
Block a user