bespoke-silicon-group / basejump_stl

BaseJump STL: A Standard Template Library for SystemVerilog
http://bjump.org/
Other
518 stars 99 forks source link

[bsg_fpu] bsg_fpu_cmp make pipeline_p parameter #53

Open tommydcjung opened 5 years ago

tommydcjung commented 5 years ago

pipeline_p=1 : 1-stage pipeline pipeline_p=0 : no pipeline

taylor-bsg commented 5 years ago

Probably should just have no pipeline? The critical path is very short and who is to see whether the user wants the register before or after the logic.

tommydcjung commented 5 years ago

I think I created an issue with wrong title. I meant to say bsg_fpu_f2i. I removed the pipeline to fit it in int-float pipeline. The critical path for f2i is when we are converting floating to two's complement negative int, we have to add 1 at the end. This might be okay, since f2i does not round, but instead truncate.

taylor-bsg commented 5 years ago

Okay we will see if it is critical in the design. It probably was not a path we optimized in Raw.

On Tue, May 28, 2019 at 3:58 PM tommie notifications@github.com wrote:

I think I created an issue with wrong title. I meant to say bsg_fpu_f2i. I removed the pipeline to fit it in int-float pipeline. The critical path for f2i is when we are converting floating to two's complement negative int, we have to add 1 at the end. This might be okay, since f2i does not round, but instead truncate.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/bespoke-silicon-group/basejump_stl/issues/53?email_source=notifications&email_token=AEFG5AEX347JJC7SAPAFZD3PXW2HZA5CNFSM4HOZGE6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWNVUKA#issuecomment-496720424, or mute the thread https://github.com/notifications/unsubscribe-auth/AEFG5AFOIVKPJIMVKVNTEDTPXW2HZANCNFSM4HOZGE6A .