Forum Discussion
Altera_Forum
Honored Contributor
15 years agoEfficient Verilog coding style
When I changed from using MegaFunctions to Verilog and used wires for the combinatorial logic there was higher speed and less resources(I think). Specifically it was for an ALU, so it seems the ALUT...
Altera_Forum
Honored Contributor
15 years agoThanks, kaz
The rest of the design is synchronous, the alu is just the data path between regs/rams. It seems lik using a mux to select add/sub: compare: and/or/xor used more resources but using wires put the functions in a single lut per bit.