- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
各位前辈好:
我按照官方的手册,生成了ddr4 IP的example design 后,去进行仿真
我首先设置更改了 change directory,然后 执行命令 vsim -do msim-setup.tcl ,返回一个
no design specified 的提示,再执行do msim_setup.tcl, modelsim 一点反应都没有,希望各位前辈指导我一下
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi pp,
You actually doing it right.
After performing commands do msim_setup.tcl, you should perform the commands like below:
- dev_com
- com
- elab_debug
- add wave "ed_sim/*"
- transcript file transcript.txt
- run -all
I already share the run.do file at my first comment there.
It's contains the commands to simulate your design.
In order to use it,
- Copy the run.do into your msim_setup.tcl directory
- Open Modelsim
- Change directory to your msim_setup.tcl directory
- Perform do run.do in the transaction windows
Feel free to ask me when you still need some help.
Thanks,
Adzim
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, pp.
Thank you for posting in the Intel Community Support forums.
请注意,我仅能以英文提供支持。我使用了一个网络翻译工具来翻译此响应,因此,可能有一些不准确的翻译。
Please be informed that I can only support you in English. I have used a web translation tool to translate this response hence, there may be some inaccurate translation.
We have a specialized community section for Intel Quartus Prime software, I will move your threads there so they can be answered as soon as possible.
Best regards,
Bruce C.
Intel Customer Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi pp,
I hope you understand about what BruC has stated in the previous reply.
I also need to translate your issue into English.
What I understand about your issue is that you want to simulate your design in Modelsim simulator but you encounter some errors.
If that right, so first thing you need to do is to set the path to correct directory where the source file is located there.
Usually the source file is located in <project file>/emif_0_example_design/sim/ed_sim/mentor/
When you performing the vsim -do msim_setup.tcl, it will bring up the Modelsim.
My step to run simulation in Modelsim:
- Open the Modelsim software.
- Set the source directory to the correct path of the msim_setup.tcl file directory.
- Run run.do file that I've attached.
The run.do file contains the commands to compile and simulate your design.
You can run the commands inside the file you want to do it manually in Modelsim.
Hope that can solve your issue.
Thanks,
Adzim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi adzim:
some pictures cannot be shown,Let me add my steps
1: change directory
E:\my_information\programmer_software_code\quaruts\DDR4\emif_0_example_design\sim\ed_sim\mentor
2: input command in modlesim, vism -do msim_setup.tcl
3: input command in modlesim, do msim_setup.tcl
And then there was no reaction,what should i do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Adzim;
i will use english to repeat my question,i want to simulate the official DDR4 IP CORE,but i meet some problems。I will explain my steps to simulate DDR4 IP step by step. Please help me to see if there is any problem with my steps。
first: i open the modelsim and change directory,please look at the picture
second :I enter the following command in the modelsim command bar
third: I enter the following command in the modelsim command bar
And then there was no reaction,what should i do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi pp,
Does the Modelsim shows any error in the transaction windows?
Or there is no reaction at all?
Can you confirm that the msim_setup.tcl is exists in your directory?
Which Quartus version that you used?
Have you tried to change the directory in the GUI?
You can change it by going to File>Change Directory...
Thanks,
Adzim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Adzim:
Does the Modelsim shows any error in the transaction windows?
Or there is no reaction at all?
answer: please look at the picture,when i input command do msim_setup.tcl
Can you confirm that the msim_setup.tcl is exists in your directory?
answer : yes,i'm sure the msim_setup.tcl is exists my directory, please look at the picture
Have you tried to change the directory in the GUI?
You can change it by going to File>Change Directory...
answer : yes, I used exactly the method you said
by the way, i'm using quartus 18.0 standard version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi pp,
You actually doing it right.
After performing commands do msim_setup.tcl, you should perform the commands like below:
- dev_com
- com
- elab_debug
- add wave "ed_sim/*"
- transcript file transcript.txt
- run -all
I already share the run.do file at my first comment there.
It's contains the commands to simulate your design.
In order to use it,
- Copy the run.do into your msim_setup.tcl directory
- Open Modelsim
- Change directory to your msim_setup.tcl directory
- Perform do run.do in the transaction windows
Feel free to ask me when you still need some help.
Thanks,
Adzim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI Adzim:
I have used the DO file you gave for simulation, but the simulated signal waveform is not available, and many signals are red lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi pp,
Great to know.
You should wait until the simulation finish.
Also you need to select Full Calibration mode to see the full processes in your EMIF IP setting.
Or else there might be skipped the calibration.
But the Full Calibration mode will take longer time than Skip Calibration mode.
I see that you can run the simulation now.
I guess your problem is solved.
Do you any further question?
Thanks,
Adzim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I set the case to closure.
You can file a new case if you got any problem.
Thanks for using Intel Community.
Regards,
Adzim

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page