Changing Frame Data
You can change the contents of the four frames used by the demonstration test bench by changing the data and valid fields for each frame defined in the send frame module. New frames can be added by defining a new frame of data. Modified frames are automatically updated in both the stimulus and monitor functions.
Changing Frame Error Status
Errors can be inserted into any of the predefined frames in any position by setting the error field to “1” in any column of that frame. Injected errors are automatically updated in both the stimulus and monitor functions.
Changing the Core Configuration
The configuration of the QSGMII core used in the demonstration test bench can be altered.
The core can be reconfigured by editing the injected MDIO frame in the demonstration test bench top-level.
Changing the Operational Speed
The speed of both the example design and test bench can be set to the desired operational speed by editing the following settings, recompiling the test bench, and then running the simulation again. The changes also need to be implemented in the example design.
1 Gb/s Operation
set speed_is_10_100_chx to logic 0
100 Mb/s Operation
set speed_is_10_100_chx to logic 1
set speed_is_100_chx to logic 1
10 Mb/s Operation
set speed_is_10_100_chx to logic 1
set speed_is_100_chx to logic 0