Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sim:start [2022/07/17 06:02] rajit |
sim:start [2024/02/27 10:43] (current) fabian [Components] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | The '' | + | The simulation library is a collection of components which will aid you in testing and verifying your designs. Components in this library are decidedly not synthesizable and should never be included in a final design. A lot of the components use actsim' |
- | <code act> | + | All components of the simulation library can be found within the '' |
- | template< | + | |
- | defproc source (chan!(int< | + | |
- | </ | + | |
- | This creates a data source that has bit-width | + | |
<code act> | <code act> | ||
- | template< | + | import sim; |
- | defproc sink(chan? | + | |
</ | </ | ||
- | This process acts as a data sink; it repeatedly receives '' | ||
- | |||
- | <code act> | ||
- | template< | ||
- | defproc source_seq(chan!(int< | ||
- | </ | ||
- | This process also provides a '' | ||
- | |||
- | |||
+ | ===== Components ===== | ||
+ | * [[sources | Sources]]: Components which emit tokens onto channels; multiple data origins are supported | ||
+ | * [[sinks | Sinks]]: Absorbs tokens | ||
+ | * [[scoreboards | Scoreboards]]: | ||
+ | * [[loggers | Loggers]]: Can be fitted onto a channel between two components to log transferred data without being visible to either end | ||
+ | * [[ inf_buffer | Infinite capacity buffer]]: Can be used to remove possible timing influences of the simulation harness on the design under test | ||
+ | * [[rng | Random number generators]]: | ||
+ | * [[file | File interaction functions]]: | ||
+ | * [[splitter | Splitter]]: Replicates incoming token onto a specified number of output channels without influencing slack |