logo

Crowdly

Browser

Add to Chrome

Milyen áramköri elemet valósít meg az alábbi példaprogram? entity pelda_6 is ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Milyen áramköri elemet valósít

meg az alábbi példaprogram?

entity pelda_6 is

    Generic (BIT_SZAM :natural := 8);

    Port (src_clk: in std_logic;

          reset : in std_logic;

          CE : in std_logic;

      --   

d : in std_logic_vector(BIT_SZAM-1 downto 0);

          q : out std_logic_vector(BIT_SZAM-1

downto 0));

end pelda_6;

 

architecture

Behavioral of pelda_6 is

 begin

process (src_clk,

reset)

variable counter

: std_logic_vector(BIT_SZAM-1 downto 0);

begin

  

   if src_clk'event and src_clk='1' then

   if reset='1' then

      counter := (others=>'0');

    elsif CE='1' then

      counter:= counter+1;

   end if;

   end if;

   q<=counter;

end process;

end Behavioral;

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on kmooc.uni-obuda.hu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome