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

26 lines
563 B
Go

package cache
import (
"git.elyanpoujol.fr/elyan/central-arch/pkg/memory"
"git.elyanpoujol.fr/elyan/central-arch/pkg/simcontext"
)
// TODO Add a field of type CacheState
type Cache struct{}
func (c *Cache) Read(addr uint32) (uint32, error) {
panic("Not implemented yet")
}
func (c *Cache) Write(addr uint32, value uint32) error {
panic("Not implemented yet")
}
func (m *Cache) Fetch(addr uint32) (uint32, error) {
panic("Not implemented yet")
}
func New(context simcontext.SimContext, realMemory memory.Memory) *Cache {
panic("Not implemented yet")
}