1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

Tài liệu thiết kế logic khả trình doc

84 909 4
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Digital System Design Automation with Verilog
Tác giả Z. Navabi
Người hướng dẫn Homa Alemzadeh
Trường học McGraw-Hill Education
Chuyên ngành Digital System Design
Thể loại Sách giáo trình
Năm xuất bản 2006
Thành phố Unknown
Định dạng
Số trang 84
Dung lượng 1,35 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Digital Design FlowCompilation and Synthesis Analysis Synthesis Routing and placement Behavioral Simulation Assertion Verification Formal Verification Design Entry in Verilog always pose

Trang 1

Verilog Digital System Design

Z Navabi, McGraw-Hill, 2005

Chapter 1 Digital System Design Automation with Verilog

Prepared by:

Homa Alemzadeh

Trang 2

Digital System Design Automation with Verilog

1.1 Digital Design Flow

Trang 3

Digital System Design

Automation with Verilog

As the size and complexity of digital systems increase,

more computer aided design (CAD) tools are introduced into the hardware design process

Early simulation and primitive hardware generation tools have given way to sophisticated design entry, verification, high-level synthesis, formal verification, and automatic hardware generation and device programming tools

Growth of design automation tools is largely due to

hardware description languages (HDLs) and design

methodologies that are based on these languages

Based on HDLs, new digital system CAD tools have been developed and are now widely used by hardware

designers

One of the most widely used HDLs is the Verilog HDL

Because of its wide acceptance in digital design industry, Verilog has become a must-know for design engineers

and students in computer-hardware-related fields.

Trang 4

Digital Design Flow

Compilation and Synthesis

Analysis Synthesis Routing and placement

Behavioral Simulation Assertion Verification Formal Verification

Design Entry in Verilog

always (posedge clk) begin end

Trang 5

Digital Design Flow

Design Entry in Verilog

always (posedge clk) begin end

Trang 6

Digital Design Flow

design at various levels of abstraction.

mixture of behavioral

Verilog code, instantiation of Verilog modules, and bus and wire assignments

Trang 7

Compilation and Synthesis

Analysis Synthesis Routing and placement

Digital Design Flow

FPLD Design Flow

(Continued)

Presynthesis Verification

Trang 8

Digital Design Flow

verification of the design and later for verifying the synthesis output

Trang 9

Compilation and Synthesis

Analysis Synthesis Routing and placement

Digital Design Flow

FPLD Design Flow

(Continued)

Synthesis Process

Trang 10

Digital Design Flow

hardware of a target device (FPLD, ASIC or custom IC)

Trang 11

Digital Design Flow

FPLD Design Flow (Continued)

Postsynthesi

s Verification

Trang 12

Digital Design Flow

model of the design and its hardware model by using presynthesis test data

Trang 13

Digital Design Flow

FPLD Design Flow (Continued)

Trang 14

Digital Design Flow

an application specific integrated circuits (ASIC), layout for a custom IC, or a program for a

programmable logic devices (PLD)

Trang 15

Digital Design

Flow

Hardware Generation

and Synthesis Postsynthesis

Simulation

Timing Analysis

Digital Design Flow

Trang 16

Digital Design

Flow

Hardware Generation

and Synthesis Postsynthesis

Simulation

Timing Analysis

Design Entry

Design Entry

Trang 17

Design Entry

hierarchical fashion

designs usually described at this level

procedural statements for high-level behavioral

description

continuous assignments for representing logic

blocks, bus assignments, and bus and input/output interconnect specifications

instantiation statements for using lower-level

components in an upper-level design

Trang 18

Digital Design

Flow

Hardware Generation

and Synthesis Postsynthesis

Simulation

Timing Analysis

Testbench in Verilog

Testbench in Verilog

Trang 19

Testbench in Verilog

Simulation and Test of a designed system functionality

before Hardware generation

Detection of design errors and incompatibility of

components used

in the design

By generation of a test data and observation of simulation results

Testbench: A Verilog module

Use of high-level constructs of Verilog for:

Data Generation

Response Monitoring

Handshaking with the design

Inside the Testbench: Instantiation of the design

module

Forms a simulation model together with the design,

used by a Verilog simulation engine

Trang 20

Digital Design

Flow

Hardware Generation

and Synthesis Postsynthesis

Simulation

Timing Analysis

Design Validation

Design Validation

Trang 21

Design Validation

Trang 22

Design Validation

Design Validation

Trang 23

Design Validation

Trang 24

at the gate or transistor levels

waveform editors, or through a testbench

Trang 25

Other forms

Simulation Model

Hierachical Design Description Simulator

Text, VCD

Trang 26

`timescale 1 ns / 100 ps module Chap1CounterTester ();

Chap1Counter U1 (Clk, Reset, Count);

Design to Simulate

The simulation results in form of a waveform

Trang 27

Simulation The testbench

instantiates the design under test, and as part

of the code of the testbench it applies test data to the instantiated circuit

Trang 28

Simulation

Validates the functionality of the counter circuit being tested,

Regardless of clock frequency

Trang 29

differently

there will be a nonzero delay between the active edge

of the clock and the counter output

actual part is too fast for propagation of values within the gates and transistors of a design, the output of

the design becomes unpredictable

details of the timing of the hardware being simulated

that are due to gate delays cannot be detected

behavioral simulation.

Trang 30

Assertion Verification

Design Validation

Verification

Trang 31

of design according to the designer’s expectation

assertion monitors for monitoring common design

properties

Trang 32

Formal Verification

Design Validation

Verification

Trang 33

Formal Verification

against certain properties

described properties by the designer to reflect

correct behavior of the design hold under all

conditions

property to fail

exercised by the property

Trang 34

Digital Design

Flow

Hardware Generation

and Synthesis Postsynthesis

Simulation

Timing Analysis

Compilation and

Synthesis

Compilation And Synthesis

Trang 35

Compilation and

Synthesis

generation from a design description that has an unambiguous hardware correspondence

specifications, file handling, and other language

combinational logic equations

combinational and sequential circuits

Trang 36

Logic

Routing and Placement

Timing Analysis

Target Hardware Specification

Chip Manufacturing or Device Programming

always (posedge clk) begin end

if (…) bus = w;

else

module design ( .);

assign always

ng an FPLD

or

The compilation process and a graphical representatio

n for each of

the compilation phase outputs

Trang 37

an intermediate

format.

Trang 38

Compilation and

Synthesis

Synthesis Phase: Links

all parts together and

generates the

Has three different

phases

Trang 39

Compilation and

Synthesis

Routing and Placement

Phase: Places and routes components of the target hardware, and generates timing

details.

Routing and Placement

Timing Analysis

T = … ; T =

Operating Condition

Chip Manufacturing

or Device Programming

Trang 40

Compilation and

and Synthesis

Routing and Placement

Generation Logic

Trang 41

Compilation and Synthesis

Routing and Placement

Generation

Logic

Analysis

Trang 42

Verilog code

Trang 43

Generic Hardware

and Synthesis

Routing and Placement

Trang 44

Generic Hardware

Generation

into a generic hardware format such as a set of Boolean expressions or a netlist of basic gates

Trang 45

Logic Optimization

Compilation and Synthesis

Routing and Placement

Generation

Logic

Logic Optimization

Trang 46

Logic Optimization

Trang 47

Compilation and Synthesis

Routing and Placement

Generation Logic

Trang 48

needed for the realization of the circuit using

information from target hardware

used

Trang 49

Routing and Placement

Compilation and Synthesis

Routing and Placement

Generation

Logic

Routing and Placement

Trang 50

Routing and Placement

channels and switching areas of the target hardware

can be used for programming an FPLD or

manufacturing an ASIC.

Trang 51

Routing and Placement

module Chap1Counter (Clk, Reset, Count);

- Pin-to-pin timing

Design to Synthesize

An example

of a synthesis run: The counter circuit is being synthesized

Trang 52

Routing and Placement

module Chap1Counter (Clk, Reset, Count);

Target hardware specification

List of primitive components

- Flip-flops

- Logic elements Timing specifications

- Pin-to-pin timing

Design to Synthesize

Verilog Description

of the Design

Specificatio

n

of the Target Hardware

Trang 53

Synthesis Tool

Routing and Placement

their

Trang 54

Digital Design

Flow

Hardware Generation

and Synthesis Postsynthesis

Simulation

Timing Analysis

Postsynthesis

Simulation

Postsynthesis Simulation

Trang 55

Post-synthesis Simulation

hardware components and their timings is generated.

wires and gates.

Trang 56

Digital Design

Flow

Hardware Generation

and Synthesis Postsynthesis

Simulation

Timing Analysis

Timing Analysis

Timing Analysis

Trang 57

circuits.

Trang 58

Digital Design

Flow

Hardware Generation

and Synthesis Postsynthesis

Simulation

Timing Analysis

Hardware Generation

Hardware Generation

Trang 59

Hardware Generation

program for programming FPLDs, or layout of custom

IC cells

Trang 60

Verilog HDL

Verilog HDL

Verilog

Evolution

Verilog Attributes

The Verilog Language

Trang 62

Verilog Evolution

Verilog HDL

Verilog

Evolution

Verilog Attributes

The Verilog Language

Verilog

Evolution

Trang 63

Verilog Evolution

industry, a fault simulator, a timing analyzer, and later in

1987, a synthesis tool was developed based on this language.

Verilog-based tools by Cadence Design System, Cadence has been a strong force behind popularizing the Verilog hardware

description language.

description language.

projects and contracts.

Verilog International) was formed and Verilog was placed in public domain.

Verilog became the IEEE standard, IEEE Std 1364-1995, in 1995.

Trang 64

Verilog Evolution

IEEE in 2001

write

Trang 65

Verilog Attributes

Verilog HDL

Verilog

Evolution

Verilog Attributes

The Verilog Language

Verilog Attributes

Trang 66

Verilog Attributes

describing hardware from transistor level to

behavioral.

simulation and at the same time, has features for

describing hardware at the abstract algorithmic

level.

at various abstraction levels with different degrees of detail.

Trang 67

Verilog Attributes

PLI

Specifications Behavioral

Verilog Attributes

Trang 68

Verilog Attributes

PLI

Specifications Behavioral

Switch Level

Switch Level

Trang 69

Switch Level

and simulation:

with parameters for delay and charge storage

rise and fall delay, and line delays

complimentary metal oxide semicondutor (CMOS)

and metal oxide semiconductor (MOS) circuits.

Trang 70

Verilog Attributes

PLI

Specifications Behavioral

Gate Level

Gate Level

Trang 71

Gate Level

provide a convenient platform for:

simulations:

special functionalities:

for more accurate logic modeling

Trang 72

Verilog Attributes

PLI

Specifications Behavioral

Pin-To-Pin Delay

Pin-To-Pin Delay

Trang 73

Pin-To-Pin Delay

components at the input/output level:

information in original predesigned descriptions

their models based on physical implementations

Trang 74

Verilog Attributes

PLI

Specifications Behavioral

Bussing Specifications

Bussing Specifications

Trang 75

Bussing Specifications

bus resolution functions using the 4-value logic value system

enable modeling of most physical bus types

representation and timing-control constructs can be used for representation of registers with various

clocking and resetting schemes.

Trang 76

Verilog Attributes

PLI

Specifications Behavioral

Behavioral Level

Behavioral

Level

Trang 77

Behavioral Level

representations of hardware structures

languages are provided for describing hardware at this level.

Trang 78

Verilog Attributes

PLI

Specifications Behavioral

System Utilities

System Utilities

Trang 79

Special hardware modeling

logic array (PLA) images provide convenient ways of

modeling these components.

Verilog display and I/O tasks can be used to handle all inputs and outputs for data application and simulation

Verilog allows random access to files for read and write operations.

Trang 80

Verilog Attributes

PLI

Specifications Behavioral

PLI

PLI

Trang 81

The Verilog Language

Verilog HDL

Verilog

Evolution

Verilog Attributes

The Verilog Language

The Verilog Language

Trang 82

The Verilog Language

and synthesis of digital systems:

from system to gate or even switch level

specification and violation detection

modeling are specially emphasized in it.

module_declaration language construct in it

Trang 83

The Verilog Language

and synthesis of digital systems (Continued):

input and output list as well as internal component busses and registers within a module, concurrent

assignments, component instantiations, and

procedural blocks can be used to describe a

hardware component.

form other hardware structures

provide simulation, fault simulation, formal

verification, and synthesis

programs and waveform editing and display tools

Trang 84

used for taking a design from the design stage to a hardware implementation

developers, researchers, and software vendors

have become more focused, resulting in better

tools and more uniform environments

Ngày đăng: 19/02/2014, 04:20

TỪ KHÓA LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w