::std::mem::

Struct ReadPort

pub struct ReadPort<#uint W, D> {
addr: inv uint<W>,
out: D,
}
Expand

A read port for a memory. It is not recommended to manually read the signals in this struct, instead use .read() to access the port.

Implementations

impl<#uint W, D> ReadPort<W, D>
pub pipeline(1) read(self, read_clk: clock, addr: uint<W>) -> D

Read the value stored at addr