当前位置:网站首页>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
边栏推荐
猜你喜欢

How to recover data loss of USB flash disk memory card

Heavyweight released "FISCO bcos application landing guide"

2022 Season 6 perfect children's model Haikou competition area trial successfully concluded

Self attention mechanism

Enrollment brochure for system integration project management engineer certification in July 2022

Oracle subquery

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

各種級數(調和、幾何)總結

Compare homekit, MI family, and zhiting family cloud edition for what scene based experiences

2022年7月(软考高级)信息系统项目管理师认证招生简章
随机推荐
MySQL virtual column
MYSQL行转列例子
New paid Tarot calculation source code (with building tutorial)
Wallpaper applet source code double ended wechat Tiktok applet
(III) encoder self attention mask
图解SOC中的Timer(一):系统里有哪些Timer?
Some behaviors of Apple developers that are prone to investigation
P6772 [noi2020] gourmet (matrix fast power)
Write time replication of hugetlbfs
npm常用命令
2022第六季完美童模 清远赛区 海选赛圆满落幕
Measure the level of various chess playing activities through ELO mechanism
Matlab usage
闭关修炼(二十四)浅入了解跨域问题
递归方法 rbac菜单层级显示 无限极分类
Carbon emission reduction of second-hand trading platform, with assessment standards
MySQL row column conversion example
JS获取图片或base64的宽高等基本信息
uniapp微信小程序报错 TypeError: Cannot read property ‘call‘ of undefined
Dialogue | prospects and challenges of privacy computing in the digital age