testclk.sv 289 B

123456789101112131415161718192021
  1. `timescale 1 ns / 100 ps
  2. module testclk;
  3. reg clock_48 = 1'b0;
  4. wire [2:0] led;
  5. real mhz96_ns = 1000.0/96.0;
  6. initial
  7. begin
  8. forever
  9. #(mhz96_ns) clock_48 = !clock_48;
  10. end
  11. max80 max80 (
  12. .clock_48 ( clock_48 ),
  13. .led ( led )
  14. );
  15. endmodule // testclk