Crate bitsy_lang
source ·Re-exports
Modules
Structs
- A user-defined
alttype. - A
Circuitis a module instance. It allows you to walk the instance, following references to definitions. - A
Contextis an associative list which assigns each element with type information. - A user-defined
enumtype. - A user-defined
fnfunction. - A
LineColis a container for a line and column. - A
MatchArmis a case in amatchexpression. - A Package is a parsed Bitsy file. It consists of a number of top-level
Items. - A
SourceInfomaintains 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. - A
Spantracks the span of an object parsed from a source. - A user-defined
structtype. - A user-defined
tbtestbench. Wires drive the value of port, node, or register.
Enums
- An expression.
- A top-level declaration in a
Package. - A
Patis a pattern for amatchexpression. - A statement which appears in a testbench
- A type classifier for
crate::sim::Values.
Traits
- Many objects have location information.
HasSpanallows you to call [HasLoc::loc] to get the span information.
Functions
Type Aliases
- The length of a
Type::Vec. - The bitwidth of a
Type::Word.