Jump to content

Setup and Hold Time checks in SystemC


jayakirthi
 Share

Recommended Posts

Hi, jayakirthi

 

Why need a timing checks SystemC model?

 

I think it unnecessary to perform a timing check by SystemC. 

However, when generating RTL using a High Level Synthesis tool, it needs to be conscious of timing, but it is it.

I am corresponding with a tool and think that it is not necessary to correspond language. 

 

Regards,

Kocha

Link to comment
Share on other sites

  • 2 weeks later...

Just use sc_time_stamp() to retrieve the times at the points you're interested in, then compare the difference in time stamps to your spec,

 

regards

Alan

Thank you sir... Now i am using same technique..

But is there any direct function to check it ( like $setup in Verilog/SystemVerilog).. 

Thanks..

Link to comment
Share on other sites

Hi, jayakirthi
 
Why need a timing checks SystemC model?
 
I think it unnecessary to perform a timing check by SystemC. 
However, when generating RTL using a High Level Synthesis tool, it needs to be conscious of timing, but it is it.
I am corresponding with a tool and think that it is not necessary to correspond language. 
 
Regards,
Kocha

Thanks for the reply...

i was working on a project where i need to check such things on SystemC side.. So..

Link to comment
Share on other sites

No there's nothing like $setup in SystemC. SystemC is used by most people for transaction level modeling, and also for high level synthesis.

 

If you want to do things that are directly supported in Verilog or VHDL, you may be better off using Verilog or VHDL,

 

kind regards

Alan

Link to comment
Share on other sites

No there's nothing like $setup in SystemC. SystemC is used by most people for transaction level modeling, and also for high level synthesis.

 

If you want to do things that are directly supported in Verilog or VHDL, you may be better off using Verilog or VHDL,

 

kind regards

Alan

 

 Thank you..:)

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.

 Share

×
×
  • Create New...