Commit 0a61c042 authored by Tristan Gingold's avatar Tristan Gingold

vtuCore: improve style.

parent c6c9cdcb
......@@ -1358,11 +1358,11 @@ begin
generic map (N => 64,
g_DisableDoubleSync => '0')
port map (CoarseZero => open,
DataOut => DataOutHTSyncLess(7 downto 0),
DataOut => DataOutHTSyncLess,
OutputEnabled => OE_SyncLess,
Clk => Clk,
Delay => htValue_effective(63 downto 0),
DataIn => DataInHTSyncLess(7 downto 0),
Delay => htValue_effective,
DataIn => DataInHTSyncLess,
Enabled => SyncLessEna,
SyncPulse => open);
......@@ -1502,10 +1502,12 @@ begin
end case;
end process;
HTSwitchEna <= (OE_2 or OE_SyncLess) and htSwitching;
process (Clk, Run_i)
begin
if Run_i = '0' then
SwitchHTeffective <= '0';
if Run_i = '0' then
SwitchHTeffective <= '0';
elsif Clk'event and Clk = '1' then
if HTSwitchEna = '1' then
SwitchHTeffective <= not SwitchHTeffective;
......@@ -1515,8 +1517,6 @@ begin
COne(63 downto 0) <= (0=> '1', others => '0');
HTSwitchEna <= (OE_2 or OE_SyncLess) and htSwitching;
process (Clk)
begin
if Clk'event and Clk = '1' then
......
Markdown is supported
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