Advertisement
fellpz

Código 2

Jul 17th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module prova(select, SW, LEDR);
  2.  
  3. input[1:0] select;
  4. input[3:0] SW;
  5. output[0:0] LEDR;
  6.  
  7. reg LEDR[0];
  8. wire[1:0] select;
  9. wire[3:0] SW;
  10.  
  11. always@(SW or select)
  12.     LEDR = d[select];
  13.    
  14. endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement