data/full_repos/permissive/110151336/lab_02/src/01_d_latch_theory/d_latch.v
1: b"%Error: data/full_repos/permissive/110151336/lab_02/src/01_d_latch_theory/d_latch.v:12: Cannot find file containing module: 'sr_latch'\n    sr_latch sr_latch (s, r, q, q_n);\n    ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/110151336/lab_02/src/01_d_latch_theory,data/full_repos/permissive/110151336/sr_latch\n             data/full_repos/permissive/110151336/lab_02/src/01_d_latch_theory,data/full_repos/permissive/110151336/sr_latch.v\n             data/full_repos/permissive/110151336/lab_02/src/01_d_latch_theory,data/full_repos/permissive/110151336/sr_latch.sv\n             sr_latch\n             sr_latch.v\n             sr_latch.sv\n             obj_dir/sr_latch\n             obj_dir/sr_latch.v\n             obj_dir/sr_latch.sv\n%Error: Exiting due to 1 error(s)\n"
module d_latch
(
    input   clk,
    input   d,
    output  q,
    output  q_n
);
    wire r = ~d & clk;
    wire s = d & clk;

    sr_latch sr_latch (s, r, q, q_n);

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

    wire r = ~d & clk;
    wire s = d & clk;

    sr_latch sr_latch (s, r, q, q_n);

endmodule