3.6.2.3.1 COSIM<INPUT|OUTPUT>_FIFO_STALL_PROB

The COSIM_INPUT_FIFO_STALL_PROB and COSIM_OUTPUT_FIFO_STALL_PROB parameters can be used to exercise halting data injecting to input FIFO or backpressuring the output FIFO during 3.5.1.7 Simulate HLS Hardware (SW/HW Co-Simulation). When the parameter is set to a value between 1 and 99, representing the probablity to halt input FIFO or backpressure output FIFO, the SmartHLS-generated CoSimulation testbench will randomly halt the data injectiion to input FIFO or backpressure output FIFO, which will then cause the SmartHLS-generated circuit to stall during simulation.

Category
HLS Constraint
Value Type
Integer
Valid Values
0-99
Default Value
0: disabled
Location Where Default is Specified
examples/legup.tcl
Dependencies
None
Applicable Flows
All devices and flows
Test Status
Actively in use
Examples
set_parameter COSIM_INPUT_FIFO_STALL_PROB 50
set_parameter COSIM_OUTPUT_FIFO_STALL_PROB 40