Line 1... |
Line 1... |
/**
|
/*
|
* @file
|
* Copyright 2018 Sergey Khabarov, sergeykhbr@gmail.com
|
* @copyright Copyright 2016 GNSS Sensor Ltd. All right reserved.
|
*
|
* @author Sergey Khabarov - sergeykhbr@gmail.com
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
* @brief CPU Instruction Execution stage.
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
*/
|
*/
|
|
|
#ifndef __DEBUGGER_RIVERLIB_EXECUTE_H__
|
#ifndef __DEBUGGER_RIVERLIB_EXECUTE_H__
|
#define __DEBUGGER_RIVERLIB_EXECUTE_H__
|
#define __DEBUGGER_RIVERLIB_EXECUTE_H__
|
|
|
Line 28... |
Line 37... |
sc_in<bool> i_memop_load; // Load from memoru operation
|
sc_in<bool> i_memop_load; // Load from memoru operation
|
sc_in<bool> i_memop_sign_ext; // Load memory value with sign extending
|
sc_in<bool> i_memop_sign_ext; // Load memory value with sign extending
|
sc_in<sc_uint<2>> i_memop_size; // Memory transaction size
|
sc_in<sc_uint<2>> i_memop_size; // Memory transaction size
|
sc_in<bool> i_unsigned_op; // Unsigned operands
|
sc_in<bool> i_unsigned_op; // Unsigned operands
|
sc_in<bool> i_rv32; // 32-bits instruction
|
sc_in<bool> i_rv32; // 32-bits instruction
|
|
sc_in<bool> i_compressed; // C-extension (2-bytes length)
|
sc_in<sc_bv<ISA_Total>> i_isa_type; // Type of the instruction's structure (ISA spec.)
|
sc_in<sc_bv<ISA_Total>> i_isa_type; // Type of the instruction's structure (ISA spec.)
|
sc_in<sc_bv<Instr_Total>> i_ivec; // One pulse per supported instruction.
|
sc_in<sc_bv<Instr_Total>> i_ivec; // One pulse per supported instruction.
|
sc_in<bool> i_ie; // Interrupt enable bit
|
sc_in<bool> i_ie; // Interrupt enable bit
|
sc_in<sc_uint<BUS_ADDR_WIDTH>> i_mtvec; // Interrupt descriptor table
|
sc_in<sc_uint<BUS_ADDR_WIDTH>> i_mtvec; // Interrupt descriptor table
|
sc_in<sc_uint<2>> i_mode; // Current processor mode
|
sc_in<sc_uint<2>> i_mode; // Current processor mode
|