Skip to content
Snippets Groups Projects
Commit 388a54c4 authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Removed ram_clear control as it is no longer used.

parent edfb2091
No related branches found
No related tags found
1 merge request!101Merged sub-branch L2SDP-151 into L2SDP-143 (st_histogram rework)
......@@ -72,7 +72,6 @@ ARCHITECTURE rtl OF st_histogram_reg IS
nof_dat => c_nof_addresses,
init_sl => '0');
SIGNAL mm_ram_clear : STD_LOGIC;
SIGNAL mm_ram_clearing : STD_LOGIC;
SIGNAL mm_ram_fill_inst : STD_LOGIC_VECTOR(ceil_log2(g_nof_instances)-1 DOWNTO 0);
......@@ -95,7 +94,6 @@ BEGIN
reg_miso <= c_mem_miso_rst;
-- Access event, register values
mm_ram_clear <= '0';
mm_ram_fill <= '0';
mm_ram_fill_inst <= (OTHERS=>'0');
......@@ -104,14 +102,11 @@ BEGIN
reg_miso.rdval <= '0';
-- Access event defaults
mm_ram_clear <= '0';
mm_ram_fill <= '0';
-- Write access: set register value
IF reg_mosi.wr = '1' THEN
CASE TO_UINT(reg_mosi.address(c_mm_reg.adr_w-1 DOWNTO 0)) IS
WHEN 0 =>
mm_ram_clear <= '1';
WHEN 1 =>
mm_ram_fill_inst <= reg_mosi.wrdata(ceil_log2(g_nof_instances)-1 DOWNTO 0);
WHEN 2 =>
......@@ -181,21 +176,6 @@ BEGIN
dout => mm_ram_filling
);
-- MM --> ST
u_common_spulse_clear : ENTITY common_lib.common_spulse
PORT MAP (
in_clk => mm_clk,
in_rst => mm_rst,
in_pulse => mm_ram_clear,
in_busy => OPEN,
out_clk => dp_clk,
out_rst => dp_rst,
out_pulse => ram_clear
);
u_common_spulse_fill : ENTITY common_lib.common_spulse
PORT MAP (
in_clk => mm_clk,
......
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