ID 683026
Date 1/11/2022
Public

## 1.3.1. Procedure

You can compile and simulate the design by running a simulation script from the command prompt.
1. At the command prompt, change the working directory to <Example Design>\simulation\ed_sim\<Simulator> .
2. If you change the target device in the hardware design example and regenerate the IP component (refer to the Changing Target Device in Hardware Design Example section), perform the steps in the Updating PHY IP Design File Names section. Otherwise, skip this step.
3. Run the simulation script for the simulator of your choice.
Simulator Working Directory Command
ModelSim* <Example Design>/simulation/ed_sim/mentor vsim -c -do tb_run.tcl
VCS* <Example Design>/simulation/ed_sim/synopsys/vcs sh tb_run.sh
Xcelium* <Example Design>/simulation/ed_sim/xcelium sh tb_run.sh
A successful simulation ends with the following message:
Simulation passed.
After successful completion, you can analyze the results.