Jump to content



Recommended Posts

However, if you intend to provide an initial value before anyone reads the signal, that can be accomplished during start_of_simulation.

SystemC is designed with idea that hardware is fabricated (I.e., constructed or instantiated) and connected (aka port binding) before power is applied (i.e., active simulation starts). Formally, this is broken up into two major phases known as elaboration (i.e., construction and binding) and simulation. 

You can read about this in the standard (IEEE 1666-2023) sections 4.2 (elaboration) and 4.3 (simulation). You can obtain a free copy of the standard via a download at the end of https://systemc.org/overview/systemc/ .

If you are trying to simulate the idea of dynamic connections (e.g., plugging in/out a USB port or cell phones coming within range of a tower), you can accomplish that by fully connecting up all possible USB devices to a custom channel and then managing the state fo that channel (e.g., active or inactive).

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.

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