central-arch/pkg/mmu/mmu.go

26 lines
549 B
Go
Raw Permalink Normal View History

2024-11-01 10:54:59 +00:00
package mmu
import (
"git.elyanpoujol.fr/elyan/central-arch/pkg/memory"
"git.elyanpoujol.fr/elyan/central-arch/pkg/simcontext"
)
// TODO Add a field of type MmuState
type MMU struct{}
func (m *MMU) Read(addr uint32) (uint32, error) {
panic("Not implemented yet")
}
func (m *MMU) Write(addr uint32, value uint32) error {
panic("Not implemented yet")
}
func (m *MMU) Fetch(addr uint32) (uint32, error) {
panic("Not implemented yet")
}
func New(context simcontext.SimContext, realMemory memory.Memory) *MMU {
panic("Not implemented yet")
}