data/full_repos/permissive/157101210/no-op.t.v
1: b'%Error: data/full_repos/permissive/157101210/no-op.t.v:1: Cannot find include file: no-op.v\n`include "no-op.v" \n         ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/157101210,data/full_repos/permissive/157101210/no-op.v\n             data/full_repos/permissive/157101210,data/full_repos/permissive/157101210/no-op.v.v\n             data/full_repos/permissive/157101210,data/full_repos/permissive/157101210/no-op.v.sv\n             no-op.v\n             no-op.v.v\n             no-op.v.sv\n             obj_dir/no-op.v\n             obj_dir/no-op.v.v\n             obj_dir/no-op.v.sv\n%Warning-STMTDLY: data/full_repos/permissive/157101210/no-op.t.v:16: Unsupported: Ignoring delay on this delayed statement.\n        initialInstruction=32\'b00000011111111111111111111001000; ID_noOp=0; ID_preNoOp=0; #100\n                                                                                          ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/157101210/no-op.t.v:22: Unsupported: Ignoring delay on this delayed statement.\n        initialInstruction=32\'b00000011111111111111111111001000; ID_noOp=0; ID_preNoOp=1; #100\n                                                                                          ^\n%Warning-STMTDLY: data/full_repos/permissive/157101210/no-op.t.v:28: Unsupported: Ignoring delay on this delayed statement.\n        initialInstruction=32\'b00000011111111111111111111001000; ID_noOp=1; ID_preNoOp=0; #100\n                                                                                          ^\n%Warning-STMTDLY: data/full_repos/permissive/157101210/no-op.t.v:34: Unsupported: Ignoring delay on this delayed statement.\n        initialInstruction=32\'b10001111111111111111111111001000; ID_noOp=0; ID_preNoOp=0; #100  \n                                                                                          ^\n%Warning-STMTDLY: data/full_repos/permissive/157101210/no-op.t.v:40: Unsupported: Ignoring delay on this delayed statement.\n        initialInstruction=32\'b00100011111111111111111111001000; ID_noOp=0; ID_preNoOp=0; #100  \n                                                                                          ^\n%Error: Exiting due to 1 error(s), 5 warning(s)\n'
module testNoOp();
    reg[31:0] initialInstruction;
    reg ID_noOp, ID_preNoOp;
    wire[31:0] instr; 
    wire IF_noOp, IF_prenoOp;

    noOp noOp(initialInstruction, ID_noOp, ID_preNoOp, instr, IF_noOp, IF_prenoOp);

    initial begin
    	$display("Starting No Op Test");


        initialInstruction=32'b00000011111111111111111111001000; ID_noOp=0; ID_preNoOp=0; #100
        if (instr !== 32'b00100000000000000000000000000000) $display("Test 1a failed - %b", instr);
        if (IF_noOp !== 0) $display("Test 1b failed - %b", IF_noOp);
        if (IF_prenoOp !== 1) $display("Test 1c failed - %b", IF_prenoOp);


        initialInstruction=32'b00000011111111111111111111001000; ID_noOp=0; ID_preNoOp=1; #100
        if (instr !== initialInstruction) $display("Test 2a failed - %b", instr);
        if (IF_noOp !== 1) $display("Test 2b failed - %b", IF_noOp);
        if (IF_prenoOp !== 0) $display("Test 2c failed - %b", IF_prenoOp);


        initialInstruction=32'b00000011111111111111111111001000; ID_noOp=1; ID_preNoOp=0; #100
        if (instr !== 32'b00100000000000000000000000000000) $display("Test 3a failed - %b", instr);
        if (IF_noOp !== 0) $display("Test 3b failed - %b", IF_noOp);
        if (IF_prenoOp !== 0) $display("Test 3c failed - %b", IF_prenoOp);


        initialInstruction=32'b10001111111111111111111111001000; ID_noOp=0; ID_preNoOp=0; #100
        if (instr !== initialInstruction) $display("Test 4a failed - %b", instr);
        if (IF_noOp !== 1) $display("Test 4b failed - %b", IF_noOp);
        if (IF_prenoOp !== 0) $display("Test 4c failed - %b", IF_prenoOp);


        initialInstruction=32'b00100011111111111111111111001000; ID_noOp=0; ID_preNoOp=0; #100
        if (instr !== initialInstruction) $display("Test 5a failed - %b", instr);
        if (IF_noOp !== 0) $display("Test 5b failed - %b", IF_noOp);
        if (IF_prenoOp !== 0) $display("Test 5c failed - %b", IF_prenoOp);

    	$display("Finish No Op Test");
	end


endmodule
module testNoOp();

    reg[31:0] initialInstruction;
    reg ID_noOp, ID_preNoOp;
    wire[31:0] instr; 
    wire IF_noOp, IF_prenoOp;

    noOp noOp(initialInstruction, ID_noOp, ID_preNoOp, instr, IF_noOp, IF_prenoOp);

    initial begin
    	$display("Starting No Op Test");


        initialInstruction=32'b00000011111111111111111111001000; ID_noOp=0; ID_preNoOp=0; #100
        if (instr !== 32'b00100000000000000000000000000000) $display("Test 1a failed - %b", instr);
        if (IF_noOp !== 0) $display("Test 1b failed - %b", IF_noOp);
        if (IF_prenoOp !== 1) $display("Test 1c failed - %b", IF_prenoOp);


        initialInstruction=32'b00000011111111111111111111001000; ID_noOp=0; ID_preNoOp=1; #100
        if (instr !== initialInstruction) $display("Test 2a failed - %b", instr);
        if (IF_noOp !== 1) $display("Test 2b failed - %b", IF_noOp);
        if (IF_prenoOp !== 0) $display("Test 2c failed - %b", IF_prenoOp);


        initialInstruction=32'b00000011111111111111111111001000; ID_noOp=1; ID_preNoOp=0; #100
        if (instr !== 32'b00100000000000000000000000000000) $display("Test 3a failed - %b", instr);
        if (IF_noOp !== 0) $display("Test 3b failed - %b", IF_noOp);
        if (IF_prenoOp !== 0) $display("Test 3c failed - %b", IF_prenoOp);


        initialInstruction=32'b10001111111111111111111111001000; ID_noOp=0; ID_preNoOp=0; #100
        if (instr !== initialInstruction) $display("Test 4a failed - %b", instr);
        if (IF_noOp !== 1) $display("Test 4b failed - %b", IF_noOp);
        if (IF_prenoOp !== 0) $display("Test 4c failed - %b", IF_prenoOp);


        initialInstruction=32'b00100011111111111111111111001000; ID_noOp=0; ID_preNoOp=0; #100
        if (instr !== initialInstruction) $display("Test 5a failed - %b", instr);
        if (IF_noOp !== 0) $display("Test 5b failed - %b", IF_noOp);
        if (IF_prenoOp !== 0) $display("Test 5c failed - %b", IF_prenoOp);

    	$display("Finish No Op Test");
	end


endmodule