- Modelsim can be selected in the new project Simulation
-
After writing the simulation file, Assignments click Settings
-
Click Simulation, select the simulation tool Modelsim under the previously created project, and directly select Test Benches here
-
Click New
-
You can add the pre-written tb file (remember to click Add and the file will appear in the box below), then copy the tb name into it, set the simulation time to 1us and click OK
-
Click OK
-
Click Apply and then click OK (the white settings are all set before clicking OK directly)
-
First click the blue arrow to compile, then simulate