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

Subversion Repositories altor32

[/] [altor32/] [trunk/] [rtl/] [cpu/] [altor32_regfile_sim.v] - Diff between revs 27 and 32

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

Rev 27 Rev 32
Line 49... Line 49...
    input           rst_i               /*verilator public*/,
    input           rst_i               /*verilator public*/,
    input           wr_i                /*verilator public*/,
    input           wr_i                /*verilator public*/,
    input [4:0]     rs_i                /*verilator public*/,
    input [4:0]     rs_i                /*verilator public*/,
    input [4:0]     rt_i                /*verilator public*/,
    input [4:0]     rt_i                /*verilator public*/,
    input [4:0]     rd_i                /*verilator public*/,
    input [4:0]     rd_i                /*verilator public*/,
    output [31:0]   reg_rs_o            /*verilator public*/,
    output reg [31:0] reg_rs_o            /*verilator public*/,
    output [31:0]   reg_rt_o            /*verilator public*/,
    output reg [31:0] reg_rt_o            /*verilator public*/,
    input [31:0]    reg_rd_i            /*verilator public*/
    input [31:0]    reg_rd_i            /*verilator public*/
);
);
 
 
//-----------------------------------------------------------------
//-----------------------------------------------------------------
// Params
// Params
Line 96... Line 96...
reg [31:0] reg_r28;
reg [31:0] reg_r28;
reg [31:0] reg_r29;
reg [31:0] reg_r29;
reg [31:0] reg_r30;
reg [31:0] reg_r30;
reg [31:0] reg_r31;
reg [31:0] reg_r31;
 
 
reg [31:0] reg_rs_o;
 
reg [31:0] reg_rt_o;
 
 
 
//-----------------------------------------------------------------
//-----------------------------------------------------------------
// Register File (for simulation)
// Register File (for simulation)
//-----------------------------------------------------------------
//-----------------------------------------------------------------
 
 
// Synchronous register write back
// Synchronous register write back

powered by: WebSVN 2.1.0

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