Skip to content

Commit ddfe8e7

Browse files
committed
Synthesis quartus 23 fix, set MemBlock read-under-write behavior to ReadFirst
1 parent d63bea2 commit ddfe8e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/src/main/scala/patmos/MemBlock.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class MemBlock(size : Int, width : Int) extends Module {
6969

7070
} else {
7171

72-
val mem = SyncReadMem(size, UInt(width.W))
72+
val mem = SyncReadMem(size, UInt(width.W), SyncReadMem.ReadFirst)
7373
// write
7474
when(io.wrEna.asBool) {
7575
mem.write(io.wrAddr, io.wrData)

0 commit comments

Comments
 (0)