<一>建立如下的Verilog Module

module myClock(    

            input clock    

);

endmodule

<二>建立 Verilog Test Fixture

   

module test;

 // Inputs  

reg clock;

 // Instantiate the Unit Under Test (UUT)  

myClock uut (   .clock(clock)  );

 initial begin  

 // Initialize Inputs   

clock = 0;

  // Wait 100 ns for global reset to finish              

// Add stimulus here   

 end  

always #0.001 clock = ~clock;

endmodule

<三>结果

Xilinx ISE 14.1利用Verilog产生clock

相关文章:

  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2021-04-20
  • 2021-11-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2021-06-28
  • 2021-05-06
  • 2021-11-17
相关资源
相似解决方案