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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user