Pass hazard test
This commit is contained in:
Binary file not shown.
@@ -7,17 +7,11 @@ module InstructionMemory (
|
||||
|
||||
always @(*) begin
|
||||
case (address[31:2])
|
||||
20'd0: instruction <= 32'h3c104000;
|
||||
20'd6: instruction <= 32'h2011000a;
|
||||
20'd11: instruction <= 32'hae110010;
|
||||
20'd16: instruction <= 32'h8e120010;
|
||||
20'd21: instruction <= 32'h2231fffe;
|
||||
20'd26: instruction <= 32'h02329820;
|
||||
20'd31: instruction <= 32'h02529821;
|
||||
20'd36: instruction <= 32'h02519822;
|
||||
20'd41: instruction <= 32'h02338823;
|
||||
20'd46: instruction <= 32'h26310004;
|
||||
20'd51: instruction <= 32'h02339018;
|
||||
20'd0: instruction <= 32'h3c104000; // lui $s0, 0x4000
|
||||
20'd1: instruction <= 32'h20110001; // addi $s1, $zero, 1
|
||||
20'd2: instruction <= 32'hae110000; // sw $s1, 0($s0)
|
||||
20'd3: instruction <= 32'h8e120000; // lw $s2, 0($s0)
|
||||
20'd4: instruction <= 32'hae120004; // sw $s2, 4($s0)
|
||||
default: instruction <= 32'h00000000;
|
||||
endcase
|
||||
end
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<Option Name="IPStaticSourceDir" Val="$PIPUSERFILESDIR/ipstatic"/>
|
||||
<Option Name="EnableBDX" Val="FALSE"/>
|
||||
<Option Name="FeatureSet" Val="FeatureSet_Classic"/>
|
||||
<Option Name="WTXSimLaunchSim" Val="233"/>
|
||||
<Option Name="WTXSimLaunchSim" Val="235"/>
|
||||
<Option Name="WTModelSimLaunchSim" Val="0"/>
|
||||
<Option Name="WTQuestaLaunchSim" Val="0"/>
|
||||
<Option Name="WTIesLaunchSim" Val="0"/>
|
||||
|
||||
Reference in New Issue
Block a user