Skip to main content

emit_block_engine_verilog

Function emit_block_engine_verilog 

Source
pub fn emit_block_engine_verilog(name: &str, k: usize, n_in: usize) -> String
Expand description

Emit the universal block execute engine: a k-cell reconfigurable datapath over n_in inputs. Each cell decodes its control word into an op + two operand selects (input / constant / earlier cell) and computes combinationally; loading a decoded block’s op list runs it. Config is read once via $readmemh.