当前位置:网站首页>How to become a senior digital IC Design Engineer (1-4) Verilog coding syntax: expression
How to become a senior digital IC Design Engineer (1-4) Verilog coding syntax: expression
2022-07-03 11:18:00 【New core design】
One 、 Define expressions
Take the function definition of advanced mathematics as an example ,Verilog HDL The expression is defined as follows :
result = operator(operand)here ,operand It's input. ( The independent variables )x,result It is output. ( The dependent variable )y,operator It's the circuit ( The mapping relationship )f, By entering operators and data , You can determine the unique output data . As shown below :
assign result = dina + dinb; // arithmetic operator
assign reslut = dina > dinb; // Comparison operator
assign reslut = dina && dinb; // Logical operators
assign reslut = dina & dinb; // Bit operators
assign reslut = dina >> dinb; // Shift operator
assign reslut = sel ? dinb : dina; // Conditional operators
assign reslut = {dina, dinb}; // Join operators It is worth noting that , Operators have priority characteristics , Brackets are recommended in place of their priority !
边栏推荐
- 大厂技术专家:工程师如何提升沟通能力?
- Clion debug
- One hot code
- Struct function & function pointer
- Exclusive analysis | truth about resume and interview
- Project management essence reading notes (VII)
- 如何成为一名高级数字 IC 设计工程师(1-4)Verilog 编码语法篇:表达式
- Illustrated network: what is virtual router redundancy protocol VRRP?
- How can UI automated testing get out of trouble? How to embody the value?
- Execute kubectl on Tencent cloud container service node
猜你喜欢
![[true question of the Blue Bridge Cup trials 44] scratch eliminate the skeleton Legion children programming explanation of the true question of the Blue Bridge Cup trials](/img/e0/c2b1fbe99939d44201401abf1b5a72.png)
[true question of the Blue Bridge Cup trials 44] scratch eliminate the skeleton Legion children programming explanation of the true question of the Blue Bridge Cup trials

有赞CTO崔玉松:有赞Jarvis核心目标是使产品变得更加聪明和可靠

Google Earth engine (GEE) - ghsl global population grid dataset 250 meter resolution

面試題總結(2) IO模型,集合,NIO 原理,緩存穿透,擊穿雪崩

Unity移动端游戏性能优化简谱之 画面表现与GPU压力的权衡

Activity and fragment lifecycle

Overview of testing theory

Software testing redis database

解决undefined reference to `__aeabi_uidivmod‘和undefined reference to `__aeabi_uidiv‘错误

UI自动化测试如何走出困境?价值又如何体现?
随机推荐
Solution: jupyter notebook does not pop up the default browser
Matlab extracts numerical data from irregular txt files (simple and practical)
公司测试部门来了个00后卷王之王,老油条感叹真干不过,但是...
Overview of testing theory
Balance between picture performance of unity mobile game performance optimization spectrum and GPU pressure
Hal - General
The highest monthly salary of 18K has a good "mentality and choice", and success is poor "seriousness and persistence"~
After 8 years of industry thinking, the test director has a deeper understanding of test thinking
(2) Base
线性表顺序表综合应用题P18
LeetCode 46:全排列
[true question of the Blue Bridge Cup trials 44] scratch eliminate the skeleton Legion children programming explanation of the true question of the Blue Bridge Cup trials
The testing department of the company came to the king of the Post-00 roll, and the veteran exclaimed that it was really dry, but
VPP三层网络互联配置
Definition and properties of summation symbols
如何清理v$rman_backup_job_details视图 报错ORA-02030
项目管理精华读书笔记(七)
A simple method of adding dividing lines in recyclerview
BI技巧丨权限轴
图解网络:什么是虚拟路由器冗余协议 VRRP?