Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

vhdl program examples

Status
Not open for further replies.

kalyan3911

Newbie level 1
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top