data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v
None: at end of input
1: b'%Error: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:4: Cannot find include file: immediate_generator.vh\n`include "immediate_generator.vh" \n         ^~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/167856740/cpu/tb,data/full_repos/permissive/167856740/immediate_generator.vh\n             data/full_repos/permissive/167856740/cpu/tb,data/full_repos/permissive/167856740/immediate_generator.vh.v\n             data/full_repos/permissive/167856740/cpu/tb,data/full_repos/permissive/167856740/immediate_generator.vh.sv\n             immediate_generator.vh\n             immediate_generator.vh.v\n             immediate_generator.vh.sv\n             obj_dir/immediate_generator.vh\n             obj_dir/immediate_generator.vh.v\n             obj_dir/immediate_generator.vh.sv\n%Error: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:18: Define or directive not defined: \'`IMM_ITYPE\'\n        immsel = `IMM_ITYPE; source = 32\'h00208463;\n                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:18: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n        immsel = `IMM_ITYPE; source = 32\'h00208463;\n                           ^\n%Warning-STMTDLY: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:20: Unsupported: Ignoring delay on this delayed statement.\n        #10 $display("immsel=IMM_ITYPE,\\tdestination=\\t%b", destination);\n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:24: Define or directive not defined: \'`IMM_STYPE\'\n  #10 immsel = `IMM_STYPE;\n               ^~~~~~~~~~\n%Error: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:24: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  #10 immsel = `IMM_STYPE;\n                         ^\n%Warning-STMTDLY: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:24: Unsupported: Ignoring delay on this delayed statement.\n  #10 immsel = `IMM_STYPE;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:25: Unsupported: Ignoring delay on this delayed statement.\n  #10 $display("immsel=IMM_STYPE,\\tdestination=\\t%b", destination);\n  ^\n%Error: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:26: Define or directive not defined: \'`IMM_BTYPE\'\n  #10 immsel = `IMM_BTYPE;\n               ^~~~~~~~~~\n%Error: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:26: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  #10 immsel = `IMM_BTYPE;\n                         ^\n%Warning-STMTDLY: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:26: Unsupported: Ignoring delay on this delayed statement.\n  #10 immsel = `IMM_BTYPE;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:27: Unsupported: Ignoring delay on this delayed statement.\n  #10 $display("immsel=IMM_BTYPE,\\tdestination=\\t%b", destination);\n  ^\n%Error: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:28: Define or directive not defined: \'`IMM_UTYPE\'\n  #10 immsel = `IMM_UTYPE;\n               ^~~~~~~~~~\n%Error: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:28: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  #10 immsel = `IMM_UTYPE;\n                         ^\n%Warning-STMTDLY: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:28: Unsupported: Ignoring delay on this delayed statement.\n  #10 immsel = `IMM_UTYPE;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:29: Unsupported: Ignoring delay on this delayed statement.\n  #10 $display("immsel=IMM_UTYPE,\\tdestination=\\t%b", destination);\n  ^\n%Error: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:30: Define or directive not defined: \'`IMM_JTYPE\'\n  #10 immsel = `IMM_JTYPE;\n               ^~~~~~~~~~\n%Error: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:30: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  #10 immsel = `IMM_JTYPE;\n                         ^\n%Warning-STMTDLY: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:30: Unsupported: Ignoring delay on this delayed statement.\n  #10 immsel = `IMM_JTYPE;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:31: Unsupported: Ignoring delay on this delayed statement.\n  #10 $display("immsel=IMM_JTYPE,\\tdestination=\\t%b", destination);\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/167856740/cpu/tb/immediate_generator_tb.v:34: Unsupported: Ignoring delay on this delayed statement.\n  #10 $finish;\n  ^\n%Error: Exiting due to 11 error(s), 10 warning(s)\n'
module immediate_generator_tb;
	

	reg [2:0] immsel;
    reg [31:0] source;
    wire [31:0] destination;


    immediate_generator immediate_generator(.I_immsel(immsel), .I_data(source), .O_data(destination));    

	initial begin

        immsel = `IMM_ITYPE; source = 32'h00208463;
        $display("\t\t\t\t\tsource =\t\t%b", source);
        #10 $display("immsel=IMM_ITYPE,\tdestination=\t%b", destination);

        

		#10 immsel = `IMM_STYPE;
		#10 $display("immsel=IMM_STYPE,\tdestination=\t%b", destination);
		#10 immsel = `IMM_BTYPE;
		#10 $display("immsel=IMM_BTYPE,\tdestination=\t%b", destination);
		#10 immsel = `IMM_UTYPE;
		#10 $display("immsel=IMM_UTYPE,\tdestination=\t%b", destination);
		#10 immsel = `IMM_JTYPE;
		#10 $display("immsel=IMM_JTYPE,\tdestination=\t%b", destination);


		#10 $finish;
	end
	
endmodule
module immediate_generator_tb;

	

	reg [2:0] immsel;
    reg [31:0] source;
    wire [31:0] destination;


    immediate_generator immediate_generator(.I_immsel(immsel), .I_data(source), .O_data(destination));    

	initial begin

        immsel = `IMM_ITYPE; source = 32'h00208463;
        $display("\t\t\t\t\tsource =\t\t%b", source);
        #10 $display("immsel=IMM_ITYPE,\tdestination=\t%b", destination);

        

		#10 immsel = `IMM_STYPE;
		#10 $display("immsel=IMM_STYPE,\tdestination=\t%b", destination);
		#10 immsel = `IMM_BTYPE;
		#10 $display("immsel=IMM_BTYPE,\tdestination=\t%b", destination);
		#10 immsel = `IMM_UTYPE;
		#10 $display("immsel=IMM_UTYPE,\tdestination=\t%b", destination);
		#10 immsel = `IMM_JTYPE;
		#10 $display("immsel=IMM_JTYPE,\tdestination=\t%b", destination);


		#10 $finish;
	end
	
endmodule