MatchLib
|
▼Stateless datapath blocks - implemented as functions | |
Nvhls_int | Integer library with built-in support for sc_int and ac_int datatypes |
Crossbar | Configurable nxn crossbar datapath |
One_hot_to_bin | One-hot to binary convertor |
▼Loosly-timed units with state - implemented as classes | |
Arbiter | Configurable n inputs arbiter |
MemArray | Abstract Memory Class |
FIFO | Configurable FIFO class |
Nvhls_vector | Vector helper container with vector operations |
Connections | Modular IO supporting latency-insensitive channels |
ArbitratedCrossbar | Crossbar with conflict arbitration and queuing |
ArbitratedScratchpad | Scratchpad memories with arbitration and queuing |
ReorderBuffer | Out-of-order writes into queue, in-order reads |
▼Timed units - implemented as sc_module | |
WHVCRouter | Wormhole router with virtual channels |
SerDes | N-bit packets to/from M cycles of (N/M)-bit packets |
Cache | Direct-mapped Cache design |
Scratchpad | Banked Memory Array with Crossbar |
FlitMplex | Mux multiple input channels to single output channel |
FlitDeMplex | DeMux single input channel to one of multiple output channels |
AXI | Master/Slave Interfaces & bridges for AXI interconnect |
▼Misc utilities and auxiliary constructs | |
TypeToBits | Convert any datatype to bit-vector |
Nvhls_packet | Configurable packet and flit classes |
Comptrees | Compile-time minmax tree |
DebugPrint | Debug print statements |
Nvhls_array | A variant of synthesizable array implementation |
Assertions | Macros for synthesizable and non-synthesizable assertions |
Marshaller | Marshaller is used to automatically convert types to logic vector and vice versa |
StaticMax | StaticMax Class: returns the larger value between two unsigned integers |
BitUnion2 | BitUnion2 class: A union class to hold two Marshallers |
Nvhls_module | Matchlib Module class: a wrapper of sc_module with tracing and stats support |
Tracer | Tracer class to dump simulation stats to an output stream |
NVHLSVerify | Verification co-simulation support |
▼Non-synthesizable components suitable for testbench construction | |
Pacer | Random stall generator |
Set_random_seed | Set random seed |
Gen_random_payload | Generate Random payload of any type |
Get_rand | Generate Random integer value of desired width |