Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module buttontoled (i_sw, o_led);
- input reg i_sw ;
- output reg o_led;
- always@*
- begin
- assign o_led = i_sw ;//connects the led to the switch
- end
- endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement