is this JKFF?
----------------------------------------------------------------------------------
-- Company:
-- Engineer:
--
-- Create Date: 11:58:38 03/20/2016
-- Design Name:
-- Module Name: JKFlipFlopModule - Behavioral
-- Project Name:
-- Target Devices:
-- Tool versions:
-- Description:
--
-- Dependencies:
--
-- Revision:
-- Revision 0.01 - File Created
-- Additional Comments:
--
----------------------------------------------------------------------------------
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
-- Uncomment the following library declaration if using
-- arithmetic functions with Signed or Unsigned values
--use IEEE.NUMERIC_STD.ALL;
-- Uncomment the following library declaration if instantiating
-- any Xilinx primitives in this code.
--library UNISIM;
--use UNISIM.VComponents.all;
entity JKFlipFlopModule is
Port ( J : in STD_LOGIC;
K : in STD_LOGIC;
C : in STD_LOGIC;
Q : inout STD_LOGIC;
Qn : inout STD_LOGIC);
end JKFlipFlopModule;
architecture Behavioral of JKFlipFlopModule is
begin
Q <= ((Qn nor K) and (J and C));
Qn <=((Q nor J) and (K and C));
end Behavioral;
>>53609435
>is this J-K FF
Yes
The fuck is wrong with you, dude? Follow the design, it even says in the figure.
Just learned what this does in my electronics class
>>53610187
Install gentoo.
>>53609987
facepalm
i made it you moron, want to know if i did it right
>>53609435
My name is Arthur :)
>>53609435
>is this JK
J=0
K=0
Qn_next=0
Q_next=0
Yeah, no
https://en.wikipedia.org/wiki/Flip-flop_(electronics)#JK_flip-flop