我有时在具有嵌套if-else 循环的verilog 中使用长赋值语句。 例子 assign a = (b) ? '1 : ((c&d) ? '0 : ((f&h) ? '1 : '0)); 另一种方法是使用always_comb 逻辑块。
確定! 回上一頁