Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

Commit

Permalink
Update project-template for testchipip master
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardcwang committed Nov 2, 2018
1 parent cd82131 commit d48587b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefrag
Expand Up @@ -25,7 +25,7 @@ include $(testchip_dir)/Makefrag
CHISEL_ARGS ?=

FIRRTL_FILE=$(build_dir)/$(PROJECT).$(MODEL).$(CONFIG).fir
ANNO_FILE=$(build_dir)/$(PROJECT).$(MODEL).$(CONFIG).anno
ANNO_FILE=$(build_dir)/$(PROJECT).$(MODEL).$(CONFIG).anno.json
VERILOG_FILE=$(build_dir)/$(PROJECT).$(MODEL).$(CONFIG).v

$(FIRRTL_FILE) $(ANNO_FILE): $(SCALA_SOURCES) $(bootrom_img) $(FIRRTL_JAR)
Expand Down
3 changes: 2 additions & 1 deletion src/main/scala/example/TestHarness.scala
Expand Up @@ -3,7 +3,7 @@ package example
import chisel3._
import freechips.rocketchip.diplomacy.LazyModule
import freechips.rocketchip.config.{Field, Parameters}
import testchipip.GeneratorApp
import freechips.rocketchip.util.GeneratorApp

case object BuildTop extends Field[(Clock, Bool, Parameters) => ExampleTopModule[ExampleTop]]

Expand All @@ -21,6 +21,7 @@ class TestHarness(implicit val p: Parameters) extends Module {
}

object Generator extends GeneratorApp {
val longName = names.topModuleProject + "." + names.topModuleClass + "." + names.configs
generateFirrtl
generateAnno
}
2 changes: 1 addition & 1 deletion testchipip

0 comments on commit d48587b

Please sign in to comment.