發現一個現象,
當使用 SystemVerilog Interface 時,
若 Interface 內有用到 inout,
則該訊號不能宣告成 logic,
必須要宣告成 wire,
不然如果與非 interface 寫法的 inout port 相連時,
NC 會回報錯誤:
ncelab: *E,CUVMIO (../tb/tb.sv,58|48): port connections to inout ports must be collapsible, that is, they must be nets of the same size.
Hello! I could have sworn I’ve been to this website before but after reading through some of the post I realized it’s new to me.
Anyways, I’m definitely glad I found it and I’ll be book-marking
and checking back frequently!