data/full_repos/permissive/406831108/Hamming encoder .v
1: b'%Error: Cannot find file containing module: data/full_repos/permissive/406831108/Hamming\n        ... Looked in:\n             data/full_repos/permissive/406831108,data/full_repos/permissive/406831108/data/full_repos/permissive/406831108/Hamming\n             data/full_repos/permissive/406831108,data/full_repos/permissive/406831108/data/full_repos/permissive/406831108/Hamming.v\n             data/full_repos/permissive/406831108,data/full_repos/permissive/406831108/data/full_repos/permissive/406831108/Hamming.sv\n             data/full_repos/permissive/406831108/Hamming\n             data/full_repos/permissive/406831108/Hamming.v\n             data/full_repos/permissive/406831108/Hamming.sv\n             obj_dir/data/full_repos/permissive/406831108/Hamming\n             obj_dir/data/full_repos/permissive/406831108/Hamming.v\n             obj_dir/data/full_repos/permissive/406831108/Hamming.sv\n%Error: Cannot find file containing module: encoder\n%Error: Cannot find file containing module: .v\n%Error: Exiting due to 3 error(s)\n'
module hamenc(clk,d,c ); 
  input clk;
  input [3:0] d;
  output reg[6:0] c;
  always@(posedge clk)
    begin 
      c[6]=d[3];
      c[5]=d[2]; 
      c[4]=d[1];
      c[3]=d[1]^d[2]^d[3];
      c[2]=d[0];
      c[1]=d[0]^d[2]^d[3]; 
      c[0]=d[0]^d[1]^d[3]; 
    end 
endmodule
module hamenc(clk,d,c );
 
  input clk;
  input [3:0] d;
  output reg[6:0] c;
  always@(posedge clk)
    begin 
      c[6]=d[3];
      c[5]=d[2]; 
      c[4]=d[1];
      c[3]=d[1]^d[2]^d[3];
      c[2]=d[0];
      c[1]=d[0]^d[2]^d[3]; 
      c[0]=d[0]^d[1]^d[3]; 
    end 
endmodule