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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #53030

    Lei
    Member

    Hi,

    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

    #53612

    Laurence
    Admin

    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 steven.yeung@imgtec.com

    Many thanks,
    Laurence

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.