Ivaylo Plamenov
Newbie level 3
- Joined
- Feb 11, 2013
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,309
Please someone can make help me with TestBech of Flip-flop D with this entity and architecture :
LIBRARY ieee;
USE ieee.STD_LOGIC_1164.ALL;
ENTITY BiestableD IS
PORT ( D, CLK : IN std_logic;
rstH : IN std_logic;
Q : OUT std_logic);
END BiestableD ;
ARCHITECTURE BiestableDarq OF BiestableD IS
BEGIN
PROCESS (CLK, rstH)
BEGIN
IF (rstH = ‘1’) THEN
Q <= ‘0’;
ELSIF (CLK’event and CLK = ‘1’) THEN
Q <= D;
END IF;
END PROCESS;
END BiestableDarq;
Thank´s !!!
LIBRARY ieee;
USE ieee.STD_LOGIC_1164.ALL;
ENTITY BiestableD IS
PORT ( D, CLK : IN std_logic;
rstH : IN std_logic;
Q : OUT std_logic);
END BiestableD ;
ARCHITECTURE BiestableDarq OF BiestableD IS
BEGIN
PROCESS (CLK, rstH)
BEGIN
IF (rstH = ‘1’) THEN
Q <= ‘0’;
ELSIF (CLK’event and CLK = ‘1’) THEN
Q <= D;
END IF;
END PROCESS;
END BiestableDarq;
Thank´s !!!