From f2a62a002f09df979bf01bf9fa6c97f1e7cf73d8 Mon Sep 17 00:00:00 2001 From: obijuan Date: Sat, 11 Feb 2017 10:05:48 +0100 Subject: Added a hello world example (led_on) for the icezum Alhambra board --- icezum/led_on/led_on.vhdl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 icezum/led_on/led_on.vhdl (limited to 'icezum/led_on/led_on.vhdl') diff --git a/icezum/led_on/led_on.vhdl b/icezum/led_on/led_on.vhdl new file mode 100644 index 0000000..49a88ad --- /dev/null +++ b/icezum/led_on/led_on.vhdl @@ -0,0 +1,20 @@ +library ieee; +use ieee.std_logic_1164.all; +use ieee.numeric_std.all; + +entity led_on is + port (led0, led1, led2, led3, led4, led5, led6, led7 : out std_logic); +end led_on; + +architecture test of led_on is +begin + + -- Turn on the Led0 + led0 <= '1'; + + -- Turn off the other leds + (led1, led2, led3, led4, led5, led6, led7) <= std_logic_vector'("0000000"); + +end test; + + -- cgit v1.2.3