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

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [vlog/] [amber23/] [a23_execute.v] - Diff between revs 72 and 73

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

Rev 72 Rev 73
Line 39... Line 39...
// Public License along with this source; if not, download it   //
// Public License along with this source; if not, download it   //
// from http://www.opencores.org/lgpl.shtml                     //
// from http://www.opencores.org/lgpl.shtml                     //
//                                                              //
//                                                              //
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
 
 
 
`include "a23_config_defines.v"
 
 
module a23_execute (
module a23_execute (
 
 
input                       i_clk,
input                       i_clk,
input       [31:0]          i_read_data,
input       [31:0]          i_read_data,
Line 509... Line 510...
 
 
 
 
// ========================================================
// ========================================================
// Instantiate Register Bank
// Instantiate Register Bank
// ========================================================
// ========================================================
 
`ifndef A23_RAM_REGISTER_BANK
a23_register_bank u_register_bank(
a23_register_bank u_register_bank(
    .i_clk                   ( i_clk                     ),
    .i_clk                   ( i_clk                     ),
    .i_fetch_stall           ( i_fetch_stall             ),
    .i_fetch_stall           ( i_fetch_stall             ),
    .i_rm_sel                ( i_rm_sel                  ),
    .i_rm_sel                ( i_rm_sel                  ),
    .i_rds_sel               ( i_rds_sel                 ),
    .i_rds_sel               ( i_rds_sel                 ),
Line 539... Line 541...
    .o_rs                    ( rs                        ),
    .o_rs                    ( rs                        ),
    .o_rd                    ( rd                        ),
    .o_rd                    ( rd                        ),
    .o_rn                    ( rn                        ),
    .o_rn                    ( rn                        ),
    .o_pc                    ( pc                        )
    .o_pc                    ( pc                        )
);
);
 
`else
 
a23_ram_register_bank u_register_bank(
 
    .i_clk                   ( i_clk                     ),
 
    .i_fetch_stall           ( i_fetch_stall             ),
 
    .i_rm_sel                ( i_rm_sel_nxt              ),
 
    .i_rds_sel               ( i_rds_sel_nxt             ),
 
    .i_rn_sel                ( i_rn_sel_nxt              ),
 
    .i_pc_wen                ( pc_wen                    ),
 
    .i_reg_bank_wsel         ( reg_bank_wsel             ),
 
    .i_pc                    ( pc_nxt[25:2]              ),
 
    .i_reg                   ( reg_write_nxt             ),
 
 
 
    .i_mode_exec_nxt         ( status_bits_mode_nr       ),
 
    .i_mode_exec             ( status_bits_mode          ),
 
    .i_mode_rds_exec         ( status_bits_mode_rds_nr   ),
 
    .i_user_mode_regs_load   ( i_user_mode_regs_load     ),
 
 
 
    .i_status_bits_flags     ( status_bits_flags         ),
 
    .i_status_bits_irq_mask  ( status_bits_irq_mask      ),
 
    .i_status_bits_firq_mask ( status_bits_firq_mask     ),
 
 
 
    .o_rm                    ( rm                        ),
 
    .o_rs                    ( rs                        ),
 
    .o_rd                    ( rd                        ),
 
    .o_rn                    ( rn                        ),
 
    .o_pc                    ( pc                        )
 
);
 
`endif
 
 
// ========================================================
// ========================================================
// Debug - non-synthesizable code
// Debug - non-synthesizable code
// ========================================================
// ========================================================
//synopsys translate_off
//synopsys translate_off

powered by: WebSVN 2.1.0

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