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

Subversion Repositories altor32

[/] [altor32/] [trunk/] [rtl/] [cpu/] [altor32_lsu.v] - Diff between revs 27 and 36

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 27 Rev 36
Line 1... Line 1...
//-----------------------------------------------------------------
//-----------------------------------------------------------------
//                           AltOR32 
//                           AltOR32 
//                Alternative Lightweight OpenRisc 
//                Alternative Lightweight OpenRisc 
//                            V2.0
//                            V2.1
//                     Ultra-Embedded.com
//                     Ultra-Embedded.com
//                   Copyright 2011 - 2013
//                   Copyright 2011 - 2014
//
//
//               Email: admin@ultra-embedded.com
//               Email: admin@ultra-embedded.com
//
//
//                       License: LGPL
//                       License: LGPL
//-----------------------------------------------------------------
//-----------------------------------------------------------------
Line 34... Line 34...
// Free Software Foundation, Inc., 59 Temple Place, Suite 330, 
// Free Software Foundation, Inc., 59 Temple Place, Suite 330, 
// Boston, MA  02111-1307  USA
// Boston, MA  02111-1307  USA
//-----------------------------------------------------------------
//-----------------------------------------------------------------
 
 
//-----------------------------------------------------------------
//-----------------------------------------------------------------
// Includes
 
//-----------------------------------------------------------------
 
`include "altor32_defs.v"
 
 
 
//-----------------------------------------------------------------
 
// Module: Load / Store Unit
// Module: Load / Store Unit
//-----------------------------------------------------------------
//-----------------------------------------------------------------
module altor32_lsu
module altor32_lsu
(
(
    // Current instruction
    // Current instruction
Line 72... Line 67...
 
 
    // Stall pipeline due load / store / insert
    // Stall pipeline due load / store / insert
    output reg          stall_o /*verilator public*/
    output reg          stall_o /*verilator public*/
);
);
 
 
 
//-----------------------------------------------------------------
 
// Includes
 
//-----------------------------------------------------------------
 
`include "altor32_defs.v"
 
`include "altor32_funcs.v"
 
 
//-------------------------------------------------------------------
//-------------------------------------------------------------------
// Outstanding memory access logic
// Outstanding memory access logic
//-------------------------------------------------------------------
//-------------------------------------------------------------------
reg v_inst_load;
reg v_inst_load;
reg v_inst_store;
reg v_inst_store;
Line 152... Line 153...
            stall_o         = 1'b1;
            stall_o         = 1'b1;
        end
        end
    end
    end
end
end
 
 
`include "altor32_funcs.v"
 
 
 
endmodule
endmodule
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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