mirror of https://github.com/YosysHQ/yosys.git
Fix handling of expression width in $past, fixes #810
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
28fba903c5
commit
974927adcf
|
@ -1778,7 +1778,7 @@ skip_dynamic_range_lvalue_expansion:;
|
||||||
|
|
||||||
if (str == "\\$past")
|
if (str == "\\$past")
|
||||||
{
|
{
|
||||||
if (width_hint <= 0)
|
if (width_hint < 0)
|
||||||
goto replace_fcall_later;
|
goto replace_fcall_later;
|
||||||
|
|
||||||
int num_steps = 1;
|
int num_steps = 1;
|
||||||
|
|
Loading…
Reference in New Issue