Architecture tb of pwm_tb entity.
More...
|
pr_clock | ( ) |
| Clock generation process.
|
pr_stimulus | ( ) |
| Stimulus process to drive PWM unit under test.
|
|
rst | |
| rst input to uut
|
adv | |
| adv input to uut
|
duty | |
| duty input to uut
|
|
c_clk_period | := 10 ns |
| Test bench clock period.
|
c_stimulus | t_stimulus_array := ( ( name = > " Hold in reset " , rst = > ' 1 ' , adv = > ' 0 ' , duty = > B " 00 " , percent = > 0 ) , ( name = > " Freeze " , rst = > ' 0 ' , adv = > ' 0 ' , duty = > B " 11 " , percent = > 0 ) , ( name = > " Running period 3 " , rst = > ' 0 ' , adv = > ' 1 ' , duty = > B " 11 " , percent = > 100 ) , ( name = > " Running period 2 " , rst = > ' 0 ' , adv = > ' 1 ' , duty = > B " 10 " , percent = > 67 ) , ( name = > " Running period 1 " , rst = > ' 0 ' , adv = > ' 1 ' , duty = > B " 01 " , percent = > 33 ) , ( name = > " Running period 0 " , rst = > ' 0 ' , adv = > ' 1 ' , duty = > B " 00 " , percent = > 0 ) ) |
| Test stimulus.
|
|
clk | |
| Clock input to pwm uut.
|
pwm | |
| PWM output from pwm uut.
|
on_rst | |
| Reset input to on_percent.
|
on_percent | |
| Percent output from on_percent.
|
Architecture tb of pwm_tb entity.
Definition at line 20 of file pwm_tb.vhd.
§ adv
adv input to uut
PWM advance input to pwm uut.
Definition at line 29 of file pwm_tb.vhd.
§ duty
duty input to uut
Duty-cycle input to pwm uut.
Definition at line 30 of file pwm_tb.vhd.
§ rst
rst input to uut
Reset input to pwm uut.
Definition at line 28 of file pwm_tb.vhd.
The documentation for this class was generated from the following file: