Jump to content

Recommended Posts

I have to input data from sc_fifo interface and send it on the master of simple bus that will in return give it to simple bus slave

Any idea how the simple_bus.h can be exploited 

I will be highly obliged for the valuable advice

regards

Share this post


Link to post
Share on other sites

This is very basic SystemC. Assuming you will use an SC_THREAD, simply do a blocking read from the fifo and write to the appropriate address of the simple bus slave (peripheral). Suggest you take a class on SystemC or spend a lot of time reading up.

 

Share this post


Link to post
Share on other sites

I totally agree with David, a good read for an introduction on SystemC is, e.g., "SystemC from the Ground Up" by David Black and Jack Donovan.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×