module divide_2(clk,rst,clk_out);

input clk,rst;
output clk_out;

reg clk_out;

always @(posedge clk or negedge rst)
 if(!rst)
  begin
   clk_out<=0;
  end
 else
  begin
   clk_out<=~clk_out;
  end

endmodule 

相关文章:

  • 2021-09-01
  • 2021-05-01
  • 2021-03-31
  • 2021-11-16
  • 2022-12-23
  • 2021-12-18
  • 2021-12-02
  • 2022-12-23
猜你喜欢
  • 2021-12-02
  • 2021-12-09
  • 2021-12-02
  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案