Re-exports§
Modules§
Structs§
- Circuit
- A
Circuit
is a module instance. It allows you to walk the instance, following references to definitions. - Context
- A
Context
is an associative list which assigns each element with type information. - Enum
Type Def - A user-defined
enum
type. - FnDef
- A user-defined
fn
function. - LineCol
- A
LineCol
is a container for a line and column. - Loc
- A
Loc
tracks the span of an object parsed from a source. - Match
Arm - A
MatchArm
is a case in amatch
expression. - Package
- A Package is a parsed Bitsy file.
It consists of a number of top-level
Item
s. - Path
- Source
Info - A
SourceInfo
maintains location data for parsed objects. Maintains the filename (if from a file) or the originating string (if from a string). Helps with the conversion from byte-position in the source to aLineCol
. - Struct
Type Def - A user-defined
struct
type. - When
- Wire
Wire
s drive the value of port, node, or register.
Enums§
- BinOp
- Bitsy
Error - Component
- A
Component
is a declaration that lives inside of amod
orext
definiton. - Expr
- An expression.
- Item
- A top-level declaration in a
Package
. - Pat
- A
Pat
is a pattern for amatch
expression. - Source
- Type
- A type classifier for
crate::sim::Value
s. - Type
Error - UnOp
Traits§
- HasLoc
- Many objects have location information.
HasLoc
allows you to callHasLoc::loc
to get the span information.
Functions§
Type Aliases§
- Length
- The length of a
Type::Vec
. - Name
- Width
- The bitwidth of a
Type::Word
.