FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5931 Discussions

7-segment display via schematic

Altera_Forum
Honored Contributor II
1,298 Views

I'm trying to create a simple circuit, using 4 switches (8-4-2-1) to drive digital logic, in order to light a single 7-segment LED. 

 

I've created the 4 input pins, wired them to inputs A,B,C, and D of a 7447 (BCD to 7-segment decoder), and wired the 7 outputs OA through OG) to output pins. I've tied the other 3 inputs (LTN, RBIN, BIN) to ground. I've assigned switches 0 through 3 to the inputs, and HEX0[*] to the outputs. However, when I compile, I get warnings that: 

 

Warning: Design contains 4 input pin(s) that do not drive logic 

Warning (15610): No output dependent on input pin "B" 

Warning (15610): No output dependent on input pin "C" 

Warning (15610): No output dependent on input pin "D" 

Warning (15610): No output dependent on input pin "A" 

 

Warning: Following 7 pins have nothing, GND, or VCC driving datain port -- changes to this connectivity may change fitting results 

Info: Pin OA has VCC driving its datain port 

Info: Pin OB has VCC driving its datain port 

Info: Pin OC has VCC driving its datain port 

Info: Pin OD has VCC driving its datain port 

Info: Pin OE has VCC driving its datain port 

Info: Pin OF has VCC driving its datain port 

Info: Pin OG has VCC driving its datain port 

 

Downloading to the DE2 board yields no results. The HEX0 (rightmost) 7 segment display is off, and no change in the input switches produces any change. It seems that the 7447 chip is not being utilized correctly... That the input pins are not connected to inputs on the 7447, and likewise for the outputs. 

 

I don't think I'm doing anything wrong with wiring or pin assignments; when I connect a switch directly to an LED, it works fine. If I put an inverter between them, that works fine. But the 7447 doesn't seem to work correctly. Any suggestions?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
613 Views

Sorry, wrong forum. Would delete the post if I could.

0 Kudos
Altera_Forum
Honored Contributor II
613 Views

The posting isn't completely wrong here, I think. Basically the warnings idicate, that you have no logic connetion in effect between inputs and output, as you also see in the test. I guess that you used schematic entry with a maxplus2 library component. You either forgot to wire an enable signal of the 7447 component or didn't connect the in-and outputs correctly.

0 Kudos
Reply