[source]

Entity io_7SegmentMux_BCD

CLOCK_FREQREFRESH_RATEDIGITSClockstd_logicBCDDigits[DIGITS - 1 downto 0]T_BCD_VECTORBCDDots[DIGITS - 1 downto 0]std_logic_vectorSegmentControlstd_logic_vector[7 downto 0]DigitControlstd_logic_vector[DIGITS - 1 downto 0]

Block Diagram of io_7SegmentMux_BCD

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 BCD encoded. A dot per digit is optional. A minus sign for negative numbers is supported.

Generics

Name

Type

Default

Description

CLOCK_FREQ

FREQ

100 MHz

REFRESH_RATE

FREQ

1 kHz

DIGITS

positive

4

Ports

Name

Type

Direction

Description

Clock

std_logic

in

BCDDigits

T_BCD_VECTOR

in

BCDDots

std_logic_vector

in

SegmentControl

std_logic_vector

out

DigitControl

std_logic_vector

out