blob: 06237497fc12f5a797f3b485635e90c4680feb8f [file] [log] [blame]
module u41_fullref (
input [15:0] func,
input [3:0] pin,
output [2:0] wiring
);
parameter U41_FULLREF_LEN = 65536;
(* rom_style = "block" *)
reg [29:0] u41_fullref_data [0:U41_FULLREF_LEN-1];
initial $readmemb("u41_fullref.mem", u41_fullref_data);
wire [29:0] wfull = u41_fullref_data[func];
assign wiring = wfull[3*pin+:3];
endmodule