Quartus II + Modelsim 脚本仿真

软件版本:Intel® Quartus® Prime Design Suite: 23.2

方式参考附件Intel 官方文档:Questa*-Intel® FPGA Edition Quick-Start: Intel® Quartus® Prime Pro Edition

  • 第1步,创建一个ram ip,并形成一个例化的top层ip
  • 第2步,自己再单独写一个testbench.v

  • 第3步,指定EDA仿真工具:Specify EDA Tool Settings

  • 第4步,Generate a Simulator Setup Script Template
  • 第5步,产生仿真脚本并进行修改:Create the Simulation Script
  • 第6步,运行运行mentor_example.do脚本文件

打开modelsim,在Transcript栏中,cd切换到mentor_example.do所在路径, 敲入do mentor_example.do,运行该脚本文件

其他:

  • 为了防止仿真时优化掉信号使得仿真没有波形,需要打开mentor路径下的modelsim.ini文件,使得其中的VoptFlow=0
  • 可以创建一个run_simulation.bat的批处理脚本文件,这样可以不用每次打开modelsim输入命令,只需要双击run_simulation.bat文件即可进行仿真,内容如下:
  • sim_waveform.do怎么来的呢?

在进行过仿真后,添加需要的波形以及相应的设置后,在wave窗口中选择File-Save Format,保存到mentor文件夹下即可

  • tcl脚本:

.vhd 用vcom命令编译

.v 和.sv用vlog命令编译

参考链接:

Questa*-Intel® FPGA Edition Quick-Start: Intel® Quartus® Prime Pro Edition

其他连接:

Intel® Quartus® Prime Pro Edition User Guide: Third-party Simulation

相关推荐
s090713637 分钟前
FPGA中CIC设计注意事项
算法·fpga开发·cic滤波器
Aaron15881 小时前
RFSOC+VU13P在无线信道模拟中的技术应用分析
数据结构·人工智能·算法·fpga开发·硬件架构·硬件工程·射频工程
碎碎思1 小时前
BerkeleyLab Bedrock:为 FPGA 与加速计算打造的开源基石
fpga开发·开源
zidan14121 小时前
xilinx常用文档说明
fpga开发
ShiMetaPi1 小时前
GM-3568JHF丨ARM+FPGA异构开发板系列教程:外设教程 04 WIFI
网络·arm开发·fpga开发·智能路由器·fpga
FPGA_小田老师2 小时前
FPGA基础知识(二十):Xilinx Block Memory IP核(5)--ROM 详解
fpga开发·rom·coe文件格式·导入coe·block memory
FPGA_无线通信2 小时前
压缩解压缩算法 BFP-8bit
fpga开发
红糖果仁沙琪玛3 小时前
AD7616驱动开发-FPGA
驱动开发·fpga开发
坏孩子的诺亚方舟4 小时前
FPGA系统架构设计实践13_FPGA系统功能安全
fpga开发·系统架构·功能安全概念
ALINX技术博客4 小时前
【新品解读】5G/6G 基带系统级验证,AXVU13G 如何缩短高速系统研发周期
5g·fpga开发·fpga