zoukankan      html  css  js  c++  java
  • Verilog碎碎念

    • We normally have to reset flip-flops, thus every time the clock makes the transition from 0 to 1 (posedge), we check if reset is asserted (synchronous reset), then we go on with normal logic. If we look closely we see that in the case of combinational logic we had "=" for assignment, and for the sequential block we had the "<=" operator. Well, "=" is blocking assignment and "<=" is nonblocking assignment. "=" executes code sequentially inside a begin / end, whereas nonblocking "<=" executes in parallel.
    • 异步清零可以不顾时钟信号,只要清零信号到来就进行清零操作。同步清零即使清零信号有效也要等时钟信号有效沿到来时才清零
    • set_property CLOCK_DEDICATED_ROUTE FALSE [get_nets {SW_IBUF[0]}]
    • 不能有两个always语句同时对某一reg或wire执行赋值,因为会导致数据冒险。
    • always语句只能对边沿触发敏感或者对电平触发敏感,无法同时对两者敏感。
  • 相关阅读:
    数组的复制
    ==与equals()区别
    构造器与方法
    数据类型及类型转换
    java标识符与命名规则
    多线程 总结
    局部变量与成员变量
    Java反射机制
    java的动态代理机制详解
    USB设备描述符
  • 原文地址:https://www.cnblogs.com/ichn/p/7864907.html
Copyright © 2011-2022 走看看