Jump to content

Tracing a single bit from a bus


Recommended Posts

Hello guys,

I'm new to SystemC and I'm learning now but I'm stuck on a very simple issue that I cannot resolve:

I have an output that is a 4-bit bus

sc_out<sc_uint<4> > counter_out; // 4 bit vector output of the counter

that I trace with

sc_trace(wf, counter_out, "count");

This will dump the output on a single coordinate system, showing me the numbers on the bus in hex format. However I want to display all four wires on separate coordinate systems, one for each bit.

What is the best way to do this?

 

Regards,

L. B.

Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...