Browse Source

data_o is generated in parallel to sync process now

master
T. Meissner 10 years ago
parent
commit
1e53c62084
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      des/rtl/vhdl/des.vhd

+ 3
- 2
des/rtl/vhdl/des.vhd View File

@ -380,7 +380,7 @@ begin
v_mode := NOP; v_mode := NOP;
s_accept <= '0'; s_accept <= '0';
s_valid <= '0'; s_valid <= '0';
data_o <= (others => '0');
--data_o <= (others => '0');
elsif rising_edge(clk_i) then elsif rising_edge(clk_i) then
case v_rnd_cnt is case v_rnd_cnt is
@ -388,7 +388,7 @@ begin
when 0 => when 0 =>
s_accept <= '1'; s_accept <= '1';
s_valid <= '0'; s_valid <= '0';
data_o <= (others => '0');
--data_o <= (others => '0');
if (valid_i = '1' and s_accept = '1') then if (valid_i = '1' and s_accept = '1') then
s_accept <= '0'; s_accept <= '0';
s_valid <= '0'; s_valid <= '0';
@ -630,6 +630,7 @@ begin
valid_o <= s_valid; valid_o <= s_valid;
accept_o <= s_accept; accept_o <= s_accept;
data_o <= ipn(s_r & s_l) when s_valid = '1' else (others => '0');
end generate AreaG; end generate AreaG;


Loading…
Cancel
Save