object TesterDriver extends BackendCompilationUtilities
- Source
- TesterDriver.scala
- Alphabetic
- By Inheritance
- TesterDriver
- BackendCompilationUtilities
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
class
AddImplicitTesterDirectory extends Phase
Set the target directory to the name of the top module after elaboration
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
TestDirectory: File
- Definition Classes
- BackendCompilationUtilities
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
copyResourceToFile(name: String, file: File): Unit
- Definition Classes
- BackendCompilationUtilities
-
def
cppToExe(prefix: String, dir: File): ProcessBuilder
- Definition Classes
- BackendCompilationUtilities
-
def
createTestDirectory(testName: String): File
- Definition Classes
- BackendCompilationUtilities
- val defaultBackend: Backend
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execute(t: () ⇒ BasicTester, additionalVResources: Seq[String] = Seq(), annotations: AnnotationSeq = Seq(), nameHint: Option[String] = None, processLogger: ProcessLogger = loggingProcessLogger): Boolean
For use with modules that should successfully be elaborated by the frontend, and which can be turned into executables with assertions.
-
def
executeExpectingFailure(prefix: String, dir: File, assertionMsg: String = ""): Boolean
- Definition Classes
- BackendCompilationUtilities
-
def
executeExpectingSuccess(prefix: String, dir: File): Boolean
- Definition Classes
- BackendCompilationUtilities
-
def
finishWrapper(test: () ⇒ BasicTester): () ⇒ BasicTester
Calls the finish method of an BasicTester or a class that extends it.
Calls the finish method of an BasicTester or a class that extends it. The finish method is a hook for code that augments the circuit built in the constructor.
-
def
firrtlToVerilog(prefix: String, dir: File): ProcessBuilder
- Definition Classes
- BackendCompilationUtilities
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getLogger: Logger
- Definition Classes
- LazyLogging
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
-
def
loggingProcessLogger: ProcessLogger
- Definition Classes
- BackendCompilationUtilities
-
def
makeHarness(template: (String) ⇒ String, post: String)(f: File): File
- Definition Classes
- BackendCompilationUtilities
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
timeStamp: String
- Definition Classes
- BackendCompilationUtilities
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
verilatorOnly: AnnotationSeq
Use this to force a test to be run only with backends that are restricted to verilator backend
-
def
verilogToCpp(dutFile: String, dir: File, vSources: Seq[File], cppHarness: File, suppressVcd: Boolean = false, resourceFileName: String = ...): ProcessBuilder
- Definition Classes
- BackendCompilationUtilities
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object VerilatorBackend extends Backend with Product with Serializable
Deprecated Value Members
-
def
compileFirrtlToVerilog(prefix: String, dir: File): Boolean
Compile Chirrtl to Verilog by invoking Firrtl inside the same JVM
Compile Chirrtl to Verilog by invoking Firrtl inside the same JVM
- prefix
basename of the file
- dir
directory where file lives
- returns
true if compiler completed successfully
- Definition Classes
- BackendCompilationUtilities
- Annotations
- @deprecated
- Deprecated
(Since version Chisel 3.5) Use ChiselStage instead
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
This is the documentation for Chisel.
Package structure
The chisel3 package presents the public API of Chisel. It contains the concrete core types
UInt
,SInt
,Bool
,FixedPoint
,Clock
, andReg
, the abstract typesBits
,Aggregate
, andData
, and the aggregate typesBundle
andVec
.The Chisel package is a compatibility layer that attempts to provide chisel2 compatibility in chisel3.
Utility objects and methods are found in the
util
package.The
testers
package defines the basic interface for chisel testers.