data/full_repos/permissive/527176783/Pipeline/Extend.v
1: b"%Error: data/full_repos/permissive/527176783/Pipeline/Extend.v:11: Cannot find file containing module: 'signExt'\n    signExt signExt_instance(\n    ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/527176783/Pipeline,data/full_repos/permissive/527176783/signExt\n             data/full_repos/permissive/527176783/Pipeline,data/full_repos/permissive/527176783/signExt.v\n             data/full_repos/permissive/527176783/Pipeline,data/full_repos/permissive/527176783/signExt.sv\n             signExt\n             signExt.v\n             signExt.sv\n             obj_dir/signExt\n             obj_dir/signExt.v\n             obj_dir/signExt.sv\n%Error: data/full_repos/permissive/527176783/Pipeline/Extend.v:15: Cannot find file containing module: 'ZeroExt'\n    ZeroExt Zeroext_instance(\n    ^~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module Extend(
    input   ExtSe,
    input   [15:0] immd16,
    output  [31:0] Extout
);
    wire [31:0] signext;
    wire [31:0] zeroext;

    signExt signExt_instance(
    .im(immd16),
    .extend(signext)
);  
    ZeroExt Zeroext_instance(
    .im(immd16),
    .extend(zeroext)
); 
    assign Extout = (ExtSe) ? signext : zeroext;
    
endmodule
module Extend(
    input   ExtSe,
    input   [15:0] immd16,
    output  [31:0] Extout
);

    wire [31:0] signext;
    wire [31:0] zeroext;

    signExt signExt_instance(
    .im(immd16),
    .extend(signext)
);  
    ZeroExt Zeroext_instance(
    .im(immd16),
    .extend(zeroext)
); 
    assign Extout = (ExtSe) ? signext : zeroext;
    
endmodule