Или есть другой способ получения из равномерного распределения нормального?
Что имею пока:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.std_logic_unsigned.all;
entity LFSR_1 is
PORT(
clk: in std_logic;
RND: out std_logic
);
end LFSR_1;
architecture Behavioral of LFSR_1 is
signal tmp: std_logic_vector(31 downto 0):= (others=>'1') ;
begin
process (clk, tmp)
begin
if tmp=0 then tmp <= (others=>'1');
elsif (clk'event and clk='1') then
for i in 0 to 30 loop
tmp(i+1) <= tmp(i);
end loop;
tmp(0) <= tmp(31) xor tmp(21) xor tmp(1) xor tmp(0);
end if;
end process;
RND <= tmp(31);
end Behavioral;

