[][src]Function logicsim::circuits::ram

pub fn ram<S: Into<String>>(
    g: &mut GateGraphBuilder,
    read: GateIndex,
    write: GateIndex,
    clock: GateIndex,
    reset: GateIndex,
    address: &[GateIndex],
    input: &[GateIndex],
    name: S
) -> Vec<GateIndex>

Returns the output of a piece of RAM addressed by address.