Skip to content
Snippets Groups Projects
Commit 29cf2fb3 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Added comment about dvr interface using the t_mem_ctlr_mosi/miso records.

parent 37b92e7f
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,14 @@
--
-- * = clock domain crossing between dvr_clk and ctlr_clk clock domains.
--
-- The dvr interface is mapped also on the t_mem_ctlr_mosi/miso interface:
-- dvr_miso.done <= dvr_done; -- Requested wr or rd sequence is done
-- dvr_en <= dvr_mosi.burstbegin;
-- dvr_wr_not_rd <= dvr_mosi.wr; -- No need to use dvr_mosi.rd
-- dvr_start_address <= dvr_mosi.address(c_ctlr_address_w-1 DOWNTO 0);
-- dvr_nof_data <= dvr_mosi.burstsize(c_ctlr_address_w-1 DOWNTO 0);
-- dvr_wr_flush_en <= dvr_mosi.flush
--
-- Remarks:
-- . If the dvr_clk=ctlr_clk then the clock domain crossing logic defaults
-- to wires. However dvr_clk could also be the dp_clk or the mm_clk and then
......@@ -181,8 +189,8 @@ ARCHITECTURE str OF io_ddr IS
CONSTANT c_wr_fifo_af_margin : NATURAL := 4 + 1; -- use +1 to compensate for latency introduced by registering wr_siso.ready due to RL=0
CONSTANT c_rd_fifo_af_margin : NATURAL := 4 + g_tech_ddr.maxburstsize; -- use ctlr_rd_src_in.ready to only start new rd access when there is sufficient space in the read FIFO
SIGNAL ctlr_dvr_miso : t_mem_ctlr_miso;
SIGNAL ctlr_dvr_mosi : t_mem_ctlr_mosi;
SIGNAL ctlr_dvr_miso : t_mem_ctlr_miso;
SIGNAL ctlr_dvr_mosi : t_mem_ctlr_mosi;
SIGNAL ctlr_mosi : t_mem_ctlr_mosi := c_mem_ctlr_mosi_rst;
SIGNAL ctlr_miso : t_mem_ctlr_miso := c_mem_ctlr_miso_rst;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment