|
// Verilog stimulus file. // Please do not create a module in this file. // Default verilog stimulus. initial begin //and $display("AND: ALU control input: 000"); $display(" A B Zero Result"); ALUOp[2:0] = 3'b000; A[31:0] = 32'h00000000; B[31:0] = 32'h00000000; #500 $display("%x %x %x %x",A,B,Zero,Result); A[31:0] = 32'h0f0f0f0f; B[31:0] = 32'hf0f0f0f0; #500 $display("%x %x %x %x",A,B,Zero,Result); A[31:0] = 32'hf0f0f0f0; B[31:0] = 32'h0f0f0f0f; #500 $display("%x %x %x %x",A,B,Zero,Result); A[31:0] = 32'hffffffff; B[31:0] = 32'hffffffff; #500 $display("%x %x %x %x",A,B,Zero,Result); A[31:0] = 32'hd8a3b8d4; B[31:0] = 32'h63b9d6f2; #500 $display("%x %x %x 40a190d0 %x",A,B,Zero,Result); //add your code here for or option refer to input data in Simulation table. //add your code here for addition refer to input data in Simulation table. //add your code here for subtraction refer to input data in Simulation table. //add your code here for set on less refer to input data in Simulation table. $finish; end//