data/full_repos/permissive/110151336/lab_02/src/02_d_flip_flop_theory/d_flip_flop.v
1: b"%Error: data/full_repos/permissive/110151336/lab_02/src/02_d_flip_flop_theory/d_flip_flop.v:11: Cannot find file containing module: 'd_latch'\n    d_latch master\n    ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/110151336/lab_02/src/02_d_flip_flop_theory,data/full_repos/permissive/110151336/d_latch\n             data/full_repos/permissive/110151336/lab_02/src/02_d_flip_flop_theory,data/full_repos/permissive/110151336/d_latch.v\n             data/full_repos/permissive/110151336/lab_02/src/02_d_flip_flop_theory,data/full_repos/permissive/110151336/d_latch.sv\n             d_latch\n             d_latch.v\n             d_latch.sv\n             obj_dir/d_latch\n             obj_dir/d_latch.v\n             obj_dir/d_latch.sv\n%Error: data/full_repos/permissive/110151336/lab_02/src/02_d_flip_flop_theory/d_flip_flop.v:18: Cannot find file containing module: 'd_latch'\n    d_latch slave\n    ^~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module d_flip_flop
(
    input   clk,
    input   d,
    output  q,
    output  q_n
);
    wire n1;

    d_latch master
    (
        .clk ( ~clk ),
        .d   ( d    ),
        .q   ( n1   )
    );

    d_latch slave
    (
        .clk ( clk ),
        .d   ( n1  ),
        .q   ( q   ),
        .q_n ( q_n )
    );

endmodule
module d_flip_flop
(
    input   clk,
    input   d,
    output  q,
    output  q_n
);

    wire n1;

    d_latch master
    (
        .clk ( ~clk ),
        .d   ( d    ),
        .q   ( n1   )
    );

    d_latch slave
    (
        .clk ( clk ),
        .d   ( n1  ),
        .q   ( q   ),
        .q_n ( q_n )
    );

endmodule