当前位置:网站首页>fpga阻塞赋值和非阻塞赋值
fpga阻塞赋值和非阻塞赋值
2022-07-03 13:38:00 【eachanm】
阻塞赋值: 用了= 号
非阻塞赋值: 用了<= 号
假设初始化为a = 1, b = 2
阻塞赋值:
// 初始化a = 1, b = 2
[email protected](posedge clk)
begin
b = a;
c = b;
end
//运行后c = b = 1非阻塞赋值:
// 初始化a = 1, b = 2
[email protected](posedge clk)
begin
b <= a;
c <= b;
end
//运行后b = 1, c = 2
建议:
在 assign 中用 = 号
在 always 中用 <= 号
边栏推荐
- Exercise 10-8 recursive implementation of sequential output of integers
- Generate directories from web content
- 交联环糊精金属有机骨架负载甲氨蝶呤缓释微粒|金属-有机多孔材料UiO-66负载黄酮苷类药物|齐岳
- QT learning 24 layout manager (III)
- Configure stylelint
- Redis:字符串類型數據的操作命令
- 1px problem of mobile terminal
- js . Find the first palindrome string in the array
- Similarities and differences of sessionstorage, localstorage and cookies
- 好看、好用、强大的手写笔记软件综合评测:Notability、GoodNotes、MarginNote、随手写、Notes Writers、CollaNote、CollaNote、Prodrafts、Noteshelf、FlowUs、OneNote、苹果备忘录
猜你喜欢

JS input number and standard digit number are compared. The problem of adding 0 to 0

全局事件总线

玖逸云黑免费无加密版本源码

Failure of vector insertion element iterator in STL

八大排序

Configure stylelint

Qt学习21 Qt 中的标准对话框(下)

UiO-66-COOH装载苯达莫司汀|羟基磷灰石( HA) 包裹MIL-53(Fe)纳米粒子|装载黄芩苷锰基金属有机骨架材料

Redis: redis data structure and key operation commands

Implementation of Muduo accept connection, disconnection and sending data
随机推荐
Spring cup eight school league
Uio-66-cooh loaded bendamostine | hydroxyapatite (HA) coated MIL-53 (FE) nanoparticles | baicalin loaded manganese based metal organic skeleton material
Exercise 6-2 using functions to sum special A-string sequences
Exercise 10-1 calculate the sum of 1 to n using recursive functions
Redis:字符串類型數據的操作命令
金属有机骨架MIL-88负载阿霉素DOX|叶酸修饰UiO-66-NH2负载阿霉素[email protected]纳米粒子
QT learning 17 dialog box and its types
Common mixins
QT learning 20 standard dialog box in QT (middle)
Qt学习19 Qt 中的标准对话框(上)
JVM垃圾回收机
[acnoi2022] guess numbers
Uniapp skills - dom display and hiding
JS Part III
Uniapp tips - set background music
Common network state detection and analysis tools
Implementation of Muduo accept connection, disconnection and sending data
JS input number and standard digit number are compared. The problem of adding 0 to 0
核酸修饰的金属有机框架药物载体|PCN-223金属有机骨架包载Ad金刚烷|ZIF-8包裹阿霉素(DOX)
QT learning 19 standard dialog box in QT (top)