Advertisement
foreverfugazi

Untitled

Sep 18th, 2023
1,054
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module demux14(
  2.     input logic i,
  3.     input logic s0,
  4.     input logic s1,
  5.     output logic y0,
  6.     output logic y1,
  7.     output logic y2,
  8.     output logic y3
  9.     );
  10.     assign y0=i&(~s0)&(~s1);
  11.     assign y1=i&(~s0)&(s1);
  12.     assign y2=i&(s0)&(~s1);
  13.     assign y3=i&(s0)&(s1);
  14. endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement