Altera_Forum
Honored Contributor
14 years agoHow to define contant look up tables (LUT) ??
Hello..
I can define LUT4 (4 input, 16 bit init value) and LUT5 (5 input, 32 bit init value) look up tables with constant values on Lattice Diamond in this way; LUT5 # (.init (32'h330FF0CC)) I1 ( .A (x_in[0]), .B (x_in[1]), .C (k_in[0]), .D (k_in[1]), .E (k_in[2]), .Z (f_out) ); LUT4 # (.init (16'h00D8)) I1 ( .A (k_in[0]), .B (k_in[1]), .C (k_in[2]), .D (1'b0), .Z (f_out) ); is there a simple way for this purpose on Altera Quartus (Verilog language, EP3C25E144N fpga CIII) ?? Thanks..