It is possible to modify the demonstration test bench to drive the core inputs with different data or to perform different operations.
Input data is pre-generated in the
create_ip_table function and stored in the
IP_DATA constant. New input data frames can be
added by defining new functions and constants. Make sure that each input
data frame is of the T_IP_TABLE array type.
All operations performed by the
demonstration test bench to drive the core's inputs are done in the data_stimuli process. This process also
contains procedures to simplify driving a frame of input data. Configuration
is requested in this process by setting cfg_* signals to the desired configuration and setting the
do_config shared variable to either
IMMEDIATE or AFTER_START. The configuration signals are
actually driven by the config_stimuli
process.
The data_stimuli process is
comprehensively commented, to explain clearly what is being done. New
configuration and data operations can be added by copying and modifying
sections of this process.
The clock frequency of the core can be modified by changing
the CLOCK_PERIOD constant.