# code coverage 練習 B1105167 張家凱 FSM Coverage 只有75%原因 ---  在FSM Coverage看到,過程中並沒有執行到s0 ----> IDLE 推測------>看波型 ---  看出inp 輸入延遲太長,導致inp一直為1,沒有回到0,讓s0回到IDLE。 提升覆蓋率------>修改testbench --- **INP輸入延遲改成10ps**  **波型確認**  覆蓋率確認  **---->皆有執行** 為何不能到達Line、Branch無法到達100% ---  **軟體無法忽略default敘述,因為testbench沒有跑到可是卻有這行敘述,所以無法到達100%** 解決:忽略default這個覆蓋率 --- **修改編譯選項 --->新增 VCS coverage off/on 意義:模擬但不統計覆蓋率**  **覆蓋率確認**  --->SUCCEED!!
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up