fn _picosecond_clock(obj: *mut ConfObject) -> *mut ConfObject
Expand description
Retrieve the picosecond clock used by an object.
The returned clock uses a cycle period of exactly 1 ps. It has full picosecond resolution even if the processor (or clock) driving the simulation uses a lower resolution. An event posted at a particular picosecond triggers always at that precise time, without any rounding issues.
The returned object is the vtime.ps port object of the default clock for the object, and it implements the cycle_event interface.
§Arguments
obj
- The object to get the clock for
§Context
All Contexts