使用Vivado进行行为级仿真

1.编写设计文件

1 module test(
2     input in,
3     output out
4     );
5 
6 assign out = ~in;
7 
8 endmodule

2.编写testbench(Set as Top)

 

 1 module simu(
 2 
 3     );
 4 
 5 reg clk = 0;
 6 always #10 clk <= ~clk;
 7 
 8 wire out;
 9 
10 test mytest(clk,out);
11 
12 endmodule

 

3.运行Run Simulation - Run Behavioral Simulation

使用Vivado进行行为级仿真

相关文章:

  • 2021-12-05
  • 2021-10-01
  • 2021-05-19
  • 2021-12-21
  • 2022-12-23
猜你喜欢
  • 2021-05-07
  • 2021-06-19
  • 2021-12-07
  • 2022-12-23
  • 2021-10-11
  • 2021-08-21
  • 2021-04-03
相关资源
相似解决方案