当前位置:网站首页>TD conducts functional simulation with Modelsim
TD conducts functional simulation with Modelsim
2022-07-02 09:38:00 【Quikk】
TD union Modelsim Functional simulation
1 introduction
Recently, I have been in contact with and used domestic Anlu technology company FPGA Carry out relevant development ,TD(Tang Dynasty) As an Anlu FPGA Development tools and Quartus The use is roughly the same , But there are still some differences .
2 Basic configuration process
It is recommended to practice with the official user manual as a reference , First of all, it needs to be done TD Internal operation of software .
2.1 TD Software setting operation
1. Process ⇒ \Rightarrow ⇒ Properties ⇒ \Rightarrow ⇒ Optimize RTL :
rtl_sim_model :ON
2. Process ⇒ \Rightarrow ⇒ Properties ⇒ \Rightarrow ⇒ Optimize Gate :
gate_sim_model :ON
3. Process ⇒ \Rightarrow ⇒ Properties ⇒ \Rightarrow ⇒ Optimize Routing :
phy_sim_model :ON
4. Process ⇒ \Rightarrow ⇒ Properties ⇒ \Rightarrow ⇒ Timing Option :
sdf :ON
5. Set relevant simulation parameters
6. function Simulation
7. Select the relevant test file (testbench file )
There are two ways , The first is to add existing tb File to test ; The second is to create a new test file .
8. After completing the above steps, two files will be generated :①testbench file ② Script files do file .
After these steps ,TD The setting of the software has been completed , Now we need to finish Modelsim Software settings .
2.2 Modelsim Software settings
First of all to enter TD The installation directory , There is a folder under the change directory as sim_release The file of , Under the folder are some simulation files of corresponding chips , Because the chip used here is EF2L45LG144B. So just copy EF2 Related files in the folder .( Here, you must pay attention to selecting the copied folder according to the chip type )
stay Modelsim Create a new folder under the installation root directory (Anlogic), Just copy the EF2 Copy the folder into the new Anlogic >> src In the folder . here src A large number of simulation files of the chip are stored in the folder .
- open Modelsim,File ⇒ \Rightarrow ⇒ Change Directory ⇒ \Rightarrow ⇒ Modify the current directory to the newly created Modelsim In the root directory Anlogic Folder .
File ⇒ \Rightarrow ⇒ New ⇒ \Rightarrow ⇒ Library ⇒ \Rightarrow ⇒ New road safety simulation library . The library name is set to EF2_ver.
5.Compile ⇒ \Rightarrow ⇒ Compile ⇒ \Rightarrow ⇒ Compile new library
6. go back to TD Software , Set up Lib, Re engage Simulation.
take TD Under the project directory tb Documents and original Verilog Copy the file to modelsim root directory Anlogic New folder under folder , As an engineering document .
8. stay Modelsim Create a new project file in
9. Add test files for the project
10. Add the file and compile , Be sure to correct tb The amplitude and modification of the initial value in the file . I.e. modification initial The definition part of the statement .
11. Start the simulation , Set up the simulation file , Add simulation library
12. Simulation results
边栏推荐
- Microservice practice | Eureka registration center and cluster construction
- Navicat 远程连接Mysql报错1045 - Access denied for user ‘root‘@‘222.173.220.236‘ (using password: YES)
- Pool de connexion redis personnalisé
- 每天睡觉前30分钟阅读_day4_Files
- Who is better for Beijing software development? How to find someone to develop system software
- Read Day6 30 minutes before going to bed every day_ Day6_ Date_ Calendar_ LocalDate_ TimeStamp_ LocalTime
- Chrome video download Plug-in – video downloader for Chrome
- Alibaba / popular JSON parsing open source project fastjson2
- 上班第一天的报错(AWVS卸载不彻底)
- BugkuCTF-web16(备份是个好习惯)
猜你喜欢
Chrome video download Plug-in – video downloader for Chrome
How to install PHP in CentOS
[go practical basis] how to customize and use a middleware in gin
图像识别-数据增广
Beats (filebeat, metricbeat), kibana, logstack tutorial of elastic stack
Probability is not yet. Look at statistical learning methods -- Chapter 4, naive Bayesian method
Bold prediction: it will become the core player of 5g
Chrome browser plug-in fatkun installation and introduction
In depth analysis of how the JVM executes Hello World
JDBC review
随机推荐
Probability is not yet. Look at statistical learning methods -- Chapter 4, naive Bayesian method
Chrome浏览器标签管理插件–OneTab
QT QLabel样式设置
MySQL default transaction isolation level and row lock
Amq6126 problem solving ideas
Chrome浏览器插件-Fatkun安装和介绍
VIM operation command Encyclopedia
Break the cocoon | one article explains what is the real cloud primordial
Pool de connexion redis personnalisé
Discussion on improving development quality and reducing test bug rate
cmake的命令-官方文档
Customize redis connection pool
How to use pyqt5 to make a sensitive word detection tool
C语言之分草莓
Knife4j 2.X版本文件上传无选择文件控件问题解决
c语言编程题
Difference between redis serialization genericjackson2jsonredisserializer and jackson2jsonredisserializer
Watermelon book -- Chapter 5 neural network
深入剖析JVM是如何执行Hello World的
Learn combinelatest through a practical example