Skip to main content

emit_computedram_model_verilog

Function emit_computedram_model_verilog 

Source
pub fn emit_computedram_model_verilog() -> String
Expand description

Emit computedram_model — the behavioral ComputeDRAM device. On the ACT→PRE→ACT compute cadence it performs RowClone (2 activations: dst := src); on ACT→PRE→ACT→PRE→ACT (3 activations) it performs the sense-amp triple-row MAJORITY over the ORIGINAL operand values, writing it to all three rows — so bitwise AND = MAJ(a,b,0) and OR = MAJ(a,b,1). Snapshots the originals so the tentative 2-row clone can be corrected by a 3rd activation. A RD/WR closes the cadence. Preload/read ports for the harness (which plays the fabric’s orchestration role).