Set invalidate on flush

If not set AMO semantic is not guaranteed
This commit is contained in:
Florian Zaruba 2018-10-17 22:14:47 +02:00
parent 99993497b1
commit 45ba93f9d1
No known key found for this signature in database
GPG key ID: E742FFE8EC38A792

View file

@ -114,7 +114,7 @@ package ariane_pkg;
// if set to zero a flush will not invalidate the cache-lines, in a single core environment
// where coherence is not necessary this can improve performance. This needs to be switched on
// when more than one core is in a system
localparam logic INVALIDATE_ON_FLUSH = 1'b0;
localparam logic INVALIDATE_ON_FLUSH = 1'b1;
localparam NR_WB_PORTS = 4;