Jump to content

Timing Annotation


Recommended Posts

See the glossary of the SystemC standard paragraph B.183 p580.

 

regards

Alan

 

P.S. At the risk of sounding like a broken record, it is always best to look things up in the standard first.

 

P.P.S. If you're young and don't know what a broken record is, imagine I said "scratched CD"

 

P.P.P.S If you're really young and don't know what a scratched CD is, imagine I said "sample with corrupted loop points" :)

Link to comment
Share on other sites

  • 4 years later...

Whenever you call a generic protocoll function lile b_transport or nb_transport you supply an sc_time argument as reference so it can changed be the callee. This delay argument is the offset of the begin (when calling the function) or to the end (after the function returns) of this transaction to the current simulation time point. This is called timing annotation...

Best regards

Link to comment
Share on other sites

  • 1 month later...

Hook,

Yes, this is correct.  The initiator calls nb_transport_fw in the target with a delay of 10ns timing annotation.  In order to respect the timing annotation, the target placed the transaction into a payload_event_queue (PEQ) and it will emerge from the PEQ after 10ns (this is done by calling peq_with_get.notify(trans, delay) where the delay argument is what was passed into nb_transport_fw).

Similarly at time = 125ns, the target calls nb_transport_bw to the initiator with a delay of 10ns.  The initiator does the same thing--puts the transaction into its own PEQ with a delay of 10ns.

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...