Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 2.8 KB

IBuf.md

File metadata and controls

51 lines (40 loc) · 2.8 KB

A buffer in between of IF and ID to handle RVC.


class Instruction

Instruction data struction from instruction fetch unit.

  • Bundle component
name type description
pf0 Bool page fault on the first half of instruction
pf1 Bool page fault on the second half of instruction
ae0 Bool access exception on the first half of instruction
ae1 Bool access exception on the second half of instruction
replay Bool replay this instruction due to instruction cache
btb_hit Bool indicated a predicted branch target (taken)
rvc Bool RVC instructions
inst ExpandedInstruction expanded instruction
raw UInt raw instruction

class IBuf

Buffer for decoding RVC instructions This module is not fully implemented yet.

  • I/O, type and parameters
name type direction description
p Parameters param configuration
imem DecoupledIO[FrontendResp] I fetched instructiond from instruction cache
kill Bool I kill instructions from core pipe
pc UInt O current PC of IF
btb_resp BTBResp O update to BTB for RAS
inst Vec[DecoupledIO[Instruction]] O instructions for core pipe




Last updated: 08/07/2017
CC BY-NC-SA 4.0, © (2017) Wei Song
Apache 2.0, © (2016-2017) SiFive, Inc
BSD, © (2012-2014, 2016) The Regents of the University of California (Regents)