VHDL-verification
Package to ease directed testing of HDL entities
|
Architecture compares input data rate with expected data rate. More...
Architecture compares input data rate with expected data rate.
After first valid data is seen, internally counts from 0 to THROUGHPUT - 1 and checks if valid
is '1'
when expected
Definition at line 44 of file throughputchecker.vhd.
Processes | |
expecting_valid | ( ) |
Computes expected value for valid and reports an error if actual value is different. |
Signals | |
cycle_count | integer := THROUGHPUT - 1 |
Cycles until next expected data. | |
valid_count | integer := 0 |
Valid data seen. | |
expected_valid | std_logic := ' 1 ' |
Expected value for 'valid'. |
|
Process |
Computes expected value for valid and reports an error if actual value is different.
Manages this by waiting for first valid and keeping an internal count. When endsim is asserted, reports total valid data seen
Definition at line 60 of file throughputchecker.vhd.