Advertisement
Tavi33

Clock Divider

Mar 8th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module clock_divider(
  2.   input in_clk,
  3.   output reg out_clk
  4. );
  5.  
  6. always @(posedge in_clk)
  7. out_clk <= ~out_clk;
  8.  
  9. endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement