data/full_repos/permissive/165901145/seq_detector.srcs/sources_1/new/seq_detector.v
1: b"%Error: data/full_repos/permissive/165901145/seq_detector.srcs/sources_1/new/seq_detector.v:32: Cannot find file containing module: 'gated_D'\n    gated_D D2(Y2,clk,1,1,y2);\n    ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/165901145/seq_detector.srcs/sources_1/new,data/full_repos/permissive/165901145/gated_D\n             data/full_repos/permissive/165901145/seq_detector.srcs/sources_1/new,data/full_repos/permissive/165901145/gated_D.v\n             data/full_repos/permissive/165901145/seq_detector.srcs/sources_1/new,data/full_repos/permissive/165901145/gated_D.sv\n             gated_D\n             gated_D.v\n             gated_D.sv\n             obj_dir/gated_D\n             obj_dir/gated_D.v\n             obj_dir/gated_D.sv\n%Error: data/full_repos/permissive/165901145/seq_detector.srcs/sources_1/new/seq_detector.v:33: Cannot find file containing module: 'gated_D'\n    gated_D D1(Y1,clk,1,1,y1);\n    ^~~~~~~\n%Error: data/full_repos/permissive/165901145/seq_detector.srcs/sources_1/new/seq_detector.v:34: Cannot find file containing module: 'gated_D'\n    gated_D D0(Y0,clk,1,1,y0);\n    ^~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module detector(
    input w,
    input clk,
    output z,
    output [2:0] ys
    );
    wire y0,Y0;
    wire y1,Y1;
    wire y2,Y2;
    gated_D D2(Y2,clk,1,1,y2);
    gated_D D1(Y1,clk,1,1,y1);
    gated_D D0(Y0,clk,1,1,y0);
    assign Y2 = y1&y0&~w;
    assign Y1 = w & (y2 | ~y1&y0 | ~y0&y1);
    assign Y0 = (~w & ~y1) | (~y0&y1);
    assign z = ~y0 & ~y1 & y2;
    assign ys={y2,y1,y0};
endmodule
module detector(
    input w,
    input clk,
    output z,
    output [2:0] ys
    );

    wire y0,Y0;
    wire y1,Y1;
    wire y2,Y2;
    gated_D D2(Y2,clk,1,1,y2);
    gated_D D1(Y1,clk,1,1,y1);
    gated_D D0(Y0,clk,1,1,y0);
    assign Y2 = y1&y0&~w;
    assign Y1 = w & (y2 | ~y1&y0 | ~y0&y1);
    assign Y0 = (~w & ~y1) | (~y0&y1);
    assign z = ~y0 & ~y1 & y2;
    assign ys={y2,y1,y0};
endmodule