Home › Forums › MIPSfpga › What does "m14k_edp_add_simple.v" contains?
This topic contains 1 reply, has 2 voices, and was last updated by Laurence 1 year, 5 months ago.
I am trying to find the adder in execution unit.
The description of this verilog file shows it is “Simple (+) 32-bit adder for the execution data path”.
I wonder is it the shared adder for arithmetic operations, load/store address calculation, and branch target calculation?
Best wishes, Lei
Hi Lei, Sorry for the late reply.
There are 2 adder blocks in the m14k_edp module.
m14k_edp_add.v … Is a structurally implemented adder consisting mostly of CSAs
m14k_edp_add_simple.v … Is the same adder implemented with a simple + operand.
We have two types, because the core predates a time (decades ago) when synthesis tools could reliably synthesize arithmetic and multiplication logics.
If you have further questions, please contact email@example.com
Many thanks, Laurence