diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-08-21 19:18:40 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-08-21 19:18:40 -0700 |
commit | 7d02d17b16d1f120697a5513f29d4eba8deae2a5 (patch) | |
tree | 140a5482c7332118f9a84f6e5abd769dcbb222c2 /passes/pmgen | |
parent | 5c8344363f6405d1d6e21868b10b6dc9e02148a4 (diff) | |
download | yosys-7d02d17b16d1f120697a5513f29d4eba8deae2a5.tar.gz yosys-7d02d17b16d1f120697a5513f29d4eba8deae2a5.tar.bz2 yosys-7d02d17b16d1f120697a5513f29d4eba8deae2a5.zip |
Reuse var
Diffstat (limited to 'passes/pmgen')
-rw-r--r-- | passes/pmgen/xilinx_srl.pmg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/pmgen/xilinx_srl.pmg b/passes/pmgen/xilinx_srl.pmg index 3f4efebe9..4558234de 100644 --- a/passes/pmgen/xilinx_srl.pmg +++ b/passes/pmgen/xilinx_srl.pmg @@ -177,7 +177,7 @@ code chain.push_back(first); subpattern(tail); finally - if (GetSize(chain) == param(shiftx, \A_WIDTH).as_int()) + if (GetSize(chain) == shiftx_width) accept; chain.clear(); endcode |