gen_lut to return correctly sized LUT mask

This commit is contained in:
Eddie Hung 2019-07-16 12:45:29 -07:00
parent 8a2a2cd035
commit 7a58ee78dc
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ parameter _TECHMAP_CONSTVAL_A_ = 0;
parameter _TECHMAP_CONSTMSK_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 operation;
input integer swap;