data/full_repos/permissive/451861474/Priority Encoder/A1Q3_priority_encoder_tb.v
1: b'%Error: Cannot find file containing module: Encoder,data/full_repos/permissive/451861474\n        ... Looked in:\n             data/full_repos/permissive/451861474/Priority/Encoder,data/full_repos/permissive/451861474\n             data/full_repos/permissive/451861474/Priority/Encoder,data/full_repos/permissive/451861474.v\n             data/full_repos/permissive/451861474/Priority/Encoder,data/full_repos/permissive/451861474.sv\n             Encoder,data/full_repos/permissive/451861474\n             Encoder,data/full_repos/permissive/451861474.v\n             Encoder,data/full_repos/permissive/451861474.sv\n             obj_dir/Encoder,data/full_repos/permissive/451861474\n             obj_dir/Encoder,data/full_repos/permissive/451861474.v\n             obj_dir/Encoder,data/full_repos/permissive/451861474.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/451861474/Priority\n%Error: Cannot find file containing module: Encoder/A1Q3_priority_encoder_tb.v\n%Error: Exiting due to 3 error(s)\n'
module test_bench;
    reg [7:0] in;
    wire [2:0] out;
    priority_encoder8to3 p0(in,out);
    initial 
    begin
        $dumpfile("priority_encoder.vcd");
        $dumpvars(0, test_bench);
        $display("Input      Output");
        in=8'b11000001;
        #5;
        $display("%b   %b", in, out);
        in=8'b10010010;
        #5;
        $display("%b   %b", in, out);
        in=8'b00010100;
        #5;
        $display("%b   %b", in, out);
        in=8'b10011000;
        #5;
        $display("%b   %b", in, out);
        in=8'b10010000;
        #5;
        $display("%b   %b", in, out);
        in=8'b11100000;
        #5;
        $display("%b   %b", in, out);
        in=8'b01000000;
        #5;
        $display("%b   %b", in, out);
        in=8'b10000000;
        #5;
        $display("%b   %b", in, out);
        $finish;
    end

endmodule
module test_bench;

    reg [7:0] in;
    wire [2:0] out;
    priority_encoder8to3 p0(in,out);
    initial 
    begin
        $dumpfile("priority_encoder.vcd");
        $dumpvars(0, test_bench);
        $display("Input      Output");
        in=8'b11000001;
        #5;
        $display("%b   %b", in, out);
        in=8'b10010010;
        #5;
        $display("%b   %b", in, out);
        in=8'b00010100;
        #5;
        $display("%b   %b", in, out);
        in=8'b10011000;
        #5;
        $display("%b   %b", in, out);
        in=8'b10010000;
        #5;
        $display("%b   %b", in, out);
        in=8'b11100000;
        #5;
        $display("%b   %b", in, out);
        in=8'b01000000;
        #5;
        $display("%b   %b", in, out);
        in=8'b10000000;
        #5;
        $display("%b   %b", in, out);
        $finish;
    end

endmodule