Commit 18a83d84 authored by Javier Serrano's avatar Javier Serrano
Browse files

Set error signal to zero outside Beam On pulse


git-svn-id: svn+ssh://svn.cern.ch/reps/acc-fpga/trunk2@699 0a99fbf0-06a5-4c52-8a11-fe70044ee989
parent eb1b38d9
......@@ -45,7 +45,8 @@ KP <= kpAux;
KI <= kiAux;
dataInSigned <= signed(DataIn);
error15 <= resize(currentSP, error15'length) - resize(dataInSigned, error15'length);
error15 <= (resize(currentSP, error15'length) - resize(dataInSigned, error15'length))
when integrateOn='1' else (others=>'0');
-- propOutAux <= kpError(27 downto 14);
intOutAux <= integral14;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment