gem5  v21.0.1.0
Public Member Functions | Public Attributes | List of all members
Minor::Fetch1::Fetch1ThreadInfo Struct Reference

Stage cycle-by-cycle state. More...

#include <fetch1.hh>

Public Member Functions

 Fetch1ThreadInfo ()
 Consturctor to initialize all fields. More...
 
 Fetch1ThreadInfo (const Fetch1ThreadInfo &other)
 

Public Attributes

FetchState state
 
TheISA::PCState pc
 Fetch PC value. More...
 
InstSeqNum streamSeqNum
 Stream sequence number. More...
 
InstSeqNum predictionSeqNum
 Prediction sequence number. More...
 
bool blocked
 Blocked indication for report. More...
 
bool wakeupGuard
 Signal to guard against sleeping first cycle of wakeup. More...
 

Detailed Description

Stage cycle-by-cycle state.

Definition at line 238 of file fetch1.hh.

Constructor & Destructor Documentation

◆ Fetch1ThreadInfo() [1/2]

Minor::Fetch1::Fetch1ThreadInfo::Fetch1ThreadInfo ( )
inline

Consturctor to initialize all fields.

Definition at line 241 of file fetch1.hh.

◆ Fetch1ThreadInfo() [2/2]

Minor::Fetch1::Fetch1ThreadInfo::Fetch1ThreadInfo ( const Fetch1ThreadInfo other)
inline

Definition at line 250 of file fetch1.hh.

Member Data Documentation

◆ blocked

bool Minor::Fetch1::Fetch1ThreadInfo::blocked

Blocked indication for report.

Definition at line 277 of file fetch1.hh.

Referenced by Minor::Fetch1::minorTrace().

◆ pc

TheISA::PCState Minor::Fetch1::Fetch1ThreadInfo::pc

Fetch PC value.

This is updated by branches from Execute, branch prediction targets from Fetch2 and by incrementing it as we fetch lines subsequent to those two sources.

Definition at line 263 of file fetch1.hh.

Referenced by Minor::Fetch1::changeStream(), Minor::Fetch1::fetchLine(), and Minor::Fetch1::wakeupFetch().

◆ predictionSeqNum

InstSeqNum Minor::Fetch1::Fetch1ThreadInfo::predictionSeqNum

Prediction sequence number.

This changes when requests from Execute or Fetch2 ask for a change of fetch address and is used to tag lines by the prediction to which they belong. Fetch2 originates prediction sequence numbers.

Definition at line 274 of file fetch1.hh.

Referenced by Minor::Fetch1::fetchLine(), Minor::Fetch1::FetchRequest::isDiscardable(), and Minor::Fetch1::updateExpectedSeqNums().

◆ state

FetchState Minor::Fetch1::Fetch1ThreadInfo::state

◆ streamSeqNum

InstSeqNum Minor::Fetch1::Fetch1ThreadInfo::streamSeqNum

Stream sequence number.

This changes on request from Execute and is used to tag instructions by the fetch stream to which they belong. Execute originates new prediction sequence numbers.

Definition at line 268 of file fetch1.hh.

Referenced by Minor::Fetch1::evaluate(), Minor::Fetch1::fetchLine(), Minor::Fetch1::FetchRequest::isDiscardable(), Minor::Fetch1::minorTrace(), and Minor::Fetch1::updateExpectedSeqNums().

◆ wakeupGuard

bool Minor::Fetch1::Fetch1ThreadInfo::wakeupGuard

Signal to guard against sleeping first cycle of wakeup.

Definition at line 280 of file fetch1.hh.

Referenced by Minor::Fetch1::changeStream(), and Minor::Fetch1::wakeupFetch().


The documentation for this struct was generated from the following file:

Generated on Tue Jun 22 2021 15:29:08 for gem5 by doxygen 1.8.17