当前位置:网站首页>verilog 等价操作符
verilog 等价操作符
2022-06-29 08:21:00 【嗒曦】
等价操作符
等价操作符包括逻辑相等(==),逻辑不等(!=),全等(===),非全等(!==)。
等价操作符的正常结果有 2 种:为真(1)或假(0)。
逻辑相等/不等操作符不能比较 x 或 z,当操作数包含一个 x 或 z,则结果为不确定值。
全等比较时,如果按位比较有相同的 x 或 z,返回结果也可以为 1,即全等比较可比较 x 或 z。所以,全等比较的结果一定不包含 x。举例如下:
实例
A = 4 ;
B = 8'h04 ;
C = 4'bxxxx ;
D = 4'hx ;
A == B //为真
A == (B + 1) //为假
A == C //为X,不确定
A === C //为假,返回值为0
C === D //为真,返回值为1
边栏推荐
- 2022 Season 6 perfect children's model Haikou competition area trial successfully concluded
- Carbon emission reduction of second-hand trading platform, with assessment standards
- The sixth season of 2022 perfect children's model Qingyuan competition area audition came to a successful conclusion
- Simple use of vlookup function in Excel -- exact matching or approximate matching data
- New spark in intelligent era: wireless irrigation with Lora wireless transmission technology
- 十大券商账号开户安全吗?是靠谱的吗?
- 2022年7月(软考高级)信息系统项目管理师认证招生简章
- 2022第六季完美童模 海口赛区 选拔赛圆满落幕
- The final of the sixth season of 2022 perfect children's model Hefei division came to a successful conclusion
- Standard | China payment and clearing Association releases the first privacy computing financial specification
猜你喜欢
Development tips - Image Resource Management

2022年7月(软考高级)信息系统项目管理师认证招生简章
![[microservices openfeign] timeout of openfeign](/img/b1/9bc92250b4d544c704d2af5c08d059.png)
[microservices openfeign] timeout of openfeign

La finale de la zone de compétition Hefei de la sixième saison 2022 a été couronnée de succès.

CDGA|交通行业做好数字化转型的核心是什么?

【微服务|OpenFeign】openfeign的超时时间
![Target tracking [single target tracking (vot/sot), target detection, pedestrian re identification (re ID)]](/img/f2/d42032f05214a4ad9339ea18966cc2.jpg)
Target tracking [single target tracking (vot/sot), target detection, pedestrian re identification (re ID)]
![Speech synthesis: overview [generation task of unequal length sequence relation modeling]](/img/13/bd9def50f0efde49b622d139f63a83.png)
Speech synthesis: overview [generation task of unequal length sequence relation modeling]

Batch processing of experimental contact angle data matlab analysis

闭关修炼(二十一)Servlet生命周期、service方法源码分析、线程安全问题
随机推荐
Huawei equipment is configured with medium-sized network WLAN basic services
How to recite words in tables
cokkie和session的区别
航芯开发板&调试器
TypeScript 变量声明 —— 类型断言
Baodawei of the people's Chain: break down barriers and establish a global data governance sharing and application platform
Uber前安全主管面临欺诈指控 曾隐瞒数据泄露事件
抽象类、接口
[untitled]
华为设备配置中型网络WLAN基本业务
Compare homekit, MI family, and zhiting family cloud edition for what scene based experiences
Notes on key words in the original English work biography of jobs (VII) [chapter five]
Paddlenlp general information extraction model: UIE [information extraction {entity relationship extraction, Chinese word segmentation, accurate entity markers, emotion analysis, etc.}, text error cor
2022第六季完美童模 合肥賽區 决賽圓滿落幕
Simple use of vlookup function in Excel -- exact matching or approximate matching data
Leetcode(142)——环形链表 II
51 MCU interrupt and timer counter, based on Puzhong technology hc6800-esv2.0
How to recover data loss of USB flash disk memory card
Debugging nocturnal simulator with ADB command
802.11--802.11n protocol phy