Video Learning Series : Interfacing LED & Switch ::: Task - 1
Click Here For Video ::: Video Learning Series (vhdlbynaresh.blogspot.com) |
Video Link -
https://www.youtube.com/watch?v=Ea_N3f_JQMc&list=UU91Msf7ixvSGlnx_RsKTd7Q
TASK 1 :::: Interfacing LED & Switch With Cyclone II FPGA Device. -
Description - LED goes ON when Logic 1 is given by switch as input & goes OFF when Logic '0' is given by switch as input.
In our video we take 8 LED's as output packed in 7- segment package.
VHDL Code -
library ieee;
use ieee.std_logic_1164.all;
entity sl1 is
port (din : in std_logic ;
dout : out std_logic_vector (7 downto 0));
end sl1;
architecture sl1_arc of sl1 is
begin
dout <= "00000000" when din='0' else
"11111111";
end sl1_arc;
Please revert with your suggestions, likes and comments to make this video series successful and helpful to others.
I would love to read your suggestions and comments here below
Best Regard //
Naresh Singh Dobal
nsdobal@gmail.com
No comments:
Post a Comment