data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro/rdygen.v
1: b"%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro/rdygen.v:42: Cannot find file containing module: 'atmux1'\natmux1 scmux\n^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro,data/full_repos/permissive/530013823/atmux1\n             data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro,data/full_repos/permissive/530013823/atmux1.v\n             data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro,data/full_repos/permissive/530013823/atmux1.sv\n             atmux1\n             atmux1.v\n             atmux1.sv\n             obj_dir/atmux1\n             obj_dir/atmux1.v\n             obj_dir/atmux1.sv\n%Error: Exiting due to 1 error(s)\n"
module rdygen
    (
     rst_,
     clk,
     pce_,
     scanmode,
     rdyin,
     rdyout
     );




input   rst_;
input   clk;
input   pce_;
input   scanmode;
input   rdyin;
output  rdyout;







wire    cerst_;

atmux1 scmux
    (
     .a(rst_),
     .b(~(pce_ | ~rst_)),
     .sela(scanmode),
     .o(cerst_)
     );



reg     rdystatic;
always @(posedge clk or negedge cerst_)
    if (!cerst_)    rdystatic <= 1'b0;
    else
        begin

        if(rdyin)   rdystatic <= rdyin;
        else        rdystatic <= rdystatic;
        end

assign rdyout   = rdystatic;

endmodule
module rdygen
    (
     rst_,
     clk,
     pce_,
     scanmode,
     rdyin,
     rdyout
     );





input   rst_;
input   clk;
input   pce_;
input   scanmode;
input   rdyin;
output  rdyout;







wire    cerst_;

atmux1 scmux
    (
     .a(rst_),
     .b(~(pce_ | ~rst_)),
     .sela(scanmode),
     .o(cerst_)
     );



reg     rdystatic;
always @(posedge clk or negedge cerst_)
    if (!cerst_)    rdystatic <= 1'b0;
    else
        begin

        if(rdyin)   rdystatic <= rdyin;
        else        rdystatic <= rdystatic;
        end

assign rdyout   = rdystatic;

endmodule