Enter into Zilicon Zone


RocketTheme Joomla Templates


Read more...
VLSI WORLD FORUM
Welcome, Guest
Please Login or Register.
Lost Password?
if (input /= \"xx\") (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: if (input /= \"xx\")

#203
kazeemy (User)
Fresh Boarder
Posts: 1
graphgraph
if (input /= "xx") 2009/04/12 20:52 Karma: 0  
I'm designing a viterbi decoder and synchronization is very important to my design. Is there a way I could put a constraint on a process(clk) not to run except when a certain input say code is known( 1 0r zero)?
i'm thinking of something like

if (clk'event and clk = '1' and code /= "xx")

or this one

if(clk'event and clk = '1' and not(is_x(code)))

but it seems like these statements are not synthesizeable.

Pls help me with ideas.
Thanks
Kazeem
  The administrator has disabled public write access.
#221
exprtvlsi (User)
Fresh Boarder
Posts: 2
graphgraph
Re:if (input /= "xx") 2009/05/30 15:24 Karma: 1  
Hi,
u can use clock-enable signal to control ur process. e.g:

process(clkEn,clk)
begin
if (clkEn ='1') then
if (clk'event and clk='1')then
..
..
statements
end if;
end if;
end process;
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
VLSI-world.com