Advertisement
AlexanderAntonov

Untitled

Nov 2nd, 2022
830
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module mux_behav (
  2.     input [1:0] sel_bi
  3.     , input [3:0] data_bi
  4.     , output logic q_o      // reg or logic – driven by procedural block
  5. );
  6.  
  7. always @*
  8.     begin
  9.     q_o = data_bi[sel_bi];
  10.     end
  11.  
  12. endmodule
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement