data/full_repos/permissive/20270692/miscellaneous/hw/fourBitPriorityEncoder.v
1: b'%Warning-LITENDIAN: data/full_repos/permissive/20270692/miscellaneous/hw/fourBitPriorityEncoder.v:7: Little bit endian vector: MSB < LSB of bit range: 0:3\n  input [0:3] D;\n        ^\n                    ... Use "/* verilator lint_off LITENDIAN */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
module fourBitPriEncoder (D, x, y, V);

  input [0:3] D;
  wire [0:3] D;

  output x, y, V;
  wire x, y, V;

  wire w1;

  assign w1 = (~D[2]) & D[1];

  assign x = D[3] | D[2];
  assign y = D[3] | w1;

  assign V = x | D[1] | D[0];

endmodule
module fourBitPriEncoder (D, x, y, V);


  input [0:3] D;
  wire [0:3] D;

  output x, y, V;
  wire x, y, V;

  wire w1;

  assign w1 = (~D[2]) & D[1];

  assign x = D[3] | D[2];
  assign y = D[3] | w1;

  assign V = x | D[1] | D[0];

endmodule