|
VHDL-verification
Package to ease directed testing of HDL entities
|
Emulates on-board leds. More...
Emulates on-board leds.
Checks for events on led_input port, and reports the current state of the leds each time any the input bit changes. Does not keep any internal memory, led_input is assumed to be directly connected to the leds.
Definition at line 20 of file led_emu.vhd.
Entities | |
| led_emu_arch | architecture |
| Architecture is based on just a single process. More... | |
Libraries | |
| ieee | |
| Use IEEE standard definitions library. | |
Use Clauses | |
| std_logic_1164 | |
| Use std_logic* signal types. | |
| vhdl_verification | Package <vhdl_verification> |
| Use the slv2string function present in the vhdl_verification package. | |
Generics | |
| ACTIVE_VALUE | std_logic := ' 0 ' |
| Led polarity. | |
| NUM_LEDS | integer := 4 |
| How many leds are we emulating. | |
Ports | |
| led_input | in std_logic_vector ( NUM_LEDS - 1 downto 0 ) |
| Connect here the signal that drives the leds. | |
1.8.13