基本信息
- 原书名:Digital System Design with VHDL
- 原出版社: Pearson Education Limited
- 作者: (英)Mark Zwolinski
- 丛书名: 国外电子与通信教材系列
- 出版社:电子工业出版社
- ISBN:7505380206
- 上架时间:2002-10-29
- 出版日期:2002 年10月
- 开本:16开
- 页码:324
- 版次:1-1
- 所属分类:计算机 > 计算机控制与仿真 > 数字系统设计
教材 > 计算机教材 > 本科/研究生 > 计算机控制仿真
内容简介
目录
1 introduttion
1.1 modern digital design
1.2 cmos technology
1.3 programmable logic
1.4 electrical propenies
1.5 summary
1.6 funher reading
exercises
2 combinational logic design
2.1 boolean algebra
2.2 logic gates
2.3 combinational logic design
2.4 timing
2.5 number codes
2.6 summary
2.7 funher reading
exercises
3 combinational logic using vhdl gate models
3.1 entities and architectures
前言
There are probably tens, if not hundreds. of textbooks in print t about digital design. There are a large number of book about VHDL. Why then did I add to this abundance by writing yet anoaler textbook on digital design? As the tide suggests, this book combines the discipline of digital design wial a guide to dle use of VrmL. By doing this. I have attempted to create an approach that is distinct from eidler of the oaler types of book.
The fact dlat I am trying to provide a different type of book should not be interpreted to mean that I am necessarily critical of everyaling that has gone before. There are a number of very good digital design textbooks, some of which are listed in the bibliography. Similarly. there are a number of excellent VHDL books. The majority of VHDL books, however, are aimed at practising engineers. This book is intended as a student textbook. Therefore, some features of VHDL are not described at all in this book. Equally, aspects of digital design are covered that would not be included in a typical VHDL book.
Syllabuses for electrical, electronic and computer engineering degrees vary between countries and between universities or colleges. The material in this book has been developed over a number of years for second and third year undergraduates and for postgraduate students. It is assumed that students will be familiar with the principles of Boolean algebra and with combinational logic design. At the University of Southampton, the first year undergraduate syllabus also includes introductions to synchronous sequential design and to programmable logic. This book therefore builds upon these foundations. It has often been assumed that topics such as VHDL are too specialized for second year teaching and are best lefi to final year or postgraduate comses. There are several good reasons why VHDL should be introduced earlier into the cuoiculum. With increasing integrated circuit complexity, there is a need from industry for graduates with knowledge of VHDL and the associated design tools. If left to the final year, there is little or no time for the student to apply such knowledge in project work. Second, conversations with colleagues from many countries suggest that today's students are opting for computer science or compnter engineering courses in preference to elecuical or elecuonic engineering. VHDL offers a means to interest computing-oriented students in hardware design. Finally, simulation and syndlesis tools are now mature and available relatively cheaply to educational establishments on PC platforms.
Structure of this book
Chapter 1 introduces the ideas behind this book. namely the use of elecffonic design automation tools and CMOS and programmable logic technology. We also consider some engineering problems. sncb as noise margins and fan-out. In Chapter 2. the principles of Boolean algebra and of combinational logic design are reviewed. The important matter of timing and the associated problem of hazards are discussed. Some basic techniques for representing data are discussed.
VHDL is inuoduced in Chapter 3 through basic logic gate models. The importance of documented code is emphasized. We show how to construct netlists of basic gates and how to model delays through gates. We also discuss parameterized models and constant and unconnected inputs and outputs. The idea of osing VHDL to verify VHDL models by using testbenches is inuoduced. Finally, we briefly introduce the concept of configurations.
In Chapter 4. a variety of modelling techniques are described. Combinational building blocks, buffers, decoders, encoders, multiplexers. adders and parity checkers are modelled using a range of concunent and sequential VHDL coding constructs. The VHDL models of hardware introduced in this chapter and in Chapters 5, 6 and 7 are, in principle, synOlesizable, although discussion of exactly what is suppoHed is defemed until Chapter 9. In addition. the IEEE dependency notation is introduced.
Chapter 5 is probably ale most impoHant chapter of dle book and discnsses what might be considered ale cornerstone of digital design: the design of finite state machines. The ASM chart notation is used. The design process from ASM chart to D flip-flops and next state and output logic is described. VHDL models of state machines are introduced.
Chapter 6 inaoduces various sequential building blocks: latches, Hip-flops. registers. counters, memory and a sequential multiplier. The same style as Chapter 4 is used, with IEEE dependency notation and the introduction of VHDL coding constructs.
In Chapter 7 the concepts of the previous three chapters are combined. The ASM chart notation is extended to include coupled state machines and registered outputs, and hence to datapath-controller panitioning. From this. we explain the idea of instructions in hardware terms and go on to model a very basic microprocessor in VHDL. This provides a vehicle to introduce VHDL subroutines and packages.
VHDL remains primarily a modelling language. Chapter 8 describes the operation of a VHDL simulator. The idea of event-driven simulation is first explained and the specific features of a VHDL simulator are then discussed. Although the entire VHDL language can be simulated, some constructs simulate more efficiently than others; therefore techniques for writing models that are more efficient are discussed. File operations are also discussed in this chapter because such functionality is only appropriate to simulation models.
The other, increasingly important. role of VHDL is as a language for describing synthesis models. as discussed in Chapter 9. The dominant type of synthesis tool available today is for RTL synthesis. Sach tools can infer the existence of Hip-80ps and latches kom a VHDL model. These consffucts are described. Conversely, flip-flops can be created in error if the description is poorly written, and common pitfalls are described. The synthesis process can be controlled by consffaints. Because these constraints are outside the language, they are discnssed in cgeneral terms. Suitable constructs for FPGA synthesis are discussed. FinaUy, behavioural synthesis. which promises to become an imponant design technology. is briefly examined.
Chapters 1O and 11 are devoted to the topics of testing and design for test. This area has often been neglected, but is now recognized as being an important part of the design process. In Chapter 1O the idea of fault modelling is introdaced. This is followed by test generation methods. The efficacy of a test can be determined by fault simulation. At the time of writing, there are no commercial VHDL-based fault simulators available. The final section of this chapter shows how fanlt modelling and fault simulation can be performed using a standard VHDL simulator. The VHDL code also introduces constructs such as pointers and shared (global) variables.
In Chapter 11. three important design-for-test principles are described: scan path, built-in self-test (BIST) and boondary scan. This has always been a very dry subject, but a VHDL simulator can be used. for example. to show how a BIST structure can generate different signatures for fault-free and faulty circuits. Boundary scan uses a subset of VHDL to describe the test structures used on a chip, and an example is given.
In the final chapter, we use VHDL as a tool for exploring anomalous behaviour in asynchronous sequential circuits. Although the predominant design style is cuaently synchronous, it is likely that digital systems will increasingly consist of synchronous circuits communicating asynchronously with each other. We introduce the concept of the fundamental mode and show how to analyze and design asynchronous circuits. We use VHDL simulations to illasuate the problems of hazards, races and setup and hold time violations. We also discuss the problem of metastability.
Three appendices are incladed. The first appendix lists the various VHDL-related standards and speculates on the filture development of VHDL. The second appendix briefiy describes the Verilog hardware description language. Verilog is the major altemative to VHDL and it is likely that designers will have to be familiar with both.
The third appendix covers shared variables. At the end of each chapter a number of exercises have been included. These exercises are almost secondary to the implicit instruction in each chapter to simulate and, where appropriate, synthesize each VHDL example. To perform these simulation and synthesis tasks. the reader will have to write his or her own testbenches and constraints files. The examples are available on the World Wide Web at the address given in the next section.
How to use this book
Obviously, this book can be used in a number of different ways, depending on the level of the course. At the University of Southampton. I am using the material as follows.
序言
教材建设是高校教学建设的主要内容之一。编写、出版一本好的教材,意味着开设了一门好的课程,甚至可能预示着一个崭新学科的诞生。20世纪40年代MIT林肯实验室出版的一套28本雷达丛书,对近代电子学科、特别是对雷达技术的推动作用,就是一个很好的例子。
我国领导部门对教材建设一直非常重视。20世纪80年代,在原教委教材编审委员会的领导下,汇集了高等院校几百位富有教学经验的专家,编写、出版了一大批教材;很多院校还根据学校的特点和需要,陆续编写了大量的讲义和参考书。这些教材对高校的教学工作发挥了极好的作用。近年来,随着教学改革不断深入和科学技术的飞速进步,有的教材内容已比较陈旧、落后,难以适应教学的要
求,特别是在电子学和通信技术发展神速、可以讲是日新月异的今天,如何适应这种情况,更是一个必须认真考虑的问题。解决这个问题,除了依靠高校的老师和专家撰写新的符合要求的教科书外,引进和出版一些国外优秀电子与通信教材,尤其是有选择地引进一批英文原版教材,是会有好处的。
一年多来,电子工业出版社为此做了很多工作。他们成立了一个“国外电子与通信教材系列”项目组,选派了富有经验的业务骨干负责有关工作,收集了230余种通信教材和参考书的详细资料,调来了l00余种原版教材样书,依靠由20余位专家组成的出版委员会,从中精选了40多种,内容丰富,覆盖了电路理论与应用、信号与系统、数字信号处理、微电子、通信系统、电磁场与微波等方面,既可作为通信专业本科生和研究生的教学用书,也可作为有关专业人员的参考材料。此外,达批教材,有的翻译为中文,还有部分教材直接影印出版,以供教师用英语直接授课。希望这些教材的引进和出版对高校通信教学和教材改革能起一定作用。
在这里,我还要感谢参加工作的各位教授、专家、老师与参加翻译、编辑和出版的同志们。各位专家认真负责、严谨细致、不辞辛劳、不怕琐碎和精益求精的态度,充分体现了中国教育工作者和出版工作者的良好美德。
随着我国经济建设的发展和科学技术的不断进步,对高校教学工作会不断提出新的要求和希望。我想,无论如何,要做好引进国外教材的工作,一定要联系我国的实际。教材和学术专著不同,既要注意科学性、学术性,也要重视可读性,要深入浅出,便于读者自学;引进的教材要适应高校教学改革的需要,针对目前一些教材内容较为陈旧的问题,有目的地引进一些先进的和正在发展中的交叉学科的参考书;要与国内出版的教材相配套,安排好出版英文原版教材和翻译教材的比例。我们努力使这套教材能尽量满足上述要求,希望它们能放在学生们的课桌上,发挥一定的作用。
最后,预祝“国外电子与通信教材系列”项目取得成功,为我国电子与通信教学和通信产业的发展培土施肥。也恳切希望读者能对这些书籍的不足之处、特别是翻译中存在的问题,提出意见和建议,以便再版时更正。
吴佑寻
中国工程院院士、清华大学教授
“国外电子与通信教材系列”出版委员会主任