You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
402 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. `timescale 10ns / 10ns
  2. module test_top;
  3. reg sys_clk;
  4. reg rst_n;
  5. wire core_board_debug_led;
  6. Top top_impl (
  7. .sys_clk(sys_clk),
  8. .rst_n(rst_n),
  9. .core_board_debug_led(core_board_debug_led)
  10. );
  11. initial begin
  12. sys_clk = 0;
  13. rst_n = 0;
  14. #100;
  15. rst_n = 1;
  16. #15;
  17. // #5000000;
  18. // $stop;
  19. end
  20. always #1 sys_clk = ~sys_clk; // 50MHZ时钟
  21. endmodule