Skip to main content

Module model

Module model 

Source
Expand description

The model attempts to document HashX program generation choices, separate from the main body of the program generator.

Re-exportsยง

use crate::constraints::Pass; ๐Ÿ”’
use crate::generator::OpcodeSelector; ๐Ÿ”’
use crate::program::Opcode; ๐Ÿ”’
use crate::scheduler::SubCycle; ๐Ÿ”’

Constantsยง

BRANCH_MASK_BIT_WEIGHT ๐Ÿ”’
Masks for super::Instruction::Branch always have a constant number of bits set.
IMMEDIATE_SRC_OPS_TABLE ๐Ÿ”’
Opcode choices for OpcodeSelector::ImmediateSrc
NORMAL_OPS_TABLE ๐Ÿ”’
Opcode choices for OpcodeSelector::Normal
WIDE_MUL_OPS_TABLE ๐Ÿ”’
Opcode choices for OpcodeSelector::WideMul

Functionsยง

choose_opcode_selector ๐Ÿ”’
Choose the next OpcodeSelector.