SystemVerilog for Design(Chapter2)--SystemVerilog LIteral Value and Build-in Data Types

本文详细介绍了SystemVerilog在字面量赋值、宏定义扩展和变量类型的增强特性。包括使用'0, '1, 'z, 'X简化赋值,宏参数在字符串中的替换,以及通过'`define构造标识符名称。同时阐述了SystemVerilog变量的两种类型——对象类型和数据类型,以及与Verilog数据类型的对比。" 132612411,10282337,华为OD机试真题:Linux发行版最大连通分量,"['华为OD机试真题', 'javascript', '图论']
摘要由CSDN通过智能技术生成

SystemVerilog for Design(Chapter2)–SystemVerilog LIteral Value and Build-in Data Types

Topic:

  • Enhanced literal values
  • `define text substitution enhancements
  • Time values
  • New variable types
  • Variable initialization
  • Static and automation variables
  • Casting
  • Constants

1. Enhanced literal value assignments

1.1 SystemVerilog Enhances assignments of a literal value in two ways.

First, a simpler syntax is added, that allows specifying the fill value without having to specify a radix of binary, octal or hexadecimal.
Second, the fill value can be 1.

  • '0 fills all bits on the left-hand side with
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
这本书,超赞。强烈推荐!!!!!有很多很好的用例! Foreword ................................................................................................................. xxi Preface ................................................................................................................... xxiii Target audience...................................................................................................................... xxiii Topics covered........................................................................................................................xxiv About the examples in this book..............................................................................................xxv Obtaining copies of the examples...........................................................................................xxvi Example testing.......................................................................................................................xxvi Other sources of information .................................................................................................xxvii Acknowledgements..................................................................................................................xxx Chapter 1: Introduction to SystemVerilog...............................................................1 1.1 SystemVerilog origins.......................................................................................................1 1.1.1 Generations of the SystemVerilog standard.......................................................2 1.1.2 Donations to SystemVerilog ..............................................................................4 1.2 Key SystemVerilog enhancements for hardware design...................................................5 1.3 Summary ...........................................................................................................................6 Chapter 2: SystemVerilog Declaration Spaces ....................................
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值