当前位置:网站首页>The FPGA - work summary recently
The FPGA - work summary recently
2022-08-09 13:44:00 【51CTO】
工作概述:
1)看《电子技术基础》和《fpga数字逻辑设计》Learn the combinatorial logic portion of digital circuits,Simplification and dimensionality reduction of Karnaugh maps.
2)Review the adder,全加器,译码器,编码器,数据选择器,数值比较器,Consolidate how these combinatorial logics work and are usefulverilog在ISE的实现.
3)看《verilog基本语法》学习和巩固verilog的基本语法.
1.摘抄:
The output of a combinational circuit at a certain moment is only related to the input at that moment,It has nothing to do with the state of the circuit at the previous moment.
Characteristics of combinational circuits
1) 电路由逻辑门构成,不含记忆元件
2) There is no feedback delay loop between output and input
3) The output is independent of the original state of the circuit
When the two inputs of a logic gate change in opposite directions at the same time,The time of change varies.This phenomenon is called competition.The phenomenon of output disturbance pulses due to competition is called risk.
-《电子技术基础》and digitalppt
1.理解:
数字电路根据逻辑功能的不同特点,可以分成两大类,一类叫组合逻辑电路(简称组合电路),另一类叫做时序逻辑电路(简称时序电路).
组合逻辑电路在逻辑功能上的特点是任意时刻的输出仅仅取决于该时刻的输入,与电路原来的状态无关.
时序逻辑电路在逻辑功能上的特点是任意时刻的输出不仅取决于当时的输入信号,而且还取决于电路原来的状态,或者说,还与以前的输入有关.
The basic idea of logic circuit design:
1)Analyse the actual function of the actual problem
2)Write the truth table according to actual needs
3)Write logical expressions from truth tables
4)Avoid competing risks by simplifying expressions according to Karnaugh maps
2.摘抄:
How to understand the adventure and competition mentioned here?
First, let's talk about the reasons for taking risks and competition:when we are in digital logic circuits,We think that the input and output of the circuit are all smooth logic levels,But the signal is actually being delivered,It takes a certain amount of time to pass through the logic circuit.Or because of the difference in the delay of the gate,There will be states that differ from the steady state situation,produces an output error,It's called competitive adventure in the circuit.
--《电子技术基础》
2.理解:
Risking doesn't necessarily have an effect on the actual output logic,However, in order to avoid the risk of competition, the input and output in the actual circuit are affected,This should be avoided as much as possible.in logical design,在PCWhen the terminal is simulated, its role cannot be reflected,But in actual work operation,This cannot be ignored.
So to sum up the ways to eliminate competitive risk:
1)Find and eliminate complementary multiplication terms.
2)增加乘积项避免互补项相加.
3)A capacitor is connected in parallel at the output.
3.摘抄:
It is because of the logical functional characteristics of combinational logic and sequential logic that combinational logic circuits use blocking assignment,时序逻辑电路使用非阻塞赋值.
What is blocking assignment and non-blocking assignment
阻塞赋值操作符用等号(即 = )表示.“阻塞”是指在进程语句(initial和always)中,当前的赋值语句阻断了其后的语句,也就是说后面的语句必须等到当前的赋值语句执行完毕才能执行.
非阻塞赋值操作符用小于等于号 (即 <= )表示.“非阻塞”是指在进程语句(initial和always)中,当前的赋值语句不会阻断其后的语句,It can be simply understood that several non-blocking assignment statements can be executed at the same time.
A non-blocking assignment operation procedure:
1)在赋值开始时刻,Evaluates the expression on the right-hand side of a nonblocking assignment.
2)在赋值结束时刻,Updates the left-hand expression of a nonblocking assignment.
-《verilog基本语法》
3.理解:
EG:如果a=3 b=8;a=b,c=a;
- If the blocking assignment is executed when the first item is executedaThe value of immediately becomes a=8;when the second rule is implementedc=8;
- If it is a non-blocking assignment method, it is based on the operation process of non-blocking assignment:The calculation starts to calculate the values on the right, respectively8 3,The second step refreshes the value of the expression on the lefta=8 c=3;
4.摘抄:
Memory型变量
尽管memory型数据和reg型数据的定义格式很相似,But be aware of the differences.MemoryDepicted is depth,regDepicted is the width.
Reg [ n-1:0 ] rega; //一个n位寄存器
Reg mema [ n-1 ] //一个由nA memory bank consisting of one-bit registers
一个nRegisters of bits can be assigned values in an assignment statement.And a full memory won't do
Rega = 0;//Legal assignment statement
Mema=0;//Illegal assignment statement
Mema[3]=0;//合法,给memoryThe third cell in is assigned the value of 0
边栏推荐
- Dry+Bean+Dataset R语言数据分析,报告英文
- 电脑重装系统后桌面图标如何调小尺寸
- How to save Simulink simulation model as image or PDF
- 陈强教授《机器学习及R应用》课程 第十三章作业
- Ten minutes to teach you how to use VitePress to build and deploy a personal blog site
- 5G China unicom 直放站 网管协议 实时性要求
- 无重复字符的最长子串
- Rust 入门指南(使用JSON)
- 第六届“强网杯”全国网络安全挑战赛
- 如何修改data work上jdbc驱动的版本
猜你喜欢
电脑重装系统后桌面图标如何调小尺寸
安踏携手华为运动健康共同验证冠军跑鞋 创新引领中国体育
Fragment中嵌套ViewPager数据空白页异常问题分析
透明tune proxy
基于 R 语言的判别分析介绍与实践 LDA和QDA
Flutter入门进阶之旅(四)文本输入Widget TextField
Flutter入门进阶之旅(三)Text Widgets
Report: The number of students who want to learn AI has increased by 200%, and there are not enough teachers
Go 事,如何成为一个Gopher ,并在7天找到 Go 语言相关工作,第1篇
Flutter入门进阶之旅(五)Image Widget
随机推荐
Redis源码剖析之字典(dict)
jenkins api create custom pipeline
Unicom network management protocol block diagram
激光熔覆在农机修复强化中的应用及研究方向
Flutter入门进阶之旅(六)Layout Widget
ftplib+ tqdm upload and download progress bar
Data Mining-06
How to save Simulink simulation model as image or PDF
GIN中GET POST PUT DELETE请求
基于 R 语言的深度学习——简单回归案例
glibc 内存管理模型 释放 C库内存缓存
AI basketball referee, walking is special, ask harden care don't care
【FPGA教程案例48】图像案例8——基于FPGA的RGB图像转化为HSV图像的实现,通过MATLAB进行辅助验证
ctfshow七夕杯2022
用场景定义硬件,英码科技破解“边缘计算”密码
2022年非一线IT行业就业前景?
How to reduce the size of desktop icons after the computer is reinstalled
注释、关键字、标识符的区别你知道吗?
SQL Server查询优化 (转载非原创)
[HCIP Continuous Update] Principle and Configuration of IS-IS Protocol