data/full_repos/permissive/450205124/Assignment2/Q2-Johnson-Counter/A2Q2_johnson_counter.v
1: b'%Error: data/full_repos/permissive/450205124/Assignment2/Q2-Johnson-Counter/A2Q2_johnson_counter.v:1: Cannot find include file: A2Q2_d_flip_flop.v\n`include "A2Q2_d_flip_flop.v" \n         ^~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/450205124/Assignment2/Q2-Johnson-Counter,data/full_repos/permissive/450205124/A2Q2_d_flip_flop.v\n             data/full_repos/permissive/450205124/Assignment2/Q2-Johnson-Counter,data/full_repos/permissive/450205124/A2Q2_d_flip_flop.v.v\n             data/full_repos/permissive/450205124/Assignment2/Q2-Johnson-Counter,data/full_repos/permissive/450205124/A2Q2_d_flip_flop.v.sv\n             A2Q2_d_flip_flop.v\n             A2Q2_d_flip_flop.v.v\n             A2Q2_d_flip_flop.v.sv\n             obj_dir/A2Q2_d_flip_flop.v\n             obj_dir/A2Q2_d_flip_flop.v.v\n             obj_dir/A2Q2_d_flip_flop.v.sv\n%Error: Exiting due to 1 error(s)\n'
module johnson_counter(q,clk);
    input clk;
    output [0:7] q;

    d_flip_flop dff1(.q(q[0]), .clk(clk), .d(~q[7])); 
    d_flip_flop dff2(.q(q[1]), .clk(clk), .d(q[0]));
    d_flip_flop dff3(.q(q[2]), .clk(clk), .d(q[1]));
    d_flip_flop dff4(.q(q[3]), .clk(clk), .d(q[2]));
    d_flip_flop dff5(.q(q[4]), .clk(clk), .d(q[3]));
    d_flip_flop dff6(.q(q[5]), .clk(clk), .d(q[4]));
    d_flip_flop dff7(.q(q[6]), .clk(clk), .d(q[5]));
    d_flip_flop dff8(.q(q[7]), .clk(clk), .d(q[6]));
endmodule
module johnson_counter(q,clk);

    input clk;
    output [0:7] q;

    d_flip_flop dff1(.q(q[0]), .clk(clk), .d(~q[7])); 
    d_flip_flop dff2(.q(q[1]), .clk(clk), .d(q[0]));
    d_flip_flop dff3(.q(q[2]), .clk(clk), .d(q[1]));
    d_flip_flop dff4(.q(q[3]), .clk(clk), .d(q[2]));
    d_flip_flop dff5(.q(q[4]), .clk(clk), .d(q[3]));
    d_flip_flop dff6(.q(q[5]), .clk(clk), .d(q[4]));
    d_flip_flop dff7(.q(q[6]), .clk(clk), .d(q[5]));
    d_flip_flop dff8(.q(q[7]), .clk(clk), .d(q[6]));
endmodule