Browse Source

fixed reset initialisation of s_sclk_d

pull/1/head
T. Meissner 10 years ago
parent
commit
dc24fc93b1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      syn/SpiSlaveE.vhd

+ 2
- 2
syn/SpiSlaveE.vhd View File

@ -1,5 +1,5 @@
library ieee; library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_1164.all;
@ -75,7 +75,7 @@ begin
SpiSyncP : process (Reset_n_i, Clk_i) is SpiSyncP : process (Reset_n_i, Clk_i) is
begin begin
if (Reset_n_i = '0') then if (Reset_n_i = '0') then
if (G_SPI_CPOL = '0') then
if (G_SPI_CPOL = 0) then
s_sclk_d <= (others => '0'); s_sclk_d <= (others => '0');
else else
s_sclk_d <= (others => '1'); s_sclk_d <= (others => '1');


Loading…
Cancel
Save