shubhankurthakur Posted November 1, 2020 Report Share Posted November 1, 2020 I am new to designing. I need help with implementation of floating point in systemC. Quote Link to comment Share on other sites More sharing options...
David Black Posted November 1, 2020 Report Share Posted November 1, 2020 The syntax of SystemC is C++. C++ supports float, double, and long double. The basic idea of SystemC is to raise abstraction above (away-from) RTL to obtain faster running simulations. So modeling a pipelined multiplier can be quite trivial using three SystemC processes: Grab inputs and schedule to be placed into pipeline on the next clock using sc_event. Schedule an sc_event_queue for stages*clock_period and place calculation into queue. When event queue triggers, pop the queue and output the value. If you need to deal with floating point status, that can be placed in the queue as well at the point of computation and updated when it pops out. Quote Link to comment Share on other sites More sharing options...
shubhankurthakur Posted November 1, 2020 Author Report Share Posted November 1, 2020 can you provide me with some code or github repository? Need help with ieee 754 floating point implementation using systemc. I'm unable to figure out how exactly to implement this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.