PoC.misc.FrequencyMeasurement

This module counts 1 second in a reference timer at reference clock. This reference time is used to start and stop a timer at input clock. The counter value is the measured frequency in Hz.

Entity Declaration:

 1  generic (
 2    REFERENCE_CLOCK_FREQ  : FREQ      := 100 MHz
 3  );
 4  port (
 5    Reference_Clock   : in  std_logic;
 6    Input_Clock       : in  std_logic;
 7
 8    Start             : in  std_logic;
 9    Done              : out std_logic;
10    Result            : out T_SLV_32
11  );
12end entity;