Quartus Prime Simulation waveform 修复 Error (suppressible): (vsim-12110) 及 signal not found in VCD

本文介绍了在IntelFPGAQuartusPrime中遇到的-novopt相关问题,导致仿真无法正常工作。作者提供了修改DLL文件的方法,将-novopt替换为-voptargs=+acc,以解决速度慢和信号查找问题。同时,文中还提到了Altera软件的bug及其影响。
摘要由CSDN通过智能技术生成

Fuck Intel

注意!本篇文章已经违反 EULA(最终用户许可协议),本篇内容所提供的技术支持将会违反该软件 EULA 中的以下内容以及可能违反其他我没仔细看的内容!

2.2.3. You may not use, copy, modify, distribute, or otherwise
transfer the Licensed Software or any portions thereof, or permit any
remote access thereof by any person or entity.

2.2.7. You may not decompile, disassemble, reverse engineer, or
otherwise attempt to access the source code of the Licensed Software
or reduce it to a human readable form except as otherwise permitted by
applicable law.

7.3. Notwithstanding anything else in the Agreement, Intel will not
indemnify or defend You for claims asserted, in whole or part,
against: (i) technology or designs that You gave to Intel; (ii)
failure to use compatible devices (including Intel Devices) as set
forth in the Specifications;  (iii) modifications or programming to
the Licensed Software that were made by anyone other than Intel; or,
(iv) the Licensed Software's alleged implementation of some or all of
a Standard.

此问题会导致仿真无法正常使用!

不删除脚本中的 -novopt 会导致出现如下报错

# ** Error (suppressible): (vsim-12110) All optimizations are disabled because the -novopt option is in effect. This will cause your simulation to run very slowly. If you are using this switch to preserve visibility for Debug or PLI features, please see the User's Manual section on Preserving Object Visibility with vopt. -novopt option is now deprecated and will be removed in future releases.
# Error loading design

不给 vsim 命令添加 -voptargs=+acc 会导致出现如下警告,且无法输出仿真波形,在实际情况中星号是你要仿真的网络。

Warning: * - signal not found in VCD.

Altera 作为 FPGA 界的老二对自家的软件实在是不够上心,虽然是免费版,但出现这种严重影响体验的 bug 实在是不应该,而且好几年都没有修复,不知道这个问题折磨了多少人。

至于怎么找到要修改这个位置的,因为在反编译这块我也只是懂一点三脚猫功夫,就不露怯了。

开始修复

省流

使用 Windows 版本 Quartus Prime Version 23.1std.0 Build 991 11/28/2023 SC Lite Edition 的小伙伴可以直接下载我修改过的 DLL,其他版本不保证能用。此 DLL 只是将脚本中的字符串 -novopt 替换为 -voptargs=+acc,如不放心请参考下面的教程进行修复。

直接拖进 Quartus 可执行文件根目录中替换原文件即可。默认路径目录如下

C:\intelFPGA_lite\23.1std\quartus\bin64

下载链接:https://www.123pan.com/s/ZDUWjv-WQsod.html

下载 DIE-engine

首先下载 DIE-engine

https://github.com/horsicq/DIE-engine/releases

下载后将文件解压到一个文件夹中,解压完成后打开 die.exe,打开后勾选 高级选项

请添加图片描述

复制 DLL 文件

由于默认安装在系统目录中,需要以管理员权限启动 DIE(DIE-engine)才能直接修改。再者,为了安全起见也建议先复制两份,一份作为备份,另一份用于修改。

Windows 下的默认路径为

C:\intelFPGA_lite\23.1std\quartus\bin64

在此路径下搜索即可,文件名为

edt_wedtq.dll

修改 DLL 文件

直接将 DLL 文件拖入刚才打开的 DIE 窗口,或点击 DIE 右上角的三个小点手动选择手动选择路径。

扫描完成后点击 字符串 按钮即可搜索字符串并替换,替换前需取消勾选 只读,具体操作如下图所示。将 -novopt 替换为

-voptargs=+acc

修改 DLL
最后把修改完成的 DLL 文件拖到上述目录覆盖原文件即可。

参考链接

https://1ri.dev/2022/2GP5YGS/

https://verimake.com/d/247-quartusquesta

https://users.ece.cmu.edu/~jhoe/doku/doku.php?id=a_short_intro_to_modelsim_verilog_simulator

https://community.intel.com/t5/Intel-Quartus-Prime-Software/Questa-option-voptargs-quot-acc-quot/td-p/1362284

  • 26
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值