当前位置:网站首页>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 中用 <= 号
边栏推荐
- UiO-66-COOH装载苯达莫司汀|羟基磷灰石( HA) 包裹MIL-53(Fe)纳米粒子|装载黄芩苷锰基金属有机骨架材料
- selenium 浏览器(1)
- Collection of mobile adaptation related articles
- Metal organic framework (MOFs) antitumor drug carrier | pcn-223 loaded with metronidazole | uio-66 loaded with ciprofloxacin hydrochloride( Programmable logic device software testing
- jvm-对象生命周期
- 玖逸云黑免费无加密版本源码
- Implementation of Muduo asynchronous logging
- Exercise 9-3 plane vector addition
- JVM runtime data area
猜你喜欢
Configure stylelint
28:第三章:开发通行证服务:11:在配置文件中定义属性,然后在代码中去获取;
Solution to failure or slow downloading of electron when electron uses electron builder to package
[email protected]纳米颗粒)|纳米金属有机框架搭载雷帕霉素|科研试剂"/>
金属有机骨架材料ZIF-8包载姜黄素([email protected]纳米颗粒)|纳米金属有机框架搭载雷帕霉素|科研试剂
Why are grass-roots colleges and universities with "soil and poverty" called "Northeast small Tsinghua"?
Summary of common error reporting problems and positioning methods of thrift
Failure of vector insertion element iterator in STL
JS Part 2
Qt学习18 登录对话框实例分析
核酸修饰的金属有机框架药物载体|PCN-223金属有机骨架包载Ad金刚烷|ZIF-8包裹阿霉素(DOX)
随机推荐
Exercise 10-1 judge the three digits that meet the conditions
The small project (servlet+jsp+mysql+el+jstl) completes a servlet with login function, with the operation of adding, deleting, modifying and querying. Realize login authentication, prevent illegal log
Exercise 6-1 classify and count the number of characters
Uio-66-cooh loaded bendamostine | hydroxyapatite (HA) coated MIL-53 (FE) nanoparticles | baicalin loaded manganese based metal organic skeleton material
Article content typesetting and code highlighting
js . Find the first palindrome string in the array
Redis:字符串類型數據的操作命令
怎样删除对象的某个属性或⽅法
Redis: redis data structure and key operation commands
Failure of vector insertion element iterator in STL
GoLand 2021.2 configure go (go1.17.6)
FPGA测试方法以Mentor工具为例
Implementation of Muduo asynchronous logging
Cross linked cyclodextrin metal organic framework loaded methotrexate slow-release particles | metal organic porous material uio-66 loaded with flavonoid glycosides | Qiyue
Exercise 9-1 time conversion
Collection of mobile adaptation related articles
Thrift threadmanager and three monitors
jvm-对象生命周期
Onmenusharetimeline custom shared content is invalid, and the title and icon are not displayed
FPGA test method takes mentor tool as an example