Docsity

HDL-Based Design Flow, Digital System Timing | ECE 406, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download HDL-Based Design Flow, Digital System Timing | ECE 406 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

ECE 406 Class Notes

Introduction

Dr. Paul D. Franzon

Outline1. HDL-based Design Flow2. Digital system timingReferences1. Smith/Franzon, Chapter 1

ECE 406 Class Notes

Role of Hardware Description Languages

Modern digital chip and system design centers on the use of Hardware Description

Languages (HDL) to capture the design at the Register Transfer Level (RTL)

z

RTL specifies all registers (flip-flops) and the combinational logic between the flip-flops

z

Capturing the design in RTL is much faster than drawing a schematic

z

Modern design depends heavily on the use of Computer-Aided Design tools:

‹

To synthesize the RTL design into a schematic

‹

To turn the schematic into a chip layout, FPGA mapping or board layout

‹

To verify the original design, and verify that the more detailed designs areconsistent with the original design

z

Good designers depend critically on their ability to operate effectively with the CADtools

‹

Just knowing how to design logic is not enough

‹

Unfortunately, you must learn a lot of tools and learn how to deal with theircomplexity and bugs

‹

Its important to form a good understanding of the tool’s methodology

HDLs simplify Design Capture & Design Automation

ECE 406 Class Notes

... Design Flow

Module Netlist

Chip Netlist (hierarchical)

Floorplan

Place and Route

Chip Layout

Timing Extraction

Post-Layout Verification

SDF (Delay) File

Includes SDF

(Delay) Files

ECE 406 Class Notes

Synthesis-based chip design

The chip is designed using synthesis tools

z

Used when time-to-market is the most important issue

Basic Steps:

Write HDL

Simulate

Snythesize

Place&Route

Verify

z

Over 40 detailed steps in design process

ECE 406 Class Notes

…IC Design Approaches

and Field Programmable Gate Arrays (FPGAs):

Xilinx FPGAarchitecuture

Configurable Logic Block (CLB):

ECE 406 Class Notes

General Principles of Digital System Design

Most Digital Systems are Synchronous

z

I.e. All signals are derived off a single Master Clock fed to all registers

z

In most logic implementation families, events are synchronized using edge-triggered flip-flops

‹

e.g. positive-edge triggered D- or Data- flip-flop

z

Groups of flip-flops are referred to as registers

D

clock

Q

In[0]In[1]

In[2]In[3]

Out[0]

Out[1]Out[2]Out[3]

clock

After a 0->1 transistion at clockQ takes the value of D that waspresent just before thattransition.

ECE 406 Class Notes

Multiple Logic Stages

Generate Timing Diagram

In[0]In[1]

In[2]In[3]

clock

Out[0]

Out[1]Out[2]Out[3]

ClockIn Out

F

A

x

F

A

A

ECE 406 Class Notes

Animation

Track the logic…

In[0]In[1]

In[2]In[3]

clock

Out[0]

Out[1]Out[2]Out[3]

ClockIn Out

A

ECE 406 Class Notes

Snapshot

In[0]In[1]

In[2]In[3]

clock

Out[0]

ClockIn Out

A

B

Out[1]Out[2]

ECE 406 Class Notes

What is Wrong Here?

Combinational Logic Feedback does not work in synchronous design

z

Must Feedback through register

z

What happens if the logic gets into the state shown?

In[0]In[1]

In[2]In[3]

clock

Out[0]

Out[1]Out[2]

Logic point * will oscillate 101010…Given that logic delays vary with temperature and from chip tochip, what value will be valid at D input to Out[2]?

Don’t know!

ECE 406 Class Notes

…Digital System Design

Digital sub-systems are built as collections of registers and combinational

logic

z

Registers store data from the end of one clock period to be available at thestart of the next clock period

z

Combinational logic can not store data

‹

It only operates on it during each clock period

In1[3:0]In2[3:0]

nextA[3:0]

A[3:0]

nextB[3:0]

B[3:0]

clock

selB