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.

[SOLVED] Can i lit multiple LEDs for one operation in Spatran 3E kit

Status
Not open for further replies.

moonnightingale

Full Member level 6
Joined
Sep 17, 2009
Messages
362
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,298
Activity points
3,832
This is my code

module leds(out_c,out_d,in_b,in_a,in_e);
output out_c,out_d;
input in_a,in_b,in_e;
assign out_c=in_a&in_b;
assign out_d=in_a|in_e;
endmodule


UCF file

NET "in_a" LOC="D18"| IOSTANDARD = LVTTL | PULLDOWN ;
NET "in_b" LOC="K17"| IOSTANDARD = LVTTL | PULLDOWN ;
NET "in_e" LOC="H13"| IOSTANDARD = LVTTL | PULLDOWN ;
NET "out_c" LOC="F12"| IOSTANDARD = LVCMOS33 | SLEW = FAST | DRIVE = 8 ;
NET "out_d" LOC="F9"| IOSTANDARD = LVCMOS33 | SLEW = FAST | DRIVE = 8 ;
NET "out_d" LOC="E9"| IOSTANDARD = LVCMOS33 | SLEW = FAST | DRIVE = 8 ;
NET "out_d" LOC="D11"| IOSTANDARD = LVCMOS33 | SLEW = FAST | DRIVE = 8 ;


i want multiple LEDs to glow for out put of "d" but only D11 is glowing. why it is so
 

out_d can only be one physical pin, if you want more use

out_d=in_a|in_e;
out_d1=in_a|in_e;
out_d2=in_a|in_e;

NET "out_d" LOC="F9"| IOSTANDARD = LVCMOS33 | SLEW = FAST | DRIVE = 8 ;
NET "out_d1" LOC="E9"| IOSTANDARD = LVCMOS33 | SLEW = FAST | DRIVE = 8 ;
NET "out_d2" LOC="D11"| IOSTANDARD = LVCMOS33 | SLEW = FAST | DRIVE = 8 ;

Alex
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top