Rewrite the above process using a suitable wait statement pr

Rewrite the above process using a suitable wait statement.

process (clk)

             if clk=’1’ and clk’event then

      

             some code

             end if:

             end process;

Solution

example code is

process(clk)

if clk= \'1\' and clk\'event then
      Q <= X;
      NQ <= not X;

else

Q <=Y;
      NQ <= not Y;
    end if;
  end process;

Rewrite the above process using a suitable wait statement. process (clk) if clk=’1’ and clk’event then some code end if: end process;Solutionexample code is pro

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site