Skip to content
Snippets Groups Projects
Verified Commit b7873f4b authored by Minyong Li's avatar Minyong Li :speech_balloon:
Browse files

core.DataMemory: mark val mem as private

parent 1c7fc06b
Branches
Tags
No related merge requests found
Pipeline #7474 passed
...@@ -26,7 +26,7 @@ class DataMemory( ...@@ -26,7 +26,7 @@ class DataMemory(
val data = Input(UInt(dataWidth.W)) val data = Input(UInt(dataWidth.W))
}) })
val mem = private val mem =
if (syncMem) SyncReadMem(size, UInt(dataWidth.W)) if (syncMem) SyncReadMem(size, UInt(dataWidth.W))
else Mem(size, UInt(dataWidth.W)) else Mem(size, UInt(dataWidth.W))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment