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

Subversion Repositories zap

Compare Revisions

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

Rev 38 → Rev 39

/trunk/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,`CRD,`CRB,arch_reg_num(i_instruction[11:8]));
$sformat(o_decompile, "MUL%s %s,%s,%s",`CCC,`CRN,`CRD,arch_reg_num(i_instruction[11:8]));
else
$sformat(o_decompile, "MUL%s %s,%s,%s",`CCC,`CRD,`CRB,arch_reg_num(i_instruction[11:8]));
$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]));
end
endtask
 
/trunk/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.
output wire [1:0] o_taken_ff // Prediction. Not a flip-flop...
 
);
 
91,6 → 91,12
// 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;
 
// ----------------------------------------------------------------------------
 
//
238,7 → 244,7
),
 
// Send the read data over to o_taken_ff which is a 2-bit value.
.o_rd_data(o_taken_ff)
.o_rd_data(taken_v)
);
 
// ----------------------------------------------------------------------------
/trunk/src/scripts/makefile
20,7 → 20,7
.PHONY: dirs
.PHONY: cleanall
 
ARCH := armv4t
ARCH := armv5t
TC := $(shell basename `pwd`)
GCC_PATH := ../../../obj/gcc-arm-none-eabi-*/bin/
SCRIPT_PATH := ../../scripts/

powered by: WebSVN 2.1.0

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