How to Design a J-K Flip Flop Using VHDL?

  • Thread starter Thread starter hajer jamal
  • Start date Start date
  • Tags Tags
    Flip flop
hajer jamal
Messages
2
Reaction score
0
j_k flip flop .by using vhdl ..please help

hi every body

i hope every things gana be okay

i really have pro,,in my class

so anyone can help me please give is hand to help

any ways ,, my problem is about ,, my doctor give us homework about some things we don't know how to do , so it's about how can design j
j-k flip flop by using vhdl

anyways ,, tnaks alot
 
Physics news on Phys.org


try this:

Entity T_FF IS
PORT( T, Clock : IN STD_LOGIC;
Q : OUT STD_LOGIC;
END T_FF;
ARCHITECTURE Behavior OF T_FF IS
signal tmp : STD_LOGIC;
BEGIN
PROCESS (Clock)
BEGIN
IF Clock' EVENT AND Clock = '1' THEN
if T = '1' THEN
tmp <= NOT tmp;
else
tmp <= tmp;
end IF;
END IF;
END PROCESS;
Q <= tmp;
END Behavior
 


thanks a lot for help
and i still search for good one
 
Hi, I had an exam and I completely messed up a problem. Especially one part which was necessary for the rest of the problem. Basically, I have a wormhole metric: $$(ds)^2 = -(dt)^2 + (dr)^2 + (r^2 + b^2)( (d\theta)^2 + sin^2 \theta (d\phi)^2 )$$ Where ##b=1## with an orbit only in the equatorial plane. We also know from the question that the orbit must satisfy this relationship: $$\varepsilon = \frac{1}{2} (\frac{dr}{d\tau})^2 + V_{eff}(r)$$ Ultimately, I was tasked to find the initial...
The value of H equals ## 10^{3}## in natural units, According to : https://en.wikipedia.org/wiki/Natural_units, ## t \sim 10^{-21} sec = 10^{21} Hz ##, and since ## \text{GeV} \sim 10^{24} \text{Hz } ##, ## GeV \sim 10^{24} \times 10^{-21} = 10^3 ## in natural units. So is this conversion correct? Also in the above formula, can I convert H to that natural units , since it’s a constant, while keeping k in Hz ?
Back
Top