data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v
 line:11: before: "+"
1: b'%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:12: Unsupported: Ignoring delay on this delayed statement.\n #25 clk = ~clk;\n ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:18: Unsupported or unknown PLI call: $dumpfile\n $dumpfile("PowerALU.vcd");\n ^~~~~~~~~\n%Error: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:19: Unsupported or unknown PLI call: $dumpvars\n $dumpvars(0,DUT);\n ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:29: Unsupported: Ignoring delay on this delayed statement.\n #13 opcode <= 4\'b0000; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:30: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0000; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:31: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0000; a <= -8\'d15;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:34: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0001; a <= -8\'d15;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:35: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0001; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:36: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0001; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:37: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0001; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:40: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0010; a <= -8\'d15;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:41: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0010; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:42: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0010; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:43: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0010; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:44: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0010; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:47: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode <= 4\'b0011; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:48: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0011; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:49: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0011; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:50: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0011; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:51: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0011; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:54: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode<= 4\'b0100; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:55: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0100; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:56: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0100; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:57: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0100; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:58: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0100; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:61: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode <= 4\'b0101; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:62: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0101; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:63: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0101; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:64: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0101; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:65: Unsupported: Ignoring delay on this delayed statement.\n    #50 opcode <= 4\'b0101; a <= -8\'d128;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:66: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0101; a <= -8\'d1;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:67: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0101; a <= 8\'d1;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:70: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0000; a <= -8\'d1;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:73: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0110; a <= -8\'d2;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:74: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0110; a <= -8\'d4;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:75: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0110; a <= -8\'d8;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:76: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0110; a <= -8\'d16;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:77: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0110; a <= -8\'d32;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:79: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0000; a <= -8\'d1;  \n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:82: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode <= 4\'b0111; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:83: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0111; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:84: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0111; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:85: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0111; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:86: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0111; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:88: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0000; a <= 8\'b00010000;  \n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:91: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode <= 4\'b1000; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:92: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1000; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:93: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1000; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:94: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1000; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:95: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1000; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:97: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0000; a <= -8\'d1;  \n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:100: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode <= 4\'b1001; a <= 8\'b00010000;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:101: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1001; a <= 8\'b10010000;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:102: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1001; a <= 8\'b00000010;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:103: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1001; a <= 8\'b01010101;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:104: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1001; a <= 8\'b11110000;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:106: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0000; a <= -8\'d1;  \n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:109: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode <= 4\'b1010; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:110: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1010; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:111: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1010; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:112: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1010; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:113: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1010; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:115: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0000; a <= -8\'d1;  \n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:118: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode <= 4\'b1011; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:119: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1011; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:120: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1011; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:121: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1011; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:122: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1011; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:125: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode <= 4\'b1100; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:126: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1100; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:127: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1100; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:128: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1100; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:129: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1100; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:132: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode <= 4\'b1101; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:133: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1101; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:134: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1101; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:135: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1101; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:136: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1101; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:138: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b0000; a <= -8\'d13;  \n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:141: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode <= 4\'b1110; a <= -8\'d13;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:142: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1110; a <= 8\'d1;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:143: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1110; a <= 8\'d0;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:144: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1110; a <= 8\'d0;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:145: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1110; a <= 8\'d1;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:148: Unsupported: Ignoring delay on this delayed statement.\n #200 opcode <= 4\'b1111; a <= -8\'d5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:149: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1111; a <= 8\'d10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:150: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1111; a <= 8\'d20;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:151: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1111; a <= 8\'d127;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson_tb.v:152: Unsupported: Ignoring delay on this delayed statement.\n #50 opcode <= 4\'b1111; a <= -8\'d5;\n ^\n%Error: Exiting due to 2 error(s), 87 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module PowerALU_tb;
wire signed [7:0] b;
reg [3:0] opcode;
reg signed [7:0] a;
reg [32:0] i;
reg clk;

initial begin
for(i = 0; i < 270; i++) begin
	#25 clk = ~clk;
	end
$finish;
end

initial begin
	$dumpfile("PowerALU.vcd");
	$dumpvars(0,DUT);


	
	opcode <= 0;
	a      <= 0;
	i      <= 0;
	clk    <= 0;
	

	#13 opcode <= 4'b0000;	a <= 8'd10;
	#50 opcode <= 4'b0000;	a <= 8'd20;
	#50 opcode <= 4'b0000;	a <= -8'd15;
	

	#50 opcode <= 4'b0001;	a <= -8'd15;
	#50 opcode <= 4'b0001;	a <= 8'd10;
	#50 opcode <= 4'b0001;	a <= 8'd20;
	#50 opcode <= 4'b0001;	a <= 8'd127;
	

	#50 opcode <= 4'b0010;	a <= -8'd15;
	#50 opcode <= 4'b0010;	a <= 8'd10;
	#50 opcode <= 4'b0010;	a <= 8'd20;
	#50 opcode <= 4'b0010;	a <= 8'd127;
	#50 opcode <= 4'b0010;	a <= -8'd5;
	

	#200 opcode <= 4'b0011;	a <= -8'd5;
	#50 opcode <= 4'b0011;	a <= 8'd10;
	#50 opcode <= 4'b0011;	a <= 8'd20;
	#50 opcode <= 4'b0011;	a <= 8'd127;
	#50 opcode <= 4'b0011;	a <= -8'd5;
	

	#200 opcode<= 4'b0100;	a <= -8'd5;
	#50 opcode <= 4'b0100;	a <= 8'd10;
	#50 opcode <= 4'b0100;	a <= 8'd20;
	#50 opcode <= 4'b0100;	a <= 8'd127;
	#50 opcode <= 4'b0100;	a <= -8'd5;
	

	#200 opcode <= 4'b0101;	a <= -8'd5;
	#50 opcode <= 4'b0101;	a <= 8'd10;
	#50 opcode <= 4'b0101;	a <= 8'd20;
	#50 opcode <= 4'b0101;	a <= 8'd127;
    #50 opcode <= 4'b0101;	a <= -8'd128;
	#50 opcode <= 4'b0101;	a <= -8'd1;
	#50 opcode <= 4'b0101;	a <= 8'd1;
	

	#50 opcode <= 4'b0000;	a <= -8'd1;
	

	#50 opcode <= 4'b0110;	a <= -8'd2;
	#50 opcode <= 4'b0110;	a <= -8'd4;
	#50 opcode <= 4'b0110;	a <= -8'd8;
	#50 opcode <= 4'b0110;	a <= -8'd16;
	#50 opcode <= 4'b0110;	a <= -8'd32;
	
	#50 opcode <= 4'b0000;	a <= -8'd1;
	

	#200 opcode <= 4'b0111;	a <= -8'd5;
	#50 opcode <= 4'b0111;	a <= 8'd10;
	#50 opcode <= 4'b0111;	a <= 8'd20;
	#50 opcode <= 4'b0111;	a <= 8'd127;
	#50 opcode <= 4'b0111;	a <= -8'd5;
	
	#50 opcode <= 4'b0000;	a <= 8'b00010000;
	

	#200 opcode <= 4'b1000;	a <= -8'd5;
	#50 opcode <= 4'b1000;	a <= 8'd10;
	#50 opcode <= 4'b1000;	a <= 8'd20;
	#50 opcode <= 4'b1000;	a <= 8'd127;
	#50 opcode <= 4'b1000;	a <= -8'd5;
	
	#50 opcode <= 4'b0000;	a <= -8'd1;
	

	#200 opcode <= 4'b1001;	a <= 8'b00010000;
	#50 opcode <= 4'b1001;	a <= 8'b10010000;
	#50 opcode <= 4'b1001;	a <= 8'b00000010;
	#50 opcode <= 4'b1001;	a <= 8'b01010101;
	#50 opcode <= 4'b1001;	a <= 8'b11110000;
	
	#50 opcode <= 4'b0000;	a <= -8'd1;
	

	#200 opcode <= 4'b1010;	a <= -8'd5;
	#50 opcode <= 4'b1010;	a <= 8'd10;
	#50 opcode <= 4'b1010;	a <= 8'd20;
	#50 opcode <= 4'b1010;	a <= 8'd127;
	#50 opcode <= 4'b1010;	a <= -8'd5;
	
	#50 opcode <= 4'b0000;	a <= -8'd1;
	

	#200 opcode <= 4'b1011;	a <= -8'd5;
	#50 opcode <= 4'b1011;	a <= 8'd10;
	#50 opcode <= 4'b1011;	a <= 8'd20;
	#50 opcode <= 4'b1011;	a <= 8'd127;
	#50 opcode <= 4'b1011;	a <= -8'd5;
	

	#200 opcode <= 4'b1100;	a <= -8'd5;
	#50 opcode <= 4'b1100;	a <= 8'd10;
	#50 opcode <= 4'b1100;	a <= 8'd20;
	#50 opcode <= 4'b1100;	a <= 8'd127;
	#50 opcode <= 4'b1100;	a <= -8'd5;
	

	#200 opcode <= 4'b1101;	a <= -8'd5;
	#50 opcode <= 4'b1101;	a <= 8'd10;
	#50 opcode <= 4'b1101;	a <= 8'd20;
	#50 opcode <= 4'b1101;	a <= 8'd127;
	#50 opcode <= 4'b1101;	a <= -8'd5;
	
	#50 opcode <= 4'b0000;	a <= -8'd13;
	

	#200 opcode <= 4'b1110;	a <= -8'd13;
	#50 opcode <= 4'b1110;	a <= 8'd1;
	#50 opcode <= 4'b1110;	a <= 8'd0;
	#50 opcode <= 4'b1110;	a <= 8'd0;
	#50 opcode <= 4'b1110;	a <= 8'd1;
	

	#200 opcode <= 4'b1111;	a <= -8'd5;
	#50 opcode <= 4'b1111;	a <= 8'd10;
	#50 opcode <= 4'b1111;	a <= 8'd20;
	#50 opcode <= 4'b1111;	a <= 8'd127;
	#50 opcode <= 4'b1111;	a <= -8'd5;
	
end

PowerALU DUT(b, opcode, a, clk);

endmodule
module PowerALU_tb;

wire signed [7:0] b;
reg [3:0] opcode;
reg signed [7:0] a;
reg [32:0] i;
reg clk;

initial begin
for(i = 0; i < 270; i++) begin
	#25 clk = ~clk;
	end
$finish;
end

initial begin
	$dumpfile("PowerALU.vcd");
	$dumpvars(0,DUT);


	
	opcode <= 0;
	a      <= 0;
	i      <= 0;
	clk    <= 0;
	

	#13 opcode <= 4'b0000;	a <= 8'd10;
	#50 opcode <= 4'b0000;	a <= 8'd20;
	#50 opcode <= 4'b0000;	a <= -8'd15;
	

	#50 opcode <= 4'b0001;	a <= -8'd15;
	#50 opcode <= 4'b0001;	a <= 8'd10;
	#50 opcode <= 4'b0001;	a <= 8'd20;
	#50 opcode <= 4'b0001;	a <= 8'd127;
	

	#50 opcode <= 4'b0010;	a <= -8'd15;
	#50 opcode <= 4'b0010;	a <= 8'd10;
	#50 opcode <= 4'b0010;	a <= 8'd20;
	#50 opcode <= 4'b0010;	a <= 8'd127;
	#50 opcode <= 4'b0010;	a <= -8'd5;
	

	#200 opcode <= 4'b0011;	a <= -8'd5;
	#50 opcode <= 4'b0011;	a <= 8'd10;
	#50 opcode <= 4'b0011;	a <= 8'd20;
	#50 opcode <= 4'b0011;	a <= 8'd127;
	#50 opcode <= 4'b0011;	a <= -8'd5;
	

	#200 opcode<= 4'b0100;	a <= -8'd5;
	#50 opcode <= 4'b0100;	a <= 8'd10;
	#50 opcode <= 4'b0100;	a <= 8'd20;
	#50 opcode <= 4'b0100;	a <= 8'd127;
	#50 opcode <= 4'b0100;	a <= -8'd5;
	

	#200 opcode <= 4'b0101;	a <= -8'd5;
	#50 opcode <= 4'b0101;	a <= 8'd10;
	#50 opcode <= 4'b0101;	a <= 8'd20;
	#50 opcode <= 4'b0101;	a <= 8'd127;
    #50 opcode <= 4'b0101;	a <= -8'd128;
	#50 opcode <= 4'b0101;	a <= -8'd1;
	#50 opcode <= 4'b0101;	a <= 8'd1;
	

	#50 opcode <= 4'b0000;	a <= -8'd1;
	

	#50 opcode <= 4'b0110;	a <= -8'd2;
	#50 opcode <= 4'b0110;	a <= -8'd4;
	#50 opcode <= 4'b0110;	a <= -8'd8;
	#50 opcode <= 4'b0110;	a <= -8'd16;
	#50 opcode <= 4'b0110;	a <= -8'd32;
	
	#50 opcode <= 4'b0000;	a <= -8'd1;
	

	#200 opcode <= 4'b0111;	a <= -8'd5;
	#50 opcode <= 4'b0111;	a <= 8'd10;
	#50 opcode <= 4'b0111;	a <= 8'd20;
	#50 opcode <= 4'b0111;	a <= 8'd127;
	#50 opcode <= 4'b0111;	a <= -8'd5;
	
	#50 opcode <= 4'b0000;	a <= 8'b00010000;
	

	#200 opcode <= 4'b1000;	a <= -8'd5;
	#50 opcode <= 4'b1000;	a <= 8'd10;
	#50 opcode <= 4'b1000;	a <= 8'd20;
	#50 opcode <= 4'b1000;	a <= 8'd127;
	#50 opcode <= 4'b1000;	a <= -8'd5;
	
	#50 opcode <= 4'b0000;	a <= -8'd1;
	

	#200 opcode <= 4'b1001;	a <= 8'b00010000;
	#50 opcode <= 4'b1001;	a <= 8'b10010000;
	#50 opcode <= 4'b1001;	a <= 8'b00000010;
	#50 opcode <= 4'b1001;	a <= 8'b01010101;
	#50 opcode <= 4'b1001;	a <= 8'b11110000;
	
	#50 opcode <= 4'b0000;	a <= -8'd1;
	

	#200 opcode <= 4'b1010;	a <= -8'd5;
	#50 opcode <= 4'b1010;	a <= 8'd10;
	#50 opcode <= 4'b1010;	a <= 8'd20;
	#50 opcode <= 4'b1010;	a <= 8'd127;
	#50 opcode <= 4'b1010;	a <= -8'd5;
	
	#50 opcode <= 4'b0000;	a <= -8'd1;
	

	#200 opcode <= 4'b1011;	a <= -8'd5;
	#50 opcode <= 4'b1011;	a <= 8'd10;
	#50 opcode <= 4'b1011;	a <= 8'd20;
	#50 opcode <= 4'b1011;	a <= 8'd127;
	#50 opcode <= 4'b1011;	a <= -8'd5;
	

	#200 opcode <= 4'b1100;	a <= -8'd5;
	#50 opcode <= 4'b1100;	a <= 8'd10;
	#50 opcode <= 4'b1100;	a <= 8'd20;
	#50 opcode <= 4'b1100;	a <= 8'd127;
	#50 opcode <= 4'b1100;	a <= -8'd5;
	

	#200 opcode <= 4'b1101;	a <= -8'd5;
	#50 opcode <= 4'b1101;	a <= 8'd10;
	#50 opcode <= 4'b1101;	a <= 8'd20;
	#50 opcode <= 4'b1101;	a <= 8'd127;
	#50 opcode <= 4'b1101;	a <= -8'd5;
	
	#50 opcode <= 4'b0000;	a <= -8'd13;
	

	#200 opcode <= 4'b1110;	a <= -8'd13;
	#50 opcode <= 4'b1110;	a <= 8'd1;
	#50 opcode <= 4'b1110;	a <= 8'd0;
	#50 opcode <= 4'b1110;	a <= 8'd0;
	#50 opcode <= 4'b1110;	a <= 8'd1;
	

	#200 opcode <= 4'b1111;	a <= -8'd5;
	#50 opcode <= 4'b1111;	a <= 8'd10;
	#50 opcode <= 4'b1111;	a <= 8'd20;
	#50 opcode <= 4'b1111;	a <= 8'd127;
	#50 opcode <= 4'b1111;	a <= -8'd5;
	
end

PowerALU DUT(b, opcode, a, clk);

endmodule