Advertisement
Benny1994

Untitled

Sep 10th, 2023
1,272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module buttontoled (i_sw, o_led);
  2.  
  3.     input wire i_sw ;
  4.     output wire o_led;
  5.  
  6.     assign o_led = i_sw ;//connects the led to the switch
  7.    
  8.  
  9. endmodule
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement