当前位置:网站首页>Verilog equivalent operator
Verilog equivalent operator
2022-06-29 09:01:00 【Da Xi】
Equivalent operator
Equivalence operators include logical equality (==), Logical inequality (!=), Congruence (===), Non congruent (!==).
The normal results of an equivalent operator are 2 Kind of : It's true (1) Or false (0).
Logical equality / The inequality operator cannot compare x or z, When the operand contains a x or z, Then the result is an uncertain value .
Congruent comparison , If the bitwise comparison has the same x or z, The return result can also be 1, That is, congruent comparison can be compared x or z. therefore , The result of congruent comparison must not include x. Examples are as follows :
example
A = 4 ;
B = 8'h04 ;
C = 4'bxxxx ;
D = 4'hx ;
A == B // It's true
A == (B + 1) // For false
A == C // by X, Not sure
A === C // For false , The return value is 0
C === D // It's true , The return value is 1
边栏推荐
- Standard | China payment and clearing Association releases the first privacy computing financial specification
- npm常用命令
- Leetcode (142) - circular linked list II
- ThreadLocal thread variable
- Scenario analysis of deadlock during MySQL insert
- 在 golang 中是如何对 epoll 进行封装的?
- 宏,函数和内联函数
- TypeScript 变量声明 —— 类型断言
- Intelligent hardware EVT DVT PVT mp
- 积分商城运营要如何做才能获取到利润
猜你喜欢

2022春夏系列 KOREANO ESSENTIAL重塑时装生命力

2022第六季完美童模 清远赛区 海选赛圆满落幕

First electric shock, so you are such a dragon lizard community | dragon lizard developer said that issue 8

Batch processing of experimental contact angle data matlab analysis

Activemq消息组件发布订阅ReDelivery消息重新投递

Leetcode (142) - circular linked list II
开发小技巧-图片资源管理

对话| 数字时代,隐私计算的发展前景与挑战

The sixth season of 2022 perfect children's model Qingyuan competition area audition came to a successful conclusion
工作好多年,回忆人生--高中三年
随机推荐
搭建开源物联网平台教程
Typescript variable declaration - type assertion
[most complete] download and installation of various versions of PS and tutorial of small test ox knife (Photoshop CS3 ~ ~ Photoshop 2022)
Compare homekit, MI family, and zhiting family cloud edition for what scene based experiences
MT-yolov6训练及测试
ThreadLocal thread variable
P6776-[NOI2020]超现实树
今天让你知道PMP考试通过率达97%,可信不可信
Intelligent hardware EVT DVT PVT mp
标准|中国支付清算协会发布首个隐私计算金融规范
Official reply on issues related to the change of children's names after parents' divorce
Core development board & debugger
手写VirtualDOM
io流的总结
2022第六季完美童模 清远赛区 海选赛圆满落幕
ES6数据类型Map&Set
积分商城运营要如何做才能获取到利润
Wallpaper applet source code double ended wechat Tiktok applet
Leetcode (142) - circular linked list II
闭关修炼(二十五)基础web安全