introduction to the courseesc.inu.ac.kr/~seban90/lab1.pdfintroduction to the course. course...
TRANSCRIPT
Jaeyong Chung
SoC Laboratory
Incheon National University
Digital Integrated Circuits
Introduction to the course
Course Information
Schedule
(EPC6055001) Mon 6:55pm - 8:40pm (SI433), Tue 7:50pm -
9:35pm (SI325)
(EPC6055002) Tue 2:00pm - 3:50pm (SI223), Wed 3:00pm -
4:50pm (SI325)
(EPC6055003) Tue 10:00am - 11:50am (SI223), Wed 1:00pm
- 2:50pm (SI325)
Instructor
Jaeyong Chung (정재용, [email protected])
Office : 454, 4th floor, Building 8B
Tel: 032-835-8458
Office Hours: One hour after the lab class, or by appointment
(Send an email to schedule an appointment)
Website: http://esc.incheon.ac.kr
Chung EPC6071 2
Before Class Starts..
Attendance / Late
Attendance : 3 absences with no notice → F
Late : 5 or more times → Penalty
Course Website
https://sites.google.com/site/epc6055000/2017fall
Chung EPC6071 3
Before Class Starts..
Textbooks
“Digital Systems Design Using Verilog”, Charles H. Roth, Jr
Chung EPC6071 4
Before Class Starts..
Prerequisites
Digital Logic Design
Background
Boolean Algebra (ex) Truth Table)
Combinational Logic (ex) Primitive Gates (AND, OR and etc.)
Sequential Logic (ex) Latch, Flip-Flop, Clock)
Finite State Machine (ex) Traffic Light Controller)
Chung EPC6071 5
Before Class Starts..
Feedback
Need Feedback : Adjust Pace / Course Difficulty Level
Main Communication Language
ENGLISH
Chung EPC6071 6
Before Class Starts..
Grading
30% Midterm
30% Project
20% Labs
10% Quiz
10% Attendance
Late Policy
10% per day of delay
Chung EPC6071 7
Before Class Starts..
Thanks to..
Kyosun Kim @ Incheon National University
Nur Touba and Lizy John @ The University of Texas at
Austin
Joon-Sung Yang @ Sungkyunkwan University
Chung EPC6071 8
Simulation Tool
ModelSim PE 10.4a
ModelSim is an HDL Verification Tool
Developed by Mentor Graphics, an
EDA Tool Expert Company.
Both VHDL and Verilog Descriptions
can be Simulated.
ModelSim can Simulate Designs which
are Described in Mixed Languages
(VHDL, Verilog, and SystemC).
A Free Version can be Downloaded
from http://www.model.com
Chung EPC6071 11
Contents
Toolchain Installation
Modelsim
Download
Installation
License
Simulation
Half Adder
Full Adder
4 bit Adder
4 bit Adder/Subtractor
Chung EPC6071 17
Half adder
Create Verilog File
yx
sc00
0010
1001
1011
01carry sum
Carry Sum
x y c s
0 0 0 0
0 1 0 1
1 0 0 1
1 1 1 0
xy
s
c
x
y
s
cHA
Create Test Bench File
Project -> Add to Project -> New File
Filename
halfAdderTb.v
Add file as type
Verilog
4 Bit Adder
Hierachy structure
fourBitAdder0(4 bit Adder)
halfAdder2(Half Adder)
bit3(Full Adder)
halfAdder1(Half Adder)
halfAdder2(Half Adder)
bit2(Full Adder)
halfAdder1(Half Adder)
halfAdder2(Half Adder)
bit1(Full Adder)
halfAdder1(Half Adder)
halfAdder2(Half Adder)
bit0(Full Adder)
halfAdder1(Half Adder)
4 Bit Adder
Hierachy structure
fourBitAdder0(4 bit Adder)
halfAdder1(Half Adder)
bit3(Full Adder)
halfAdder1(Half Adder)
halfAdder2(Half Adder)
halfAdder1(Half Adder)
bit2(Full Adder)
halfAdder1(Half Adder)
halfAdder2(Half Adder)
halfAdder1(Half Adder)
bit1(Full Adder)
halfAdder1(Half Adder)
halfAdder2(Half Adder)
halfAdder1(Half Adder)
bit0(Full Adder)
halfAdder1(Half Adder)
halfAdder2(Half Adder)