Skip to main content

act_quant_verilog

Function act_quant_verilog 

Source
pub fn act_quant_verilog() -> String
Expand description

logos_act_block(x, two) -> (m, e, codes): 32 f32 values packed little-end first in x; two selects the two-word codes; codes packs 32 signed 16-bit codes; e is the scale’s exponent, signed. logos_act_wide #(LANES) is the per-block quantizer over a block of LANES values: the same ports, its m eight bits. logos_act_stream #(LANES) is logos_act_wide over a block arriving sixteen values a beat, with sixteen code units: one quantizer for every block length up to LANES, its beats held in block RAM. logos_wide_scale_p is logos_wide_scale for the user clock, its scale WIDE_SCALE_P_LATENCY clocks after its operands.