当前位置:网站首页>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 !
边栏推荐
- Cause: org. apache. ibatis. builder. Builderexception: error parsing SQL mapper configuration problem analysis
- 帝国cms 无缩略图 灵动标签(e:loop)判断有无标题图片(titlepic)的两种写法
- ExecutorException: Statement returned more than one row, where no more than one was expected.
- After a month, I finally got Kingdee offer! Share tetrahedral Sutra + review materials
- MATLAB提取不規則txt文件中的數值數據(簡單且實用)
- 高精度室内定位技术,在智慧工厂安全管理的应用
- 【obs】obs的ini格式的ConfigFile
- 8年测试工程师总结出来的《测试核心价值》与《0基础转行软件测试超全学习指南》
- Solve undefined reference to`__ aeabi_ Uidivmod 'and undefined reference to`__ aeabi_ Uidiv 'error
- One hot code
猜你喜欢

Activity and fragment lifecycle

Comment réaliser des tests automatisés pour les tests logiciels embarqués?

The highest monthly salary of 18K has a good "mentality and choice", and success is poor "seriousness and persistence"~

What is the salary level of 17k? Let's take a look at the whole interview process of post-95 Test Engineers

可以写进简历的软件测试电商项目,不进来get一下?

Probability theory: application of convolution in calculating moving average

Résumé des questions d'entrevue (2) Modèle io, ensemble, principe NiO, pénétration du cache, avalanche de rupture

After 8 years of industry thinking, the test director has a deeper understanding of test thinking

Tencent micro app to get wechat user information

EPS电动转向系统分析
随机推荐
MATLAB extrait les données numériques d'un fichier txt irrégulier (simple et pratique)
Illustrated network: what is virtual router redundancy protocol VRRP?
IIS does not take effect after modifying the configuration information
C语言二维数组
Empire CMS no thumbnail smart tag (e:loop) two ways to judge whether there is a titlepic
Hal -- writing hardware drivers
12. Nacos server service registration of source code analysis of Nacos service registration
图解网络:什么是虚拟路由器冗余协议 VRRP?
Tencent micro app to get wechat user information
今晚要修稿子準備發佈。但是,仍卡在這裡,也許你需要的是一個段子。
Project management essence reading notes (6)
Do you really need automated testing?
[VTK] vtkPolydataToImageStencil 源码解读
Lecture 1 number field
Intel 13th generation core flagship exposure, single core 5.5ghz
Solve the problem that pycharm Chinese input method does not follow
Clion debug
glassfish org. h2.server. Shutdownhandler classnotfoundexception exception exception handling
Communication software development and Application
The five-year itch of software testing engineers tells the experience of breaking through bottlenecks for two years