Add files and images.
This commit is contained in:
parent
813faf9084
commit
25b01d050b
5 changed files with 10 additions and 3 deletions
BIN
Images/IDE.png
Normal file
BIN
Images/IDE.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 68 KiB |
BIN
Images/wave1.png
Normal file
BIN
Images/wave1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
Images/wave2.png
Normal file
BIN
Images/wave2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
|
@ -50,7 +50,8 @@ object TestRunner {
|
||||||
binary.toList.sortBy(_._1.value).map(_._2),
|
binary.toList.sortBy(_._1.value).map(_._2),
|
||||||
program.settings,
|
program.settings,
|
||||||
finalVM.pc,
|
finalVM.pc,
|
||||||
testOptions.maxSteps)
|
testOptions.maxSteps,
|
||||||
|
testOptions.testName)
|
||||||
} yield {
|
} yield {
|
||||||
val traces = mergeTraces(trace, chiselTrace).map(x => printMergedTraces((x), program))
|
val traces = mergeTraces(trace, chiselTrace).map(x => printMergedTraces((x), program))
|
||||||
|
|
||||||
|
|
|
@ -159,12 +159,18 @@ object ChiselTestRunner {
|
||||||
binary : List[Int],
|
binary : List[Int],
|
||||||
settings : List[TestSetting],
|
settings : List[TestSetting],
|
||||||
terminalAddress : Addr,
|
terminalAddress : Addr,
|
||||||
maxSteps : Int): Either[String, (Option[String], List[CircuitTrace])] = {
|
maxSteps : Int,
|
||||||
|
testName : String): Either[String, (Option[String], List[CircuitTrace])] = {
|
||||||
|
|
||||||
var sideEffectExtravaganza: Option[(Option[String], List[CircuitTrace])] = None
|
var sideEffectExtravaganza: Option[(Option[String], List[CircuitTrace])] = None
|
||||||
|
|
||||||
val error: Either[String, Boolean] = scala.util.Try {
|
val error: Either[String, Boolean] = scala.util.Try {
|
||||||
chisel3.iotesters.Driver(() => new Tile(), "treadle") { c =>
|
chisel3.iotesters.Driver.execute(Array(
|
||||||
|
"--generate-vcd-output", "on",
|
||||||
|
"--backend-name", "treadle",
|
||||||
|
"--target-dir", "waveforms",
|
||||||
|
"--top-name", testName
|
||||||
|
), () => new Tile) { c =>
|
||||||
new PeekPokeTester(c) {
|
new PeekPokeTester(c) {
|
||||||
val testRunner = new ChiselTestRunner(
|
val testRunner = new ChiselTestRunner(
|
||||||
binary,
|
binary,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue