PoC.io.7SegmentMux_HEX
This module is a 7 segment display controller that uses time multiplexing to control a common anode for each digit in the display. The shown characters are HEX encoded. A dot per digit is optional.
Entity Declaration:
1 REFRESH_RATE : FREQ := 1 kHz;
2 DIGITS : positive := 4
3 );
4 port (
5 Clock : in std_logic;
6
7 HexDigits : in T_SLVV_4(DIGITS - 1 downto 0);
8 HexDots : in std_logic_vector(DIGITS - 1 downto 0);
9
10 SegmentControl : out std_logic_vector(7 downto 0);
11 DigitControl : out std_logic_vector(DIGITS - 1 downto 0)
12 );
13end entity;
14
15
16architecture rtl of io_7SegmentMux_HEX is