data/full_repos/permissive/502135797/Lab1_Feb_11_2022/Code/GenvarDECO.v
1: b"%Error: data/full_repos/permissive/502135797/Lab1_Feb_11_2022/Code/GenvarDECO.v:36: Cannot find file containing module: 'DECO'\n          DECO UNIT ( \n          ^~~~\n        ... Looked in:\n             data/full_repos/permissive/502135797/Lab1_Feb_11_2022/Code,data/full_repos/permissive/502135797/DECO\n             data/full_repos/permissive/502135797/Lab1_Feb_11_2022/Code,data/full_repos/permissive/502135797/DECO.v\n             data/full_repos/permissive/502135797/Lab1_Feb_11_2022/Code,data/full_repos/permissive/502135797/DECO.sv\n             DECO\n             DECO.v\n             DECO.sv\n             obj_dir/DECO\n             obj_dir/DECO.v\n             obj_dir/DECO.sv\n%Error: Exiting due to 1 error(s)\n"
module GenvarDECO #(parameter n=3) 
(
    input[2:0]i,
    input e,
    output[7:0]p    
);  
  wire[1:0] temp;     
genvar j; 
generate 
for(j=1; j<n; j=j+1)
    begin 
          DECO UNIT ( 
            .in(i[1:0]),                     
            .out(p[(3+((j-1)*4)):((j-1)*4)]),                
            .en(temp[j-1])
                    ); 
    end
 endgenerate  
  assign temp[0] = ~ i[2];
  assign temp[1]=i[2];
endmodule
module GenvarDECO #(parameter n=3) 
(
    input[2:0]i,
    input e,
    output[7:0]p    
);
  
  wire[1:0] temp;     
genvar j; 
generate 
for(j=1; j<n; j=j+1)
    begin 
          DECO UNIT ( 
            .in(i[1:0]),                     
            .out(p[(3+((j-1)*4)):((j-1)*4)]),                
            .en(temp[j-1])
                    ); 
    end
 endgenerate  
  assign temp[0] = ~ i[2];
  assign temp[1]=i[2];
endmodule