top.v 143 Bytes
Newer Older
1 2 3 4 5 6 7
module graphtest(A, Y, Z);
  input [3:0] A;
  output [2:0] Y;
  output [1:0] Z;
  assign Y = { A[2:0] & 3'h2 };
  assign Z = A[2:1];
endmodule