PoC.io.pmod.SSD
This module drives a dual-digit 7-segment display (Pmod_SSD). The module
expects two binary encoded 4-bit Digit<i> signals and drives a 2x6 bit
Pmod connector (7 anode bits, 1 cathode bit).
Segment Pos./ Index
AAA | 000
F B | 5 1
F B | 5 1
GGG | 666
E C | 4 2
E C | 4 2
DDD DOT | 333 7
Entity Declaration:
1 );
2 port (
3 Clock : in std_logic;
4
5 Digit0 : in std_logic_vector(3 downto 0);
6 Digit1 : in std_logic_vector(3 downto 0);
7
8 SSD : out T_PMOD_SSD_PINS
9 );
10end entity;
11
12
13architecture rtl of pmod_SSD is
14 constant REFRESHTIMER_MAX : positive := TimingToCycles(to_time(REFRESH_RATE), CLOCK_FREQ) - 1;