Kod: Zaznacz cały
architecture Behavioral of sz is
signal s1,s2: std_logic;
begin
process(b,a) is
begin
if falling_edge(a) then
s1<='1';
elsif falling_edge(b) then
s2<='1';
end if;
end process;
end Behavioral;
Kod: Zaznacz cały
architecture Behavioral of sz is
signal s1,s2: std_logic;
begin
process(b,a) is
begin
if falling_edge(a) then
s1<='1';
end if;
if falling_edge(b) then
s2<='1';
end if;
end process;
end Behavioral;
Kod: Zaznacz cały
architecture Behavioral of sz is
signal s1,s2: std_logic;
begin
process(a) is
begin
if falling_edge(a) then
s1<='1';
end if;
end process;
process(b) is
begin
if falling_edge(b) then
s2<='1';
end if;
end process;
end Behavioral;