central-arch/pkg/mmu/mmu.go
2024-11-01 11:54:59 +01:00

26 lines
549 B
Go

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")
}