We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19792e5 commit 045c747Copy full SHA for 045c747
1 file changed
src/main/scala/RISCV/Memory.scala
@@ -2,7 +2,7 @@ package RISCV
2
3
import chisel3._
4
import _root_.circt.stage.ChiselStage
5
-// import chisel3.util.experimental.loadMemoryFromFileInline
+import chisel3.util.experimental.loadMemoryFromFileInline
6
7
class Memory() extends Module {
8
val io = IO(new Bundle {
@@ -24,7 +24,8 @@ class Memory() extends Module {
24
})
25
26
val memory = SyncReadMem(1024, UInt(32.W))
27
- // loadMemoryFromFileInline(memory, "program.hex")
+ loadMemoryFromFileInline(memory, "program.hex")
28
+
29
io.address_vga := 0.U
30
io.write_vga := true.B
31
io.write_value_vga := 0.U
0 commit comments