Title: 7-Segment LED Controller ??
17-Segment LED Controller ??
2????
- ??? ??? ?? VHDL? ????? ???
- ???? ????? ?? ? ????? ????
- ?? ???? ?? ??? FND(7 Segment) ? ??? ????
3????
- 7-Segment LED(FND) ??
- PXA255-FPGA FND ??? ??
- 7-Segment LED Controller ??
- 7-Segment LED Controller ???
4Output Device ??????(LED)
- LED(Light Emitting Diode)
- ??? ???? PN?? ????? ??? ??? ?? ??? ?? ???? ????
- ?? (A)? ?? 2?? ??? ????? ? ?? ???()?? ?? ??
???(-)?? - ? 2.5V??? ???? 2?? ?? ??? ??? ?? ?????, ?? ??????
??? 5V??? ?? (B)? ?? ??? ??? ???? ????? ????
?? (B)
?? (A)
5Output Device 7-Segment LED (1)
- 7-Segment LED
- FND ??? ????, ??? ??? ????? ???? 7?? ??????(LED)?
?? - ?? ???(Common Anode) ?
- ????? ???? ?? ??? ????
- ??? ??? 5V? ?? ???? ? ?? ag ?? 0V? ?? ????? ???
??? ?? ???? - ????? ?? ??? ?? ??? ?? ??
Common Anode ?
6Output Device 7-Segment LED (2)
- 7-Segment LED
- ?? ???(Common Cathode) ?
- ????? ???? ?? ??? ????
- ???? ?? ???, ????? ??? ??? 5V? ?? ??? ???
- ????? ?? ??? ?? ??? ?? ??
Common Cathode ?
7Output Device 7-Segment LED Array (1)
- Common Cathode ? 7-Segment LED 4 ARRAY
- 7-Segment LED ? 4? ??? ?? ?
- ????? ?????? com0, com1, com2, com3? 4? ???, ???
?? a,b,c,d,e,f,g,dp? ???? ???? - LED? ???? ?? ?? ?? ??? ?? ? ?? ??? ??? ???? ??
?????
8Output Device 7-Segment LED Array (2)
- Common Cathode ? 7-Segment LED 4 ARRAY
- Com00, Com1Com2Com31? ??, ?? a,b,c,d,e,f,g??
?? ??? 1?? ?? ??? ???? Segment LED? ????
9Output Device 7-Segment LED Array (3)
- Common Cathode? 7-Segment LED ? 4?? ??(Dynamic
Display)
??? ??? ?? ????? ??? ??? LED? ?? ???? ?? ?? 1??
60? ?? ??? ?? ??? ??? ??? ??????.
1 2 3 4 1 2 3 4
Com00? ?? ? ??? 7-segment LED? ?? Com10? ?? ?
??? 7-segment LED? ?? Com20? ?? ? ??? 7-segment
LED? ?? Com30? ?? ? ??? 7-segment LED? ??
Seg_out0110000 ? a0,b1,c1,defg0? ???.
10Output Device 7-Segment LED Array (4)
- PXA255-FPGA Board 7-Segment LED 6 Array
11Output Device 7-Segment LED Array (5)
12PXA255-FPGA FND ?? ?? (1)
13PXA255-FPGA FND ?? ?? (2)
14PXA255-FPGA FND ?? ?? (3)
15PXA255-FPGA FND ?? ?? (4)
167-Segment LED Controller ?? (1)
- 7-Segment LED Controller ?? ??
- ?? ?? (FPGA Dip S/W off, on)
- 6 ?? ?? ??? ??? ??
- Main clock? ???? 1? ??? ????, ??? ?? ?? 6?? ??
FND array? ?? ?? - ?? ?? (FPGA Dip S/W on, on)
- PXA255-Pro3 main board?? ??? I/O ??? ?? FND
array? ?? - FPGA Dip S/W ??? ?? ?? ??? ??
177-Segment LED Controller ?? (2)
- 7-Segment LED Controller ???? ??
- fnd_6digit.vhd ?? ?? ??? ??? VHDL ??
- iom_mode.vhd ?? ?? ??? ??? VHDL ??
- mux_iom.vhd FPGA Dip S/W ??? ?? I/O? ????
multiplexing ??? ??? VHDL ?? - ??? VHDL ?? ??? ??? ??? ??
187-Segment LED Controller ?? (3)
- 7-Segment LED Controller ??
- io_top.bdf - top-level block diagram file
19Quartus II Project ?? ?? (1)
- New Project Wizard? ?? Quartus II Project ????
- File ???? New Project Wizard? ???? ??? ????? ??
20Quartus II Project ?? ?? (2)
- New Project Wizard ?
- Project? ??? ?? ? ????? ??? top-level entity ???
??
21Quartus II Project ?? ?? (3)
- New Project Wizard ?
- ???? ??? ?? ??? ??? ??? ??? ?? ?? ??
- ??? ??? ???? ????? ??? ADD ALL ??? ???? ?? ??
- ... ??? ???? ??? ?? 4?? ??? ??
- Next??? ?? ?? ???? ??
22Quartus II Project ?? ?? (4)
- New Project Wizard ?
- EDA Tool ? ?? ??? ?? ??
- Thirth party EDA tool? ????? ????, ???? ????
Next??? ?? ?? ???? ??
23Quartus II Project ?? ?? (5)
- New Project Wizard ?
- Device Family? ???? ??
- PXA255-FPGA??? Cyclone? ??
24Quartus II Project ?? ?? (6)
- New Project Wizard ?
- PXA255-FPGA?? EP1C12Q240C8? ???? ???? ?? Device?
?? - ??? ??? Filter?? ?? ?? ??? ? ??
25Quartus II Project ?? ?? (7)
- New Project Wizard ?
- ???? ??? ???? ??
- ??????? ???? ??, top-level design entity ??, ???
??? ??? ??
26Quartus II Project ?? ?? (8)
27Quartus II Project ?? ?? (9)
- Pin Assignment
- Pin assignment ??? ???? pin ?? ??
- Pin Assign File ?? - io_top.qps ??? ??? ? ??? ???
??? ???? ? ??? ?? ??? ??
28Quartus II Project ?? ?? (10)
29Quartus II Project ?? ?? (11)
- ???? ?? ??? ?? ??
- Device ?? ??? Device Pin Options? ??
30Quartus II Project ?? ?? (12)
- Unused Pin? ?? ??
- Reserve all unused pins?? As Input, tri stated?
?? - ??? ??? ??? ?? ?? ??
31Quartus II Project ?? ?? (13)
- Configuration? ?? ??
- ??? ?? Configuration scheme? device? ??
32Quartus II Project ?? ?? (14)
- ?? ??
- General ??? Auto-restart configuration after
error? ?? - FPGA?? ??? ???? ???? ?? Configuration?? ??
33Quartus II Project ?? ?? (15)
- Compilation
- ????? ??? ????? ?????? Processing ???? Start
Compilation? ?? - ???? ???? Full compilation was successful ???
???? ???? ???? ??? ??
34Quartus II Project ?? ?? (16)
- Configuration
- ????? ??? ?? ???? FPGA? Configuration? ??? ??
- Programmer ?? - EPC2? ???? ??? FPGA?
Configuration ?? ??? Programmer? ??
35Quartus II Project ?? ?? (17)
- Configuration ?? ????
- Byteblaster ???? JTAG ??? ??? ???? Auto Detect
? ?? EPC2? EP1C6 ? ?? ??? ?? - ltnonegt? ?? ???? EPC2?? io_top.pof ???, EP1C6??
io_top.sof??? ????
36Quartus II Project ?? ?? (18)
- Configuration
- Program/Configure? ?? ??? ??? ??
- Start??? ???? ??? ??? ???? Download ?
Configuration? ???? - Start??? ???? ????
377-Segment LED Controller ???
- ???? ???? ?? ? ??? ???? ??
- FPGA Dip S/W? (on, on)?? ???? ?? ?? ??
- ???? ????? ??? ????? ?? ??? ?????? ?????
- mknod /dev/FNDS c 241 0
- insmod fnd_driver.o
- chmod 777 test_fnd
- ./test_fnd ltinput datagt