Jump to content

sensitivity list in systemc


vsreeniv

Recommended Posts

Hi

 

I am thinking of moving from verilog to systemc for hardware design.

I have a question about sensitivity list: When I am implementing a logic cloud (not clocked) in verilog, I use the "always @* begin" construct to ensure that all the inputs are in the sensitivity list.

 

Is there a similar construct in systemc, where I don't have to explicitly list all the inputs that can cause the output to change?

 

thanks,

Venkat.

 

Link to comment
Share on other sites

Nope. C++ has no concept of what a sensitivity list is, and no way to figure out what to supply.

 

Remember: SystemC is a library, and C++ is the language. Unless somebody builds a SystemC specific compiler, this won't change.

 

If you are doing RTL design, you are best advised to stick with Verilog, VHDL, or SystemVerilog.

Link to comment
Share on other sites

Hi David,

 

Thanks for the feedback.

 

These advantages of SystemC are leading me to test the waters:

 

1. One can model a system at a higher level of abstraction, and then dive in and do hardware description.

2. Due to its object oriented nature, there might be fewer lines of code (relative to verilog).

3. Free simulation!, Faster simulation using GPUs...

 

But, you are telling me that for RTL design, I should not bother with SystemC?

 

PS: The systems I work on have both analog and digital content and involve DSP.

Link to comment
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...