1、添加TestBench文件
在 Source框,點擊+號,在彈窗中選擇Add or create simulation source,點擊Next

在彈窗中點擊Create File,在彈窗中修改File name,點擊OK ,點擊Finish

在彈窗中點擊OK,點擊YES

在Source --> Simulation Sources中可以找到tb_led.v,雙擊打開

在tb_led.v中添加代碼,保存
點擊Flow Navigator -->SIMULATION -->Run Simulation,選擇 Run behavioral Simulation
進入仿真界面

浙公網安備 33010602011771號