电竞比分网-中国电竞赛事及体育赛事平台

分享

#-QuartusII 異常處理集

 楓中眸zc 2023-03-27 發(fā)布于江西

—————————————————————————————————————

現(xiàn)象:

原因:

解決方案:

 

—————————————————————————————————————

現(xiàn)象:

Error (10200): Verilog HDL Conditional Statement error at passometer.v(29): cannot match operand(s) in the condition to the corresponding edges in the enclosing event control of the always construct

原因:

不能匹配操作條件,always的觸發(fā)條件之一是rst_n的下降沿,下降沿進(jìn)入邏輯后,rst_n為低電平,若要執(zhí)行復(fù)位操作,則需要“!rst_n”

clipboard.png

解決方案:

修改復(fù)位條件即可

if(!rst_n)

clipboard.png

 

—————————————————————————————————————

現(xiàn)象:

Error (10028): Can't resolve multiple constant drivers for net "data[3]" at ControlIO.v(44)

原因:

在不同的always邏輯塊中,對同一個reg變量進(jìn)行了賦值。

clipboard.png

解決方案:

修改異常reg,將上例中data,改到一個always中。

    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多