Title: ECE 426 - VLSI System Design
1ECE 426 - VLSI System Design
- Lecture 9 - ASM Diagrams
- February 26, 2003
Prof. John NestorECE DepartmentLafayette
CollegeEaston, Pennsylvania 18042nestorj_at_lafayet
te.edu
2Announcements
- Reading Wolf 8.3
- MOSIS Chips are IN!
- Breaking News Intels Prescott Pentium 4
discussed at Intel Developers Forum - 90nm process technology
- Clock gt3GHz (up to 5GHz w/ anticipated process
improv.) - 1 Mbyte L2 Cache
- 800 MHz front-side bus
- Strained Silicon
- 13 new instructions
Source EE Times 2/24/03
3Where we are...
- Last Time
- Review - Basic Concepts in Register-Transfer
Design - Datapath / Control Paradigm
- Testbenches for Register-Transfer Designs
- Design Guidelines
- ASM Diagrams
- Today - Register Transfer Design
- ASM Diagrams
- Handshaking
4ASM Diagrams
- ASM Algorithmic State Machine
- A flowchart notation for state machines
- Motivation
- High-level description of clock-cycle level
behavior - Alternative to traditional state diagrams
- Easier to read for large diagrams
- Prevents inconsistent diagram specifications
- More concise than Verilog code
Christopher R. Clare, Designing Logic Using
State Machines, McGraw-Hill, 1973
5Flavors of ASM Diagrams
- Low-level
- Cycle-by-cycle timing
- Detailed specification of input / output values
- Equivalent to standard state diagram
- Register-Transfer Level (book uses this)
- Cycle-by-cycle timing
- Abstract operations (can map directly to low
level)
6ASM Elements
7Describing an ASM State
Note all other outputs are 0!
8State Description w/ Complex Branches
State Diagram Equivalent (Fill In)
9ASM Diagram Pitfall
- Conditional output boxes specify values
- Conditional output boxes dont specify sequence
10ASM Example - Successive Approximation Circuit
11ASM Example - Successive Approximation Circuit
12ASM Example
- ASM Diagram for Successive Approximation Circuit
13Example MIPS Multicycle Design
14Example MIPS Multicycle Design
15Multicycle Control - ASM Diagram Part 1
16Multicycle Control -ASM Diagram Part 2
17Multicycle Control -ASM Diagram Part 3
2
3
4
RTEX
BR
ALUSrcA 1 ALUSrcB 00 ALUOp 10
ALUSrcA 1 ALUSrcB 00 ALUOp
01 PCWriteCond PCSource 01
RTWB
RegDst 1 RegWrite MemtoReg 0
0
0
18RT-Level ASM
- Key idea
- Use same notation as regular ASM
- Instead of outputs, write register transfers
- Advantages
- Plan complex designs before details are nailed
down - Estimate resource costs by counting operations in
each state
19Multicycle Control - ASM Diagram Part 1
20Multicycle Control -ASM Diagram Part 2
21Multicycle Control -ASM Diagram Part 3
22About Lab 5 - Serial Receiver
23Lab 5 Design
- Design circuit as a datapath / controller system
- General Approach
- 1. Wait for the falling edge of the START bit.
- 2. Delay to the center of the START bit and
sample the current data value. If the data value
is not still asserted low, ignore the START bit
and return to step 1. - 3. Delay to the center of the next data bit.
Sample the value of the data value and shift it
into a shift register. - 4. Repeat step 3 seven more times.
- 5. Delay to the center of the stop bit and
sample. If the value is not correct, indicate a
framing error condition. - 6. Indicate that valid data is available in the
shift register. - 7. Go back to step 1.
24Coming Up
- Multiple Controller / Datapath Designs
- Synchronization Issues with Multiple Controllers
25Verification Plan
- Definition A Specification of the Verification
Effort - Prerequisite Specification document for design
- Defnining Success - Must Identify
- Features which must be exercisedunder which
conditions - Expected Response
26Levels of Verification
- Board
- System / Subsystem
- ASIC / FPGA
- Unit / Subunit
27Levels of Verification
- Connectivity
- Transaction / Cooperative Data Flow
- Functionality
- Ad Hoc
- Designer verifies basic functionality
28Levels of Verification - Notes
- Stable interfaces required at each level of
granularity
29System Design Issues
- ASM Diagrams
- Synchronization Metastability
- Handshaking
- Working with Multiple Clocks
30(No Transcript)
31(No Transcript)