Fix bug in D$ AMO/storegen logic
This commit is contained in:
parent
5dac7b818d
commit
4605b616c1
@ -387,9 +387,9 @@ class DCache(implicit p: Parameters) extends L1HellaCacheModule()(p) {
|
|||||||
// AMOs
|
// AMOs
|
||||||
if (usingAtomics) {
|
if (usingAtomics) {
|
||||||
val amoalu = Module(new AMOALU)
|
val amoalu = Module(new AMOALU)
|
||||||
amoalu.io.addr := s2_req.addr
|
amoalu.io.addr := pstore1_addr
|
||||||
amoalu.io.cmd := s2_req.cmd
|
amoalu.io.cmd := pstore1_cmd
|
||||||
amoalu.io.typ := s2_req.typ
|
amoalu.io.typ := pstore1_typ
|
||||||
amoalu.io.lhs := s2_data_word
|
amoalu.io.lhs := s2_data_word
|
||||||
amoalu.io.rhs := pstore1_data
|
amoalu.io.rhs := pstore1_data
|
||||||
pstore1_storegen_data := amoalu.io.out
|
pstore1_storegen_data := amoalu.io.out
|
||||||
|
Loading…
Reference in New Issue
Block a user