The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Modeling >> Behavioral Models >> Timing constraint and $recovery system task https://designers-guide.org/forum/YaBB.pl?num=1301648969 Message started by Patislas on Apr 1st, 2011, 2:09am |
Title: Timing constraint and $recovery system task Post by Patislas on Apr 1st, 2011, 2:09am Hello, I'm using verilog models of a dual port ram memory. When operations are done simultaneously at the same address on the two ports without respecting the Tcc timing constraint a collision occurs, WriteA/ReadB for example. In this case the Read on the port B fails and the output is corrupted (put at X). In order to check the Tcc timing constraint the task $recovery is used: $recovery(posedge CLKA &&& csba_en,posedge CLKB &&& (flag_collisionB ==1'b1), tcc, warningCCB); Using this task makes it possible to back annotate the tcc timing constraint (with SDF file) and to check collision violations. Unfortunately the $recovery task generates an error message in the log when the collision occurs. I do not want to have these error message, so I was wondering if it is possible to skip this error messages, or to modify this system task in order to delete the error message. Any idea ? Thank you |
Title: Re: Timing constraint and $recovery system task Post by boe on Apr 1st, 2011, 1:28pm Patislas, That depends on your simulator - check the manual. Our simulator usually generates warnings, which can be disabled by command line option. B O E [Edit:]PS: "Try to ask specific and bounded questions. You are much more likely to get a response." (Forum guidelines) |
Title: Re: Timing constraint and $recovery system task Post by Patislas on Apr 4th, 2011, 2:36am Thank you for your response. I write the models and It will be used by other persons, so setting the simulator may not be an optimal solution. Is it possible to get the code of this system task in order to rewrite it ? My aim is just to be able to back-annotate the tcc timing and check collisions whitout generating error/warning messages |
Title: Re: Timing constraint and $recovery system task Post by boe on Apr 4th, 2011, 4:29am Patislas wrote on Apr 4th, 2011, 2:36am:
B O E |
Title: Re: Timing constraint and $recovery system task Post by haykp on Apr 5th, 2011, 3:59am I certainly remember that for ncverilog and vcs simulators there was some input option which suppress he messages. Unfortunately don't remember the name. Regarding to PLI,not sure that you will fins a solution because displaying warnings is simulator option. |
Title: Re: Timing constraint and $recovery system task Post by boe on Apr 5th, 2011, 11:25am haykp, I assumed that Patislas does not want to globally turn off all the timing error messages. B O E |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |