mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
removed _numeric check
This commit is contained in:
parent
84712ab7f2
commit
e9b78d6647
@ -210,10 +210,7 @@ class ConcatSignal(_ShadowSignal):
|
||||
lines.append("%s(%s) <= '%s';" % (self._name, lo, bin(ini[lo])))
|
||||
else:
|
||||
if isinstance(a, _Signal):
|
||||
if a._numeric:
|
||||
lines.append("%s(%s-1 downto %s) <= %s;" % (self._name, hi, lo, a._name))
|
||||
else:
|
||||
lines.append("%s(%s-1 downto %s) <= unsigned( %s );" % (self._name, hi, lo, a._name))
|
||||
lines.append("%s(%s-1 downto %s) <= %s;" % (self._name, hi, lo, a._name))
|
||||
else:
|
||||
lines.append('%s(%s-1 downto %s) <= "%s";' % (self._name, hi, lo, bin(ini[hi:lo],w)))
|
||||
hi = lo
|
||||
|
Loading…
x
Reference in New Issue
Block a user