vhdl program examples

Status
Not open for further replies.

kalyan3911

Newbie level 1
Joined
Nov 1, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
please send the vhdl programs for 8 bit shift register,priority encoder
 

1) shift_reg : PROCESS(clk_sig, reset_sig)
2) BEGIN
3) If(reset_sig = '0') THEN
4) out_1_sig <= "00000000";
5) ELSIF(clk_sig 'event AND clk_sig = '1') THEN
6) IF (enable_sig = '1') THEN
8) out_1_sig(7 DOWNTO 1) <= out_1_sig(6 DOWNTO 0);
7) out_1_sig(0) <= data_in_sig;
9) END If;
10) END If;
11) END PROCESS;
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…