纵有疾风起
人生不言弃

使用Quartus进行功能仿真时出现“testbench_vector_input_file option does not exist”的解决方法

环境:本人使用的Quartus 18 Prime Standard Edition

1.新建一个vmf文件

使用Quartus进行功能仿真时出现“testbench_vector_input_file option does not exist”的解决方法插图使用Quartus进行功能仿真时出现“testbench_vector_input_file option does not exist”的解决方法插图1

添加Node或者Bus

使用Quartus进行功能仿真时出现“testbench_vector_input_file option does not exist”的解决方法插图2使用Quartus进行功能仿真时出现“testbench_vector_input_file option does not exist”的解决方法插图1

2.点击Processing->Start->Start Test Bench Template Writer,那么在”工程文件夹/simulation/modelsim”路径下就会生成一个.vht后缀的文件(可能会因个人设置不同而路径不同)。

使用Quartus进行功能仿真时出现“testbench_vector_input_file option does not exist”的解决方法插图3使用Quartus进行功能仿真时出现“testbench_vector_input_file option does not exist”的解决方法插图1

3.将”工程文件夹/simulation/modelsim”路径下的.vht后缀文件复制到”工程文件夹/simulation/qsim”路径下。

4.打开步骤1中建立的vwf文件,点击Simulation->Simulation Settings,会出现如下界面,对Functional Simulation Settings选项卡中的内容做如下修改(注意Quartus软件中的路径分割符方向与Windows下的路径分隔符方向相反,一个是”/”,一个是”\”):

使用Quartus进行功能仿真时出现“testbench_vector_input_file option does not exist”的解决方法插图4使用Quartus进行功能仿真时出现“testbench_vector_input_file option does not exist”的解决方法插图1

(1)将Testbench Generation Command(Functional simulation)栏中的 “–vector_source”后的路径改成你自己的vwf文件所在路径(注意文件名也要修改成你自己文件的名称),”–testbench_file”后的路径改成步骤3中所复制的.vht后缀文件所在的路径(注意文件名也要修改成你自己文件的名称);

(2)把Netlist Generation Command(Functional Simulation)栏中的”–output_directory”后的路径改成”工程文件夹/simulation/qsim”。

(3)将Modelsim Script(Functional simulation)栏中的vcom -work work Waveform.vwf.vht 文件名修改为你自己的文件名。

(4)如果你要进行时序仿真,则修改Timing Simulation Settings选项卡中的内容。

5.大功告成,添加输入数据后点击仿真即可。

 

本文摘自我的CSDN博客,原文链接https://blog.csdn.net/a154299/article/details/82912863

文章转载于:https://www.cnblogs.com/UnfriendlyARM/p/9742613.html

原著是一个有趣的人,若有侵权,请通知删除

未经允许不得转载:起风网 » 使用Quartus进行功能仿真时出现“testbench_vector_input_file option does not exist”的解决方法
分享到: 生成海报

评论 抢沙发

评论前必须登录!

立即登录