E203 蜂鸟 RISC-V处理器代码阅读笔记 之 执行单元指令冲突处理Outstanding Instruction Track FiFo e203_exu_oitf.v

**这个文章记录了我学习RISC-V蜂鸟E203处理器的学习历程**针对代码的学习,我结合自己的理解对每个module的接口,以及内部关键信号做了详细的注释说明原创不易,请保护版权,须转载请私信通知联系作者,并请注明出处,标出原始链接,谢谢~~~e203_exu_oitf.v /* Copyright 2017 Silicon Integrated Micr
摘要由CSDN通过智能技术生成
**这个文章记录了我学习RISC-V蜂鸟E203处理器的学习历程**

针对代码的学习,我结合自己的理解对每个module的接口,以及内部关键信号做了详细的注释说明
原创不易,请保护版权,须转载请私信通知联系作者,并请注明出处,标出原始链接,谢谢~~~
e203_exu_oitf.v

 /*                                                                      
 Copyright 2017 Silicon Integrated Microelectronics, Inc.                
                                                                         
 Licensed under the Apache License, Version 2.0 (the "License");         
 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.                                          
 */                                                                      
                                                                         
                                                                         
                                                                         
//=====================================================================
//--        _______   ___
//--       (   ____/ /__/
//--        \ \     __
//--     ____\ \   / /
//--    /_______\ /_/   MICROELECTRONICS
//--
//=====================================================================
// Designer   : Bob Hu
//
// Description:
//  The OITF (Oustanding Instructions Track FIFO) to hold all the non-ALU long
//  pipeline instruction's status and information
//
// ====================================================================
`include "e203_defines.v"

module e203_exu_oitf (
  output dis_ready, //oitf 非满,可以进行派遣,即可以允许指令入oitf

  input  dis_ena, //指令检查完了相关性,需要被派遣,需要写入oitf
  input  ret_ena, //指令完成了结果回写,需要从oitf中弹出

  output [`E203_ITAG_WIDTH-1:0] dis_ptr, // oitf fifo的写地址
  output [`E203_ITAG_WIDTH-1:0] ret_ptr, // oitf fifo的读地址

  output [`E203_RFIDX_WIDTH-1:0] ret_rdidx, // 回写的指令的目的操作数rd的地址
  output ret_rdwen,                         // 回写的指令是否有需要写入的目的操作数rd
  output ret_rdfpu,                         // 回写的指令的目的操作数是否是浮点操作数
  output [`E203_PC_SIZE-1:0] ret_pc,        // 回写的指令的pc值
                      //待派遣指令的信息
  input  disp_i_rs1en, // 待派遣指令是否有rs1操作数
  input  disp_i_rs2en, //                 rs2操作数
  input  disp_i_rs3en, //                 rs3操作数
  input  disp_i_rdwen, //                 rd操作数
  input  disp_i_rs1fpu, // 待派遣指令操作数是否为浮点操作数
  input  disp_i_rs2fpu,
  input  disp_i_rs3fpu,
  input  disp_i_rdfpu,
  input  [`E203_RFIDX_WIDTH-1:0] disp_i_rs1idx, //待派遣指令操作数的地址
  input  [`E203_RFIDX_WIDTH-1:0] disp_i_rs2idx,
  • 1
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值