i must have the code for detecting a missin g pulse? do some one have some for me to see?
G !
The standard problem.
If you have a question, you must supply a complete problem description.
It sounds like you may have a g sensor - but we don't know which, or how it is connected. And we don't know why you would have lost G pulse to even figure out that you have lost. Exactly how do you loose it?
If you do not know enough to give a complete problem description, then neither you nor we may have a chance of knowing the answer.
And how do you distinguish a missing G pulse from a missing F or H pulse...?
Per, I must disagree. There is nothing wrong with providing an 'answer' with the same thoroughness as the question.
Answer (start here...)
library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_ARITH.ALL; use IEEE.STD_LOGIC_UNSIGNED.ALL; --============================================================================ -- ENTITY for "The Case Of The Missin G Pulse" -- --============================================================================ entity mPulse is Port ( -------------------------------------------------------------- -- IO port definitions -- -------------------------------------------------------------- RST : in std_logic; -- Reset all states to known values Clock : in std_logic; -- The time-base Pulses : in std_logic; -- The incoming pulse train Enable : in std_logic; -- Enables the function Missin : out std_logic -- The result (without the 'G') ); end mPulse;
And then you simply write the architecture as needed. It almost writes itself.
--Cpt. Vince Foster 2nd Cannon Place Fort Marcy Park, VA
lol gatmal
i made mistake!!!!! alrigt!!!!!!!
it is {{{not}}} a missin g pulse . it is a missing pulse.
aneybody answer me now plz?????
"it is a missing pulse.
aneybody answer me now plz?"
Sure, but first, describe "a missing pulse"?
View all questions in Keil forum