39
Fundamental of Digital Logic with VHDL Design • VHDL 设设设设设设设

Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

  • View
    315

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Fundamental of Digital Logic with VHDL Design

• VHDL 设计数字逻辑系统

Page 2: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

    Chess is a game that provides a splendid vehicle for displaying human intelligence in a competitive environment. During the past 30 years, it has also served as a platform for determining the extent to which machines can emulate intelligent behavior. Many chess programs are available for today's computers. Chess machines, comprising a computer and a chess-playing program, are now capable of defeating even the strongest human players. The ultimate challenge took place in 1997, when IBM's Deep Blue chess machine defeated the World Champion Garry Kasparov in a six-game match. The essence of this machine are logic circuits, algorithms, and software-coupled with people who know how to use these resources.

Page 3: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Although all of these factors are crucial, the greatest leap forward, in terms of chess playing strength, was made when extremely powerful logic circuits were developed. Most of these circuits are used in general purpose computers, but some are specialized for the chess playing application. A key reason why the Deep Blue machine is so strong is that it can evaluate about 200 million chess positions in one second.

Page 4: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

This textbook deals with logic circuits and explains how they are designed. We have included in the book the moves from the decisive sixth game of the match to remind the reader of the incredible possibilities that are attainable with well-designed logic circuits. Deep Blue played with the white pieces.

Page 5: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 1

provides a general introduction to the process of designing digital systems. It discusses the key steps in the design process and explains how CAD tools can be used to automate many of the required tasks.

Page 6: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 2

introduces the basic aspects of logic circuits. It shows how Boolean algebra is used to represent such circuits. It also gives the reader a first glimpse at VHDL, as an example of a hardware description language that may be used to specify the logic circuits.

Page 7: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 3

The electronic aspects of digital circuits are presented in Chapter 3. This chapter shows how the basic gates are built using transistors and presents various factors that affect circuit performance. The emphasis is on the latest technologies, with particular focus on CMOS technology and programmable logic devices.

Page 8: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 4

deals with the synthesis of combinational circuits. It covers all aspects of the synthesis process, starting with an initial design and performing the optimization steps needed to generate a desired final circuit. It shows how CAD tools are used for this purpose

Page 9: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 5

concentrates on circuits that perform arithmetic operations. It begins with a discussion of how numbers are represented in digital systems and then shows how such numbers can be manipulated using logic circuits. This chapter illustrates how VHDL can be used to specify the desired functionality and how CAD tools provide a mechanism for developing the required circuits.

Page 10: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

We have chosen to introduce the number representations at this point, rather than in the very beginning of the book, to make the discussion more meaningful and interesting because we can immediately provide examples of how numerical information may be processed by actual circuits

Page 11: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 6

presents combinational circuits that are used as building blocks. It includes the encoder, decoder, and multiplexer circuits. These circuits are very convenient for illustrating the application of many VHDL constructs, giving the reader an opportunity to discover more advanced features of VHDL.

Page 12: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 7

Storage elements are introduced in Chapter 7. The use of flip-flops to realize regular structures, such as shift registers and counters, is discussed. VHDL-specified designs of these structures are included.

Page 13: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 8

Chapter 8 gives a detailed presentation of synchronous sequential circuits (finite state machines). It explains the behavior of these circuits and develops practical design techniques for both manual and automated design.

Page 14: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 9

Asynchronous sequential circuits are discussed in Chapter 9. While this treatment is not exhaustive, it provides a good indication of the main characteristics of such circuits. Even though the asynchronous circuits are not used extensively in practice, they should be studied because they provide an excellent vehicle for gaining a deeper understanding of the operation of digital circuits in general. They illustrate the consequences of propagation delays and race conditions that may be inherent in the structure of a circuit.

Page 15: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 10

Chapter 10 is a discussion of a number of practical issues that arise in the design of real systems. It highlights problems that are often encountered in practice and indicates how they can be overcome. Examples of larger circuits illustrate a hierarchical approach in designing digital systems. Complete VHDL code for these circuits is presented.

Page 16: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 11

introduces the topic of testing. A designer of logic circuits has to be aware of the need to test circuits and should be conversant with at least the most basic aspects of testing

Page 17: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Chapter 1 Design Concepts第一章 设计概念

Logic circuits –the circuits from which

computers are built.

Page 18: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

1.1 Digital Hardware 数字硬件

• 1960s , IC1970s , MicroprocessorIntel Corporation Chairman ,Gordon Moore

Page 19: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Moore’s Law

The number of transistors that could be placed on a chip is doubling every 1.5 to 2 years.

Page 20: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

Semiconductor Industry Association

SIA ( 半导体工业协会) ,a consortium( 联盟 )of integrated circuit manufactures.

Stand chips, programmable logic devices, custom chip.

Page 21: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

1.1.1 Standard Chips (标准芯片 )

Standard chips conform to an agreed-upon standard in terms functionality and configuration.

<100 transistorsBefore 1980s, were popularDrawback: space size on PCB board; functionality is fixed and cannot be

changed.

Page 22: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

1.1.2 PLD

PLD------Programmable Logic Devices

Configured by the user

Can be programmed multiple times

Quick prototype, easy correct

Page 23: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

FPGA

FPGA------Field Programmable Gate Array

the most sophisticated type of PLDs.

Page 24: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

1.1.3 Custom-Designed Chips

Situation: meet the desired performance or

cost objectives.

定制- custom

ASICs - Application-Specific Integrated

Circuits

专用集成电路

Page 25: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

1.2 The design process

The availability of computer-based tools

Process:

1.definite product specification;

2.general structure;

3.CAD tools-work out details

4.simulation—fix the errors

Page 26: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

1.3 Design of Digital Hardware

Through the designer’s knowledge, skill and

intuition

Simulation, CAD Tools

Input conditions

Remedy errors

Page 27: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

PCB

Ex. Multiprocessor ,

designed at the university of Toronto.

Divider-and-conquer approach

1.partition in smaller blocks;

2.interconnection between the blocks;

3.functional simulation;

4.placement on PCB

Page 28: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

5.timing simulation;

6.physical implementation;

Page 29: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

1.4 Logic Circuit Design in This Book

PLD Technology

1. Widely used;

2. Educational purpose

3. Two types:CPLD &FPGA

Complex Programmable Logic Design

Field Programmable Gate Array

Page 30: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

CAD Tools

1. Altera MAX plus Ⅱ2. Xilinx ISE x.0

3. Quartus 5.2

Page 31: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

1.5 Theory and Practice

Boolean algebra 布尔代数CAD tools

1.original description of the logic circuit;

2.directly implemented in CAD tools;

3. Many optional processing steps.

The fundamental concepts is the base.

Interesting and intellectually challenging.

Page 32: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统

CAD tools are not a substitute of human

intuition and innovation

Page 33: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统
Page 34: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统
Page 35: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统
Page 36: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统
Page 37: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统
Page 38: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统
Page 39: Fundamental of Digital Logic with VHDL Design VHDL 设计数字逻辑系统