Jump to content

Setup and Hold Time checks in SystemC


jayakirthi

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 post
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 post
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 post
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 post
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 post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...