Title: Final exam review
1Final exam review
Date Dec. 20th Time 10AM-12PM Room B118 Open
book and open notes.
2Coverage
Chapter 1- chapter 11 and Lab
3Overview of Digital system design
- Old ways of designing digital circuits
- PLD, CPLD, FPGA, ASIC
- HDL, VHDL, Verilog
4VHDL Tutorial
- Entities
- Archetectures
- Simulation
5VHDL elements
- Identifier
- A,b, sum, cout
- Data objects
- signal, variable, file, constant
- Data types
- Std_logic, bit_vector, integer
- Operators
- And, or, not ,-,,/
6VHDL elements
7Behavioral Modeling
- Process
- sequential executed statements
- sensitivity list (hw)
- signal vs variables (hw)
- wait statement
- signal drivers
- transport and inertial delay model
- multiple processes
8Structural Modeling
- Component declaration
- Component instantiate
- Port map()
- Connecting components using signals
9Structural Modeling
10Dataflow Modeling
- Concurrent signal assignment
- Block
- Guarded block
- Multiple drivers
- Resolution function
11Primitives
- AND, or, not, xor Gates
- D flipflop, Register, Shift register
- Multiplexer, N bit adder
- Counter, comparator
- Decoder(LED), encoder
12Primitives
- Full adder
- Decoder(LED Decoder)
- Counter
- Comparator
13Testbench and Simulation
14A Simple Test Bench
15Testbench and Simulation
16Generics
Generic map()
L
R
R
R
R
R
R
R
R
R
MB bits
E
E
E
E
E
E
E
E
E
G
G
G
G
G
G
G
G
G
h
h
h
h
h
h
h
h
h
0
1
2
3
4
5
6
7
8
1
2
1
3
1
4
5
1
1
1
1
1
MB bits
17Subprograms and Overloading
Functions Procedures
18The lab example
Using Bit_vector
Using integer
19Subprogram overloading
- Distinguish between overloaded subprograms
- subprogram name
- number of actuals
- types and order of actuals
- names of formal prameters(if named association
is used) - result type(for fucntion)
20Generate Statement
For generate If generate
21Aliases
15
8
5
4
3
0
DATA_BUS
RESET
STATUS
RX_READY
22Attribute
Value attributes'left 'right 'high 'low 'length
'ascending Function attributes for a type
'pos(value) 'val(value) 'succ(value) 'pred(value)
'leftof(value) rightof(value) Function
attributes for signals'event 'active
'last_event 'last_value 'last_active
23Lab
Board setup and test skills LED 8 bit
counter VGA Round ball Audio Multiplexer using
DIP
24Questions?