fhdl: encapsulate replicated constants
This commit is contained in:
parent
f0aac4b50f
commit
76db20cd9f
|
@ -108,7 +108,7 @@ class Cat(Value):
|
||||||
|
|
||||||
class Replicate(Value):
|
class Replicate(Value):
|
||||||
def __init__(self, v, n):
|
def __init__(self, v, n):
|
||||||
self.v = v
|
self.v = _cst(v)
|
||||||
self.n = n
|
self.n = n
|
||||||
|
|
||||||
class Constant(Value):
|
class Constant(Value):
|
||||||
|
|
Loading…
Reference in New Issue