data/full_repos/permissive/174642777/Experiments/Lab X3/Lab 07 PRI_8to3/PRI_8to3.v
1: b'%Error: Cannot find file containing module: X3/Lab\n        ... Looked in:\n             data/full_repos/permissive/174642777/Experiments/Lab/X3/Lab\n             data/full_repos/permissive/174642777/Experiments/Lab/X3/Lab.v\n             data/full_repos/permissive/174642777/Experiments/Lab/X3/Lab.sv\n             X3/Lab\n             X3/Lab.v\n             X3/Lab.sv\n             obj_dir/X3/Lab\n             obj_dir/X3/Lab.v\n             obj_dir/X3/Lab.sv\n%Error: Cannot find file containing module: 07\n%Error: Cannot find file containing module: PRI_8to3,data/full_repos/permissive/174642777\n%Error: Cannot find file containing module: data/full_repos/permissive/174642777/Experiments/Lab\n%Error: Cannot find file containing module: PRI_8to3/PRI_8to3.v\n%Error: Exiting due to 5 error(s)\n'
module PRI_8to3(input wire[7:0] x, output wire[2:0] y, output wire Valid);

  assign y[2] = x[7] | x[6] | x[5] | x[4];
  
  assign y[1] = x[7] | x[6] 
              | (~x[5] & ~x[4] & (x[3] | x[2]));
  
  assign y[0] = x[7]
              | (~x[6] & x[5])
              | (~x[6] & ~x[4] & x[3])
              | (~x[6] & ~x[4] & ~x[2] & x[1]);
  
  assign Valid = ~(x[7] | x[6] | x[5] | x[4] | x[3] | x[2] | x[1] | x[0]);

endmodule
module PRI_8to3(input wire[7:0] x, output wire[2:0] y, output wire Valid);


  assign y[2] = x[7] | x[6] | x[5] | x[4];
  
  assign y[1] = x[7] | x[6] 
              | (~x[5] & ~x[4] & (x[3] | x[2]));
  
  assign y[0] = x[7]
              | (~x[6] & x[5])
              | (~x[6] & ~x[4] & x[3])
              | (~x[6] & ~x[4] & ~x[2] & x[1]);
  
  assign Valid = ~(x[7] | x[6] | x[5] | x[4] | x[3] | x[2] | x[1] | x[0]);

endmodule