Architecture tb of edge_detect_tb entity.
More...
|
|
pr_clock | ( ) |
| | Clock generation process.
|
|
pr_stimulus | ( ) |
| | Stimulus process to drive PWM unit under test.
|
|
|
c_clk_period | := 10 ns |
| | Test bench clock period.
|
|
c_stimulus | t_stimulus_array := ( ( name = > " Hold in reset " , rst = > " 11111111 " , sig = > " 00000000 " , rise = > " 00000000 " , fall = > " 00000000 " ) , ( name = > " Wake low then edges " , rst = > " 10000000 " , sig = > " 00011100 " , rise = > " 00010000 " , fall = > " 00000010 " ) , ( name = > " Wake high then edges " , rst = > " 10000000 " , sig = > " 11100011 " , rise = > " 00000010 " , fall = > " 00010000 " ) ) |
| | Test stimulus.
|
|
|
clk | |
| | Signal 'clk' to uut.
|
|
rst | |
| | Signal 'rst' to uut.
|
|
sig | |
| | Signal 'sig' to uut.
|
|
rise | |
| | Signal 'rise' from uut.
|
|
fall | |
| | Signal 'fall' from uut.
|
|
|
t_stimulus | |
| | Stimulus record type.
|
|
name | ( 1 TO 20 ) |
| | Stimulus name.
|
|
rst | ( 0 TO 7 ) |
| | rst input to uut
|
|
sig | ( 0 TO 7 ) |
| | sig input to uut
|
|
rise | ( 0 TO 7 ) |
| | rise expected from uut
|
|
fall | ( 0 TO 7 ) |
| | fall expected from uut
|
Architecture tb of edge_detect_tb entity.
Definition at line 17 of file edge_detect_tb.vhd.
The documentation for this class was generated from the following file: