Skip to main content

Module codec

Module codec 

Source
Expand description

The design image’s wire format: versioned, little-endian, and deterministic by construction (every collection is a Vec encoded in order; nothing iterates a hash map).

Layout: magic(8) | version(u32) | body_len(u64) | body_hash(u64) | body. The hash is FNV-1a over the body, checked on decode so a truncated or corrupted .so section is refused loudly rather than half-run.

Structs§

Reader
Writer

Enums§

ImageError
Why an image failed to decode.

Functions§

get_classes
get_collections
get_dpi
get_dump_signals
get_foreign
get_fork_branches
get_fork_table
get_four_state
get_fsms
get_groups
get_instances
get_kernels
get_layout
get_networks
get_stmt_sites
get_strings
get_symbols
get_templates
get_timing
get_verif
get_wait_table
get_wires
get_x_windows
put_classes
put_collections
put_dpi
put_dump_signals
put_foreign
put_fork_branches
put_fork_table
put_four_state
put_fsms
put_groups
put_instances
put_kernels
put_layout
put_networks
put_stmt_sites
put_strings
put_symbols
put_templates
put_timing
put_verif
put_wait_table
put_wires
put_x_windows