Line 2... |
Line 2... |
//
|
//
|
// This file is part of the M32632 project
|
// This file is part of the M32632 project
|
// http://opencores.org/project,m32632
|
// http://opencores.org/project,m32632
|
//
|
//
|
// Filename: DATENPFAD.v
|
// Filename: DATENPFAD.v
|
// Version: 3.0 Cache Interface reworked
|
// Project: M32632
|
// History: 2.1 bug fix of 26 November 2016
|
// Version: 3.1 bug fix of 25 February 2019
|
|
// History: 3.0 Cache Interface reworked
|
|
// 2.1 bug fix of 26 November 2016
|
// 1.1 bug fix of 7 October 2015
|
// 1.1 bug fix of 7 October 2015
|
// 1.0 first release of 30 Mai 2015
|
// 1.0 first release of 30 Mai 2015
|
// Date: 2 December 2018
|
// Author: Udo Moeller
|
|
// Date: 8 July 2017
|
//
|
//
|
// Copyright (C) 2018 Udo Moeller
|
// Copyright (C) 2019 Udo Moeller
|
//
|
//
|
// This source file may be used and distributed without
|
// This source file may be used and distributed without
|
// restriction provided that this copyright statement is not
|
// restriction provided that this copyright statement is not
|
// removed from the file and that any derivative work contains
|
// removed from the file and that any derivative work contains
|
// the original copyright notice and the associated disclaimer.
|
// the original copyright notice and the associated disclaimer.
|
Line 41... |
Line 44... |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
module DATENPFAD( BCLK, BRESET, WREN, IO_READY, LD_DIN, LD_IMME, WR_REG, IC_USER, ACC_FELD, ACC_STAT, DIN, DISP, IC_TEX,
|
module DATENPFAD( BCLK, BRESET, WREN, IO_READY, LD_DIN, LD_IMME, WR_REG, IC_USER, ACC_FELD, ACC_STAT, DIN, DISP, IC_TEX,
|
IMME_Q, INFO_AU, LD_OUT, DETOIP, MMU_UPDATE, OPER, PC_ARCHI, PC_ICACHE, RDAA, RDAB, START, WMASKE,
|
IMME_Q, INFO_AU, LD_OUT, DETOIP, MMU_UPDATE, OPER, PC_ARCHI, PC_ICACHE, RDAA, RDAB, START, WMASKE,
|
WRADR, DONE, Y_INIT, WRITE_OUT, READ_OUT, ZTEST, RMW, QWATWO, ACC_DONE, CTRL_QW, PTB_SEL, PTB_WR, ACB_ZERO,
|
WRADR, DONE, Y_INIT, WRITE_OUT, READ_OUT, ZTEST, RMW, QWATWO, ACC_DONE, CTRL_QW, PTB_SEL, PTB_WR, ACB_ZERO,
|
ABORT, SAVE_PC, CFG, CINV, DP_Q, IVAR, MCR, PACKET, PC_NEW, PSR, SIZE, STRING, TRAPS, VADR, RWVFLAG,
|
ABORT, SAVE_PC, CFG, CINV, DP_Q, IVAR, IVAR_MUX, MCR, PACKET, PC_NEW, PSR, SIZE, STRING, TRAPS, VADR, RWVFLAG,
|
DBG_HIT, DBG_IN, COP_GO, COP_OP, COP_IN, COP_DONE, COP_OUT);
|
DBG_HIT, DBG_IN, COP_GO, COP_OP, COP_IN, COP_DONE, COP_OUT);
|
|
|
input BCLK;
|
input BCLK;
|
input BRESET;
|
input BRESET;
|
input WREN; // write enable of the register file
|
input WREN; // write enable of the register file
|
Line 94... |
Line 97... |
output SAVE_PC;
|
output SAVE_PC;
|
output [12:0] CFG;
|
output [12:0] CFG;
|
output [3:0] CINV;
|
output [3:0] CINV;
|
output [63:0] DP_Q;
|
output [63:0] DP_Q;
|
output [1:0] IVAR;
|
output [1:0] IVAR;
|
|
output IVAR_MUX;
|
output [3:0] MCR;
|
output [3:0] MCR;
|
output [3:0] PACKET;
|
output [3:0] PACKET;
|
output [31:0] PC_NEW;
|
output [31:0] PC_NEW;
|
output [11:0] PSR;
|
output [11:0] PSR;
|
output [1:0] SIZE;
|
output [1:0] SIZE;
|
Line 143... |
Line 147... |
wire [31:0] OUT_A,OUT_B;
|
wire [31:0] OUT_A,OUT_B;
|
wire SP_MUX;
|
wire SP_MUX;
|
wire [31:0] I_OUT;
|
wire [31:0] I_OUT;
|
wire [31:0] FP_OUT;
|
wire [31:0] FP_OUT;
|
wire DOWR;
|
wire DOWR;
|
wire [31:0] DEST1,DEST2;
|
|
wire ENWR;
|
wire ENWR;
|
wire [3:0] OVF_BCD;
|
wire [3:0] OVF_BCD;
|
wire [3:0] DSR;
|
wire [3:0] DSR;
|
wire acb_zero_i;
|
wire acb_zero_i;
|
wire [31:0] BMASKE;
|
wire [31:0] BMASKE;
|
Line 323... |
Line 326... |
.PTB_WR(PTB_WR),
|
.PTB_WR(PTB_WR),
|
.PTB_SEL(PTB_SEL),
|
.PTB_SEL(PTB_SEL),
|
.CFG(CFG),
|
.CFG(CFG),
|
.CINV(CINV),
|
.CINV(CINV),
|
.IVAR(IVAR),
|
.IVAR(IVAR),
|
|
.IVAR_MUX(IVAR_MUX),
|
.Y_INIT(Y_INIT),
|
.Y_INIT(Y_INIT),
|
.MCR(MCR),
|
.MCR(MCR),
|
.DBG_TRAPS(TRAPS[5:3]),
|
.DBG_TRAPS(TRAPS[5:3]),
|
.PC_ARCHI(PC_ARCHI),
|
.PC_ARCHI(PC_ARCHI),
|
.DSR(DSR),
|
.DSR(DSR),
|