Re: VHDL Newbie - Is this a valid statement?
- From: Mark McDougall <markm@xxxxxxxxx>
- Date: Thu, 29 Jun 2006 11:01:58 +1000
nigel502@xxxxxxxxx wrote:
What is the proper way to preform this action?
You haven't provided enough information.
"...having issues detecting it..." - what exactly do you mean? Compile errors? Or just doesn't appear to work? Does counter_q increment?
You haven't explained how you are clocking counter_q, or the state machine itself! How/where are you incrementing counter_q?
As an aside, I prefer to assign default values to signals to reduce the number of 'else' statements required - which can be quite significant in large state machines!
ie.
next_state <= state;
case (state) is
when read_del =>
if counter_q(3 downto 0) = "1101" then
next_state <= blah;
end if;
Regards,
--
Mark McDougall, Engineer
Virtual Logic Pty Ltd, <http://www.vl.com.au>
21-25 King St, Rockdale, 2216
Ph: +612-9599-3255 Fax: +612-9599-3266
.
- References:
- VHDL Newbie - Is this a valid statement?
- From: nigel502@xxxxxxxxx
- VHDL Newbie - Is this a valid statement?
- Prev by Date: Re: newbe: how to print integer and real numbers?
- Next by Date: Re: VHDL Newbie - Is this a valid statement?
- Previous by thread: Re: VHDL Newbie - Is this a valid statement?
- Next by thread: Re: VHDL Newbie - Is this a valid statement?
- Index(es):