stdlib: Explicitly set alloc_on_atomic for the CHI example

gem5 will otherwise fatal with the error message:

fatal: ... alloc_on_atomic without default or user set value

See github issue [1] for further details

[1]: https://github.com/gem5/gem5/issues/449

Change-Id: I0bb8fccf0ac6d60fc6c1229436a35e91b2fb45cd
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
This commit is contained in:
Giacomo Travaglini
2023-10-18 15:18:43 +01:00
parent 06bf783a85
commit e496d29171
3 changed files with 3 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ class SimpleDirectory(AbstractNode):
self.alloc_on_readunique = False
self.alloc_on_readonce = False
self.alloc_on_writeback = False
self.alloc_on_atomic = False
self.dealloc_on_unique = False
self.dealloc_on_shared = False
self.dealloc_backinv_unique = False

View File

@@ -56,6 +56,7 @@ class DMARequestor(AbstractNode):
self.alloc_on_readunique = False
self.alloc_on_readonce = False
self.alloc_on_writeback = False
self.alloc_on_atomic = False
self.dealloc_on_unique = False
self.dealloc_on_shared = False
self.dealloc_backinv_unique = True

View File

@@ -66,6 +66,7 @@ class PrivateL1MOESICache(AbstractNode):
self.alloc_on_readunique = True
self.alloc_on_readonce = True
self.alloc_on_writeback = False # Should never happen in an L1
self.alloc_on_atomic = False
self.dealloc_on_unique = False
self.dealloc_on_shared = False
self.dealloc_backinv_unique = True