SHARE
TWEET

Untitled

a guest Mar 25th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     input clk_in, reset,
  2.     output clk_out_led, clk_out_seg
  3.     );
  4.    
  5. reg[32:0] counter;
  6.  
  7. always @(posedge clk_in)
  8.     if(!reset)
  9.         counter = 0;
  10.     else
  11.         counter <= counter + 1;
  12.    
  13.     //assign clk_out_led = counter[27];
  14.     assign clk_out_led = counter[26];
  15.     assign clk_out_seg = counter[17];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top