IEEE 1364-2004 en Behavioural languages - Part 4 Verilog hardware description language (IEEE Computer Society Document)《行为语言 第4部分 Verilog邮件描述语言(IEEE计算机协会文件)》.pdf
《IEEE 1364-2004 en Behavioural languages - Part 4 Verilog hardware description language (IEEE Computer Society Document)《行为语言 第4部分 Verilog邮件描述语言(IEEE计算机协会文件)》.pdf》由会员分享,可在线阅读,更多相关《IEEE 1364-2004 en Behavioural languages - Part 4 Verilog hardware description language (IEEE Computer Society Document)《行为语言 第4部分 Verilog邮件描述语言(IEEE计算机协会文件)》.pdf(862页珍藏版)》请在麦多课文档分享上搜索。
1、 INTERNATIONAL STANDARD IEC 61691-4First edition 2004-10IEEE 1364 Behavioural languages Part 4: Verilog hardware description language Reference number IEC 61691-4(E):2004 IEEE Std. 1364(E):2001 Publication numbering As from 1 January 1997 all IEC publications are issued with a designation in the 600
2、00 series. For example, IEC 34-1 is now referred to as IEC 60034-1. Consolidated editions The IEC is now publishing consolidated versions of its publications. For example, edition numbers 1.0, 1.1 and 1.2 refer, respectively, to the base publication, the base publication incorporating amendment 1 an
3、d the base publication incorporating amendments 1 and 2. Further information on IEC publications The technical content of IEC publications is kept under constant review by the IEC, thus ensuring that the content reflects current technology. Information relating to this publication, including its val
4、idity, is available in the IEC Catalogue of publications (see below) in addition to new editions, amendments and corrigenda. Information on the subjects under consideration and work in progress undertaken by the technical committee which has prepared this publication, as well as the list of publicat
5、ions issued, is also available from the following: IEC Web Site (www.iec.ch) Catalogue of IEC publications The on-line catalogue on the IEC web site (www.iec.ch/searchpub) enables you to search by a variety of criteria including text searches, technical committees and date of publication. On-line in
6、formation is also available on recently issued publications, withdrawn and replaced publications, as well as corrigenda. IEC Just Published This summary of recently issued publications (www.iec.ch/online_news/ justpub) is also available by email. Please contact the Customer Service Centre (see below
7、) for further information. Customer Service Centre If you have any questions regarding this publication or need further assistance, please contact the Customer Service Centre: Email: custserviec.ch Tel: +41 22 919 02 11 Fax: +41 22 919 03 00 Behavioural languages Part 4: Verilog hardware description
8、 language INTERNATIONAL STANDARD IEC 61691-4First edition 2004-10IEEE 1364 Commission Electrotechnique Internationale International Electrotechnical Commission Copyright IEEE 2004 All rights reserved IEEE is a registered trademark in the U.S. Patent & Trademark Office, owned by the Institute of Elec
9、trical and Electronics Engineers, Inc. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the publisher. International Electrotechnical Commission, 3, rue de Varemb,
10、 PO Box 131, CH-1211 Geneva 20, Switzerland Telephone: +41 22 919 02 11 Telefax: +41 22 919 03 00 E-mail: inmailiec.ch Web: www.iec.ch The Institute of Electrical and Electronics Engineers, Inc, 3 Park Avenue, New York, NY 10016-5997, USA Telephone: +1 732 562 3800 Telefax: +1 732 562 1571 E-mail: s
11、tds-infoieee.org Web: www.standards.ieee.org Copyright 2001 IEEE. All rights reserved.vii1.Overview. 25 1.1Objectives of this standard 25 1.2Conventions used in this standard. 25 1.3Syntactic description. 26 1.4Contents of this standard. 26 1.5Header file listings 28 1.6Examples. 29 1.7Prerequisites
12、 29 2.Lexical conventions30 2.1Lexical tokens.30 2.2White space.30 2.3Comments.30 2.4Operators.30 2.5Numbers30 2.5.1Integer constants.31 2.5.2Real constants 34 2.5.3Conversion. 34 2.6Strings34 2.6.1String variable declaration.35 2.6.2String manipulation35 2.6.3Special characters in strings.35 2.7Ide
13、ntifiers, keywords, and system names36 2.7.1Escaped identifiers.36 2.7.2Generated identifiers37 2.7.3Keywords.37 2.7.4System tasks and functions37 2.7.5Compiler directives38 2.8Attributes38 2.8.1Examples39 2.8.2Syntax40 3.Data types.44 3.1Value set.44 3.2Nets and variables 44 3.2.1Net declarations.4
14、4 3.2.2Variable declarations.46 3.3Vectors.47 3.3.1Specifying vectors47 3.3.2Vector net accessibility48 3.4Strengths48 3.4.1Charge strength48 3.4.2Drive strength.48 3.5Implicit declarations.49 3.6Net initialization.49 3.7Net types49 3.7.1Wire and tri nets.49 3.7.2Wired nets50 2Published by IEC under
15、 licence from IEEE. 2004 IEEE. All rights reserved. IEC 61691-4:2004(E) IEEE 1364-2001(E) CONTENTS IEEE Introduction 23 FOREWORD 19 viiiCopyright 2001 IEEE. All rights reserved.3.7.3Trireg net50 3.7.4Tri0 and tri1 nets54 3.7.5Supply nets.55 3.8regs.55 3.9Integers, reals, times, and realtimes.55 3.9.
16、1Operators and real numbers.56 3.9.2Conversion.56 3.10 Arrays57 3.10.1Net arrays.57 3.10.2reg and variable arrays.57 3.10.3Memories.57 3.11 Parameters.58 3.11.1Module parameters.59 3.11.2Local parameterslocalparam 60 3.11.3Specify parameters. 61 3.12 Name spaces62 4.Expressions 64 4.1Operators64 4.1
17、.1Operators with real operands.65 4.1.2Binary operator precedence. 66 4.1.3Using integer numbers in expressions.67 4.1.4Expression evaluation order.67 4.1.5Arithmetic operators68 4.1.6Arithmetic expressions with regs and integers69 4.1.7Relational operators.70 4.1.8Equality operators70 4.1.9Logical
18、operators.71 4.1.10 Bit-wise operators.71 4.1.11 Reduction operators72 4.1.12 Shift operators.73 4.1.13 Conditional operator.74 4.1.14 Concatenations75 4.1.15 Event or.76 4.2Operands76 4.2.1Vector bit-select and part-select addressing76 4.2.2Array and memory addressing.78 4.2.3Strings79 4.3Minimum,
19、typical, and maximum delay expressions81 4.4Expression bit lengths83 4.4.1Rules for expression bit lengths.83 4.4.2An example of an expression bit-length problem84 4.4.3Example of self-determined expressions.85 4.5Signed expressions.86 4.5.1Rules for expression types.86 4.5.2Steps for evaluating an
20、expression.86 4.5.3Steps for evaluating an assignment87 4.5.4Handling X and Z in signed expressions.87 5.Scheduling semantics.88 5.1Execution of a model.88 5.2Event simulation 88 3Published by IEC under licence from IEEE. 2004 IEEE. All rights reserved. IEC 61691-4:2004(E) IEEE 1364-2001(E) Copyrigh
21、t 2001 IEEE. All rights reserved.ix 5.3The stratified event queue88 5.4The Verilog simulation reference model.89 5.4.1Determinism.90 5.4.2Nondeterminism.90 5.5Race conditions90 5.6Scheduling implication of assignments.90 5.6.1Continuous assignment91 5.6.2Procedural continuous assignment.91 5.6.3Bloc
22、king assignment91 5.6.4Nonblocking assignment91 5.6.5Switch (transistor) processing91 5.6.6Port connections.92 5.6.7Functions and tasks92 6.Assignments.93 6.1Continuous assignments.93 6.1.1The net declaration assignment94 6.1.2The continuous assignment statement.94 6.1.3Delays96 6.1.4Strength96 6.2P
23、rocedural assignments97 6.2.1Variable declaration assignment97 6.2.2Variable declaration syntax98 7.Gate and switch level modeling.99 7.1Gate and switch declaration syntax99 7.1.1The gate type specification. 101 7.1.2The drive strength specification 101 7.1.3The delay specification. 102 7.1.4The pri
24、mitive instance identifier102 7.1.5The range specification. 102 7.1.6Primitive instance connection list. 103 7.2and, nand, nor, or, xor, and xnor gates105 7.3buf and not gates106 7.4bufif1, bufif0, notif1, and notif0 gates.107 7.5MOS switches. 109 7.6Bidirectional pass switches110 7.7CMOS switches.1
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- IEEE13642004ENBEHAVIOURALLANGUAGESPART4VERILOGHARDWAREDESCRIPTIONLANGUAGEIEEECOMPUTERSOCIETYDOCUMENT

链接地址:http://www.mydoc123.com/p-1248160.html