data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v
1: b'%Error: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:1: Cannot find include file: A1Q4_priority_encoder_8_3.v\n`include "A1Q4_priority_encoder_8_3.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder,data/full_repos/permissive/450205124/A1Q4_priority_encoder_8_3.v\n             data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder,data/full_repos/permissive/450205124/A1Q4_priority_encoder_8_3.v.v\n             data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder,data/full_repos/permissive/450205124/A1Q4_priority_encoder_8_3.v.sv\n             A1Q4_priority_encoder_8_3.v\n             A1Q4_priority_encoder_8_3.v.v\n             A1Q4_priority_encoder_8_3.v.sv\n             obj_dir/A1Q4_priority_encoder_8_3.v\n             obj_dir/A1Q4_priority_encoder_8_3.v.v\n             obj_dir/A1Q4_priority_encoder_8_3.v.sv\n%Error: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:11: Unsupported or unknown PLI call: $monitor\n        $monitor("Time: %4d, inp = %b, encode = %b", $time, inp, encode);\n        ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:12: Unsupported: Ignoring delay on this delayed statement.\n        #5 inp=8\'b11111111;\n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:13: Unsupported: Ignoring delay on this delayed statement.\n        #5 inp=8\'b11011101;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:14: Unsupported: Ignoring delay on this delayed statement.\n        #5 inp=8\'b01100110;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:15: Unsupported: Ignoring delay on this delayed statement.\n        #5 inp=8\'b00110100; \n        ^\n%Warning-STMTDLY: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:16: Unsupported: Ignoring delay on this delayed statement.\n        #5 inp=8\'b00101000;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:17: Unsupported: Ignoring delay on this delayed statement.\n        #5 inp=8\'b10110000;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:18: Unsupported: Ignoring delay on this delayed statement.\n        #5 inp=8\'b10100000;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:19: Unsupported: Ignoring delay on this delayed statement.\n        #5 inp=8\'b11000000;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:20: Unsupported: Ignoring delay on this delayed statement.\n        #5 inp=8\'b10000000;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/450205124/Assignment1/Q4-8-3-bit-Priority-Encoder/A1Q4_priority_encoder_8_3_tb.v:22: Unsupported: Ignoring delay on this delayed statement.\n            #5;\n            ^\n%Error: Exiting due to 2 error(s), 10 warning(s)\n'
module priority_encoder_8_3_tb();
    wire [2:0] encode;
    reg [7:0] inp;

    priority_encoder_8_3 en (encode, inp, 1'b1);

    initial
    begin
        $monitor("Time: %4d, inp = %b, encode = %b", $time, inp, encode);
        #5 inp=8'b11111111;
        #5 inp=8'b11011101;
        #5 inp=8'b01100110;
        #5 inp=8'b00110100; 
        #5 inp=8'b00101000;
        #5 inp=8'b10110000;
        #5 inp=8'b10100000;
        #5 inp=8'b11000000;
        #5 inp=8'b10000000;
        repeat(6) begin
            #5;
            inp=$random%256;
        end
    end 
endmodule
module priority_encoder_8_3_tb();

    wire [2:0] encode;
    reg [7:0] inp;

    priority_encoder_8_3 en (encode, inp, 1'b1);

    initial
    begin
        $monitor("Time: %4d, inp = %b, encode = %b", $time, inp, encode);
        #5 inp=8'b11111111;
        #5 inp=8'b11011101;
        #5 inp=8'b01100110;
        #5 inp=8'b00110100; 
        #5 inp=8'b00101000;
        #5 inp=8'b10110000;
        #5 inp=8'b10100000;
        #5 inp=8'b11000000;
        #5 inp=8'b10000000;
        repeat(6) begin
            #5;
            inp=$random%256;
        end
    end 
endmodule