simple_ram: Add pipelining support
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 18 Oct 2019 23:30:39 +0000 (10:30 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 30 Oct 2019 02:18:58 +0000 (13:18 +1100)
commit37acb35773e10f96907f6feda6a7c1922a5baf08
treec0a21a4336f023fa953ed85e7c618d2a12f1bc33
parentdf1a9237f6ae06414ec93eda3adfc147756ed3fd
simple_ram: Add pipelining support

The generic PIPELINE_DEPTH can be set to 0 to keep it operating
as a non-pipelined slave, or a larger value indicating
the amount of extra cycles between requests and acks.

It will always generate a valid stall signal, so it can be used
in either mode with a pipelined master (but only in non-pipelined
mode with a non-pipelined master).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
simple_ram_behavioural.vhdl