40 use ieee.std_logic_1164.
all;
52 clk_o :
out std_logic;
80 s_n_i :
in std_logic := '
0';
Creates a clock for use in a testbench.
out clk_n_o std_logic
Inverted clock for differential clocks.
out clk_o std_logic
Clock output.
in stop_sim_i std_logic
Stops the clock when '1'.
G_PERIOD time := 10 ns
Clock period.
G_INITVALUE std_logic := '0'
Initial value of the clock.
See pltbutils_comp.vhd for a description of the components.
Checks that the negative half of a diff pair is the always the complement of the positive half.
in s_n_i std_logic := '0'
Neg half of diff pair to check.
out diff_errors_o integer
Number of diff errors detected.
G_RPT_LABEL string := "pltbutils_diff_check"
in s_i std_logic
Pos half of diff pair to check.
out diff_error_o std_logic
High when diff error detected.
in rst_errors_i std_logic := '0'
High resets diff error counter.
Measures high-time, low-time and period of a signal, usually a clock.
out t_hi_o time
High time.
G_RPT_LABEL string := "pltbutils_time_measure"
in s_i std_logic
Signal to measure.
out t_per_o time
Period time.
out t_lo_o time
Low time.