Module codegen

Source

Re-exports§

pub use util::escape_path;
pub use util::mangle_entity;
pub use util::mangle_input;
pub use util::mangle_output;
pub use util::TupleIndex;

Modules§

util

Structs§

Codegenable
A mir entity which has had passes required for codegen performed on it
Context 🔒

Functions§

add_to_name_map 🔒
backward_expression_code 🔒
compute_tuple_index 🔒
entity_code
Source code is used for two things: mapping expressions back to their original source code location, and for assertions. If source_code is None, no (* src = *) attributes will be emitted, however, assertions will cause a panic. This is convenient for tests where specifying source location is annoying to specify. In actual compilation this should be Some
forward_expression_code 🔒
prepare_codegen
source_attribute 🔒
Produces a source location verilog attribute if the loc and code bundle are defined
statement_code 🔒
statement_declaration 🔒