Advertisement
PolarBearVuzi

TwoToOneMuxThreeBus

Sep 6th, 2020
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module ThreeBusTwoToOneMux(select, data, m_out);
  2.    
  3.     input wire select;
  4.     input wire [2:0] data [1:0];
  5.     output wire [2:0] m_out;
  6.     assign m_out = select ? (data[1]) : (data[0]);
  7. endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement