mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-05 21:53:24 +00:00
gen_lut to return correctly sized LUT mask
This commit is contained in:
parent
8a2a2cd035
commit
7a58ee78dc
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ parameter _TECHMAP_CONSTVAL_A_ = 0;
|
||||||
parameter _TECHMAP_CONSTMSK_B_ = 0;
|
parameter _TECHMAP_CONSTMSK_B_ = 0;
|
||||||
parameter _TECHMAP_CONSTVAL_B_ = 0;
|
parameter _TECHMAP_CONSTVAL_B_ = 0;
|
||||||
|
|
||||||
function automatic integer gen_lut;
|
function automatic [(1 << `LUT_WIDTH)-1:0] gen_lut;
|
||||||
input integer width;
|
input integer width;
|
||||||
input integer operation;
|
input integer operation;
|
||||||
input integer swap;
|
input integer swap;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue