The synthesizable traffic generator behavior is controlled by the value set in the DEFAULT_MODE parameter for each traffic generator instance in the top level of the Example Design. This is set to “HBM” by default as seen below:
This DEFAULT_MODE of “HBM” is one of the possible use cases defined for the HBM
IP. To change the DEFAULT_MODE simply modify the value in the example_top_syn.sv
file for each traffic generator instance in the Example
Design. When running in hardware for this mode the traffic generator run in a loop where
it linearly writes through the entire pseudo channel address range with a PRBS data
pattern and then read back the entire range while checking for data errors. The address
range is automatically determined by the stack height of the HBM device
in the design. When the “Add VIO” option is not selected the traffic generator starts
once the apb_complete_x
signal has been asserted for
that stack. When the “Add VIO” option is enabled, traffic generator does not start until
the vio_tg_start_x
signal has been manually set to 1’b1
through the VIO dashboard in the Vivado Hardware
Manager. There is one vio_tg_start_x
signal for every
AXI port that has been enabled in the design. In simulation, this traffic mode performs
one linear write sequence of 256 32-byte bursts with PRBS data and then one linear read
sequence of 256 32-byte bursts with error checking.