这个文章记录了我学习RISC-V蜂鸟E203处理器的学习历程
针对代码的学习,我结合自己的理解对每个module的接口,以及内部关键信号做了详细的注释说明
原创不易,请保护版权,须转载请私信通知联系作者,并请注明出处,标出原始链接,谢谢~~~
e203_exu_regfile.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 Regfile module to implement the core's general purpose registers file
//
// ====================================================================
// +++++++++++++++++++++++++++++++
// 这个文件记载的是cpu核的通用寄存器组的实现
// 读操作是直接译码取结果,读和读结果是直接的组合逻辑,写是1拍写入
// +++++++++++++++++++++++++++++++
`include "e203_defines.v"
module e203_exu_regfile(
input [`E203_RFIDX_WIDTH-1:0] read_src1_idx,

本文详细记录了作者在学习RISC-V架构蜂鸟E203处理器时,对`e203_exu_regfile.v`模块的代码阅读和理解过程。通过注释关键接口和内部信号,深入探讨了CPU通用寄存器组的工作原理。
最低0.47元/天 解锁文章
3300

被折叠的 条评论
为什么被折叠?



