Lubomir Bogdanov Posted February 14, 2020 Report Share Posted February 14, 2020 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. Quote Link to comment Share on other sites More sharing options...
David Black Posted February 14, 2020 Report Share Posted February 14, 2020 Create an sc_vector<sc_signal<bool>, 4>, but then you have to assign and deal with four separate signals. 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.