1
0
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:
Keerthan Jaic 2013-07-04 23:04:28 -04:00
parent 6e6989dd7c
commit 303fa28ed4

View File

@ -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: