central-arch/pkg/cache/cache.go

26 lines
563 B
Go
Raw Permalink Normal View History

2024-11-01 10:54:59 +00:00
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")
}