Forum Discussion
Altera_Forum
Honored Contributor
15 years agoProblem in ahdl-source
Hello all! I want create component which holds vcc-state after than high state is on each input. Clr resets state. I supposed that is a very simple. My idea is using dffe primitive with: clk =...
Altera_Forum
Honored Contributor
15 years agolibrary ieee;
use ieee.std_logic_1164.all; entity eugen is port ( clk : in std_logic; clrn : in std_logic; o : out std_logic_vector(31 downto 0) ); end eugen; architecture eugen_RTL of eugen is begin process (clk, clrn) begin if (clrn = '0') then o <= (others => '0'); elsif rising_edge(clk) then o <= (others => '1'); end if; end process; end eugen_RTL;