PlTbUtils
1.3
PlTbUtils is a collection of functions, procedures and components for easily creating stimuli and checking response in automatic self-checking testbenches.
|
Measures high-time, low-time and period of a signal, usually a clock. More...
Entities | |
bhv | architecture |
Generics | |
G_VERBOSITY | integer := 0 |
G_RPT_LABEL | string := " pltbutils_time_measure " |
Ports | ||
t_hi_o | out | time |
High time. | ||
t_lo_o | out | time |
Low time. | ||
t_per_o | out | time |
Period time. | ||
s_i | in | std_logic |
Signal to measure. |
Measures high-time, low-time and period of a signal, usually a clock.
Setting G_VERBOSITY to at least 20 reports measures times. Set G_RPT_LABEL to a prefix used in reports, typically the name of the signal being measured.
Instantiation template
(copy to your own file and remove the comment characters):
Definition at line 115 of file pltbutils_comp.vhd.
|
Generic |
Definition at line 119 of file pltbutils_comp.vhd.
|
Generic |
Definition at line 117 of file pltbutils_comp.vhd.
|
Port |
Signal to measure.
Definition at line 125 of file pltbutils_comp.vhd.
|
Port |
High time.
Definition at line 121 of file pltbutils_comp.vhd.
|
Port |
Low time.
Definition at line 122 of file pltbutils_comp.vhd.
|
Port |
Period time.
Definition at line 123 of file pltbutils_comp.vhd.