MCost7
New Contributor
7 years agoSimulation behavior didn't match with synthesized design
The quartus version 18.1 is used, the target FPGA is Stratix IV.
The code that is not correctly synthesized is:
assign addr = (sel1 & sel2) ? (dst == 3'b001) : (dst == 3'b000);
But the simulation behavior is the same of the synthesized design if I use instead:
wire dst_0 = ~dst[2] & ~dst[1] & ~dst[0];
wire dst_1 = ~dst[2] & ~dst[1] & dst[0];
assign addr = (sel1 & sel2) ? dst_1 : dst_0;
Are something used on the first approach that is not supported by quartus?