back.rtlil: update for Yosys master.
This commit is contained in:
parent
850674637a
commit
f1e390cbc9
|
@ -451,9 +451,7 @@ class _RHSValueCompiler(_ValueCompiler):
|
||||||
raise TypeError # :nocov:
|
raise TypeError # :nocov:
|
||||||
|
|
||||||
def _prepare_value_for_Slice(self, value):
|
def _prepare_value_for_Slice(self, value):
|
||||||
# Uncomment after the following is merged: https://github.com/YosysHQ/yosys/pull/741
|
if isinstance(value, (ast.Signal, ast.Slice, ast.Cat)):
|
||||||
# if isinstance(value, (ast.Signal, ast.Slice, ast.Cat)):
|
|
||||||
if isinstance(value, ast.Signal):
|
|
||||||
sigspec = self(value)
|
sigspec = self(value)
|
||||||
else:
|
else:
|
||||||
sigspec = self.s.rtlil.wire(len(value))
|
sigspec = self.s.rtlil.wire(len(value))
|
||||||
|
|
Loading…
Reference in a new issue