Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tools:prsim [2020/04/30 07:14]
rajit [Standard Test Script]
tools:prsim [2022/06/22 06:58] (current)
rajit [Running Simulation]
Line 75: Line 75:
 set current running mode. set current running mode.
 ^ Mode ^ Effect ^ ^ Mode ^ Effect ^
-| ''reset''/''run'' | ''reset'' turns off weak interference warnings (node still becomes X) and ''run'' turns them on |+| ''reset'' | ''reset'' turns off weak interference warnings (node still becomes X). During chip initialization, there can be weak interference since the simulator assumes all nodes are initially X. Setting the mode to ''reset'' during the reset phase prevents these warnings from being printed to the screen. | 
 +''run''Warnings of weak interference are enabled. This should be the standard mode after the reset phase has completed. | 
  
 <code>initialize</code> <code>initialize</code>
Line 165: Line 167:
 set time scale to <t> picoseconds for tracing set time scale to <t> picoseconds for tracing
  
 +==== ACT Attributes for simulation ====
 +
 +Attributes can be added to production rules specified in ACT as follows:
 +<code>
 +    prs {
 +      [after=20] a & b #> c-
 +    }
 +</code>
 +
 +Attributes currently recognized by ''prsim'' are:
 +
 +^ Attribute ^ Meaning ^
 +| after | used to set the delay in simulation time units for the production rule firing in non-random timing mode |
 +| weak | if there is a ''weak'' attribute, it means the production rule has a weak drive and can be overridden by a stronger production rule during simulation |
 +| unstab | if there is an ''unstab'' attribute, it means that the production rule may be unstable. ''prsim'' will suppress instability reporting on such rules |
  
 ===== Large Files ===== ===== Large Files =====