OpenCores
URL https://opencores.org/ocsvn/zap/zap/trunk

Subversion Repositories zap

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /zap/trunk
    from Rev 39 to Rev 38
    Reverse comparison

Rev 39 → Rev 38

/src/rtl/cpu/zap_decompile.v
336,9 → 336,9
task decode_mult ( input [INS_WDT-1:0] i_instruction );
begin
if ( i_instruction[21] == 1'd0 )
$sformat(o_decompile, "MUL%s %s,%s,%s",`CCC,`CRN,`CRD,arch_reg_num(i_instruction[11:8]));
$sformat(o_decompile, "MUL%s %s,%s,%s",`CCC,`CRD,`CRB,arch_reg_num(i_instruction[11:8]));
else
$sformat(o_decompile, "MLA%s %s,%s,%s,%s",`CCC,`CRN,`CRD,arch_reg_num(i_instruction[11:8]), arch_reg_num(i_instruction[3:0]));
$sformat(o_decompile, "MUL%s %s,%s,%s",`CCC,`CRD,`CRB,arch_reg_num(i_instruction[11:8]));
end
endtask
 
/src/rtl/cpu/zap_fetch_main.v
77,7 → 77,7
input wire i_confirm_from_alu, // Confirm branch prediction from ALU.
input wire [31:0] i_pc_from_alu, // Address of branch.
input wire [1:0] i_taken, // Predicted status.
output wire [1:0] o_taken_ff // Prediction. Not a flip-flop...
output wire [1:0] o_taken_ff // Prediction.
 
);
 
91,12 → 91,6
// If an instruction abort occurs, this unit sleeps until it is woken up.
reg sleep_ff;
 
// Taken_v
wire [1:0] taken_v;
 
// Predict non branches as not taken...
assign o_taken_ff = i_instruction[28:26] == 3'b101 ? taken_v : SNT;
 
// ----------------------------------------------------------------------------
 
//
244,7 → 238,7
),
 
// Send the read data over to o_taken_ff which is a 2-bit value.
.o_rd_data(taken_v)
.o_rd_data(o_taken_ff)
);
 
// ----------------------------------------------------------------------------
/src/scripts/makefile
20,7 → 20,7
.PHONY: dirs
.PHONY: cleanall
 
ARCH := armv5t
ARCH := armv4t
TC := $(shell basename `pwd`)
GCC_PATH := ../../../obj/gcc-arm-none-eabi-*/bin/
SCRIPT_PATH := ../../scripts/

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.