Digital Electronics Class B Project – 4-Digit Display Device
- Get link
- X
- Other Apps
Introduction to the Digital Electronics Class B – Exam Question 1
01. Materials List
(1)Sub Board
01.CPLD Sub Board PCB
02.4.7kΩ SMD Resistor
03.1kΩ SMD Resistor
04.220Ω SMD Resistor
05.10uF SMD Capacitor
06.1uF SMD Capacitor
07.CPLD IC Socket
08.Quartz Crystal Socket
09.SMD LED
10.J TagSocket
11.15-Pin Male Header
12.EPM3064PLACC44-10 IC
13.Quartz Crystal
14.Jump Pins
(2)Main Board
01.Main Board PCB
02.220Ω Resistor
03.2.2kΩ Resistor
04.15-Pin Female Header
05.9013Transistor
06.6-Pin 7-Segment Display Socket
07.4-Digit 7-Segment Display (Common Cathode)
08.Plastic Standoffs
02. Exam Numbers and Titles
Question 1: 4-Digit Display Device
Question 2: Keypad Input Display Device
03. Verilog Program Codemodule CPLD_B_K_11700_1(
input clk,
output reg [3:0]s,
output reg [7:0]seg);
reg[13:0]t;
always @ (posedge clk )t <= t + 1;
always @ (posedge t[13])
case (s)
4'b0001: begin s <= 4'b0010; seg <= 8'b0000110;end //7-Segment No.4 Show number ' 2 '
4'b0010: begin s <= 4'b0100; seg <= 8'b1000111;end //7-Segment No.3 Show number' 1 '
4'b0100: begin s <= 4'b1000; seg <= 8'b0011111;end //7-Segment No.2 Show number ' 2 '
default: begin s <= 4'b0001; seg <= 8'b01011011;end //7-Segment No.1 Show number' 1 '
endcase
endmodule
Exam Question Result Image
Other Circuits
Computer Hardware Maintenance Class B – Station 1: Bluetooth Debugging Board
Writer: Roy Yan
- Get link
- X
- Other Apps

Comments
Post a Comment