feat(cpu): charge non-refill code at pipeline fetch addresses
This commit is contained in:
parent
0a696ea3e7
commit
0650b60908
26 changed files with 413 additions and 46 deletions
|
|
@ -11,6 +11,12 @@ pub(crate) struct InstructionFetch {
|
|||
pub(super) bus_word: Option<u32>,
|
||||
}
|
||||
|
||||
impl InstructionFetch {
|
||||
pub(crate) fn address(&self) -> u32 {
|
||||
self.address
|
||||
}
|
||||
}
|
||||
|
||||
impl Memory {
|
||||
pub(crate) fn fetch_instruction(
|
||||
&self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue