Skip to content

Commit

Permalink
Fix argument list for verilogToCpp(). (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucbjrl authored Feb 1, 2017
1 parent 6a814a7 commit db04bd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ChiselMain.scala
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ object chiselMain {
// Copy API files
copyVerilatorHeaderFiles(context.targetDir.toString)
// Generate Verilator
assert(chisel3.Driver.verilogToCpp(dutName, dutName, dir, Seq(), new File(s"$dutName-harness.cpp")).! == 0)
assert(chisel3.Driver.verilogToCpp(dutName, dir, Seq(), new File(s"$dutName-harness.cpp")).! == 0)
// Compile Verilator
assert(chisel3.Driver.cppToExe(dutName, dir).! == 0)
case "vcs" | "glsim" =>
Expand Down
3 changes: 1 addition & 2 deletions VerilatorBackend.scala
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,10 @@ private[iotesters] object setupVerilatorBackend {

assert(
chisel3.Driver.verilogToCpp(
circuit.name,
circuit.name,
dir,
vSources = Seq(),
new File(cppHarnessFileName)
cppHarnessFile
).! == 0
)
assert(chisel3.Driver.cppToExe(circuit.name, dir).! == 0)
Expand Down

0 comments on commit db04bd6

Please sign in to comment.