Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
connect BRAM data to external IO output
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaKarvandi committed Apr 14, 2024
1 parent 7543aa9 commit da30765
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 61 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/hwdbg/configs/configs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ object DebuggerConfigurations {
//
// Number of input pins
//
val NUMBER_OF_INPUT_PINS: Int = 16
val NUMBER_OF_INPUT_PINS: Int = 32

//
// Number of output pins
//
val NUMBER_OF_OUTPUT_PINS: Int = 16
val NUMBER_OF_OUTPUT_PINS: Int = 32

//
// Address width of the Block RAM (BRAM)
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/hwdbg/main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class DebuggerMain(
// Configure the output signals
//
for (i <- 0 until numberOfOutputPins) {
io.outputPin(i) := 0.U
io.outputPin(i) := requestedActionOfThePacket(i)
}

io.rdWrAddr := rdWrAddr
Expand Down
58 changes: 0 additions & 58 deletions src/test/scala/hwdbg/tb_top_test.scala

This file was deleted.

0 comments on commit da30765

Please sign in to comment.