package experimental
- Alphabetic
- Public
- All
Type Members
-
case class
ChiselLoadMemoryAnnotation[T <: Data](target: MemBase[T], fileName: String, hexOrBinary: FileType = MemoryLoadFileType.Hex) extends ChiselAnnotation with RunFirrtlTransform with Product with Serializable
This is the annotation created when using loadMemoryFromFile, it records the memory, the load file and the format of the file.
This is the annotation created when using loadMemoryFromFile, it records the memory, the load file and the format of the file.
- target
memory to load
- fileName
name of input file
- hexOrBinary
use $readmemh or $readmemb, i.e. hex or binary text input, default is hex
-
class
LoadMemoryTransform extends Transform
This transform only is activated if verilog is being generated (determined by presence of the proper emit annotation) when activated it creates additional verilog files that contain modules bound to the modules that contain an initializable memory
This transform only is activated if verilog is being generated (determined by presence of the proper emit annotation) when activated it creates additional verilog files that contain modules bound to the modules that contain an initializable memory
Currently the only non-verilog based simulation that can support loading memory from a file is treadle but it does not need this transform to do that.
Value Members
- object loadMemoryFromFile
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.