当前位置:网站首页>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 中用 <= 号
边栏推荐
- 7-11 calculation of residential water charges by sections
- Webpage connection database ~ simple implementation of addition, deletion, modification and query complete code
- 1px problem of mobile terminal
- Metal organic framework material zif-8 containing curcumin( [email protected] Nanoparticles) | nano metal organic framework carry
- 玖逸云黑免费无加密版本源码
- Exercise 8-7 string sorting
- Redis: operation command of string type data
- Go 1.16.4: manage third-party libraries with Mod
- [combinatorics] permutation and combination (two counting principles, examples of set permutation | examples of set permutation and circle permutation)
- Qt学习17 对话框及其类型
猜你喜欢

金属有机骨架MOFs装载非甾体类抗炎药物|ZIF-8包裹普鲁士蓝负载槲皮素(制备方法)

全局事件总线

Exercise 9-3 plane vector addition

Scroll detection, so that the content in the lower right corner is not displayed at the top of the page, but is displayed as the mouse slides

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

Conversion function and explicit

TS code automatically generates JS

jvm-对象生命周期

Use and design of Muduo buffer class

Example analysis of QT learning 18 login dialog box
随机推荐
关于回溯问题中的排列问题的思考(LeetCode46题与47题)
可编程逻辑器件软件测试
JVM class loading
Dynamic programming 01 knapsack and complete knapsack
Formation of mil-100 (FE) coated small molecule aspirin [email protected] (FE) | glycyrrhetinic acid modified metal organ
Exercise 8-2 calculate the sum and difference of two numbers
TS code automatically generates JS
28: Chapter 3: develop Passport Service: 11: define attributes in the configuration file, and then obtain them in the code;
Global event bus
Exercise 8-7 string sorting
Installation impression notes
Go 1.16.4: manage third-party libraries with Mod
Interface for querying IP home
JS input number and standard digit number are compared. The problem of adding 0 to 0
UiO-66-COOH装载苯达莫司汀|羟基磷灰石( HA) 包裹MIL-53(Fe)纳米粒子|装载黄芩苷锰基金属有机骨架材料
Dlopen() implements dynamic loading of third-party libraries
Uniapp tips - set background music
Metal organic framework (MOFs) antitumor drug carrier | pcn-223 loaded with metronidazole | uio-66 loaded with ciprofloxacin hydrochloride(
Scroll detection, so that the content in the lower right corner is not displayed at the top of the page, but is displayed as the mouse slides
[combinatorics] permutation and combination (two counting principles, examples of set permutation | examples of set permutation and circle permutation)