rename_execute_retire::MOpInstance: use FETCH_BLOCK_ID_WIDTH
This commit is contained in:
parent
7acfaebfde
commit
9cecc6aaa0
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ use crate::{
|
||||||
COMMON_MOP_SRC_LEN, L2RegNum, MOp, MOpDestReg, MOpRegNum, MOpTrait, PRegNum, ReadL2RegMOp,
|
COMMON_MOP_SRC_LEN, L2RegNum, MOp, MOpDestReg, MOpRegNum, MOpTrait, PRegNum, ReadL2RegMOp,
|
||||||
UnitNum, UnitOutRegNum, WriteL2RegMOp,
|
UnitNum, UnitOutRegNum, WriteL2RegMOp,
|
||||||
},
|
},
|
||||||
next_pc::{CallStackOp, SimValueDefault},
|
next_pc::{CallStackOp, FETCH_BLOCK_ID_WIDTH, SimValueDefault},
|
||||||
register::{FlagsMode, PRegFlagsPowerISA, PRegValue},
|
register::{FlagsMode, PRegFlagsPowerISA, PRegValue},
|
||||||
rename_execute_retire::{
|
rename_execute_retire::{
|
||||||
rename_table::{RenameTable, RenameTableDebugState, RenameTableEntry, RenameTableUpdate},
|
rename_table::{RenameTable, RenameTableDebugState, RenameTableEntry, RenameTableUpdate},
|
||||||
|
|
@ -42,7 +42,7 @@ pub type MOpId = UInt<{ MOP_ID_WIDTH }>;
|
||||||
#[hdl(custom_debug(sim))]
|
#[hdl(custom_debug(sim))]
|
||||||
/// A µOp along with the state needed for this instance of the µOp.
|
/// A µOp along with the state needed for this instance of the µOp.
|
||||||
pub struct MOpInstance<MOp> {
|
pub struct MOpInstance<MOp> {
|
||||||
pub fetch_block_id: UInt<8>,
|
pub fetch_block_id: UInt<{ FETCH_BLOCK_ID_WIDTH }>,
|
||||||
pub id: MOpId,
|
pub id: MOpId,
|
||||||
pub pc: UInt<64>,
|
pub pc: UInt<64>,
|
||||||
/// initialized to 0 by decoder, overwritten by `next_pc()`
|
/// initialized to 0 by decoder, overwritten by `next_pc()`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue