Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - state machine handshaking

 
Thread Tools Search this Thread
Old 04-11-2005, 03:21 PM   #1
Default state machine handshaking


I have a state machine in a top level module. This top level module has a
component which is a state machine as well. All I am trying to do is
monitor the outputs of this component state machine. My top level state
machine provides some inputs to this component state machine and then
monitors and takes actions after looking at the component's FSM outputs. I
have a signal "X" mapped to the output port "Y" of my component FSM. When
i synthesize, I get a bunch of latches on Y, and X saying that Y is not
connected in my top level module.Yes they are indeed not connected, how do
I do what i am trying to do without those latches?

thanks




fpgawizz
  Reply With Quote
Old 04-11-2005, 03:49 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: state machine handshaking
fpgawizz wrote:
> I have a state machine in a top level module. This top level module has a
> component which is a state machine as well. All I am trying to do is
> monitor the outputs of this component state machine.


You can do this by writing a testbench
and running a simulation.

-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 04-11-2005, 04:31 PM   #3
fpgawizz
 
Posts: n/a
Default Re: state machine handshaking
I need this to work on hardware as well. My toplevel FSM provides a read
and write enable to my memory controller FSM (Which is a component) and
then I assign the outputs of the memory controller FSM to some signal in
my top level.



fpgawizz
  Reply With Quote
Old 04-11-2005, 06:43 PM   #4
Mike Treseler
 
Posts: n/a
Default Re: state machine handshaking
fpgawizz wrote:
> I need this to work on hardware as well.


Write a testbench for your top design
entity -- whatever that is --
and run a simulation. Debugging
by trial and error synthesis might be
more difficult than learning simulation.

Consider a synchronous process
to eliminate latches.

Consider dissolving your wrapped
hierarchy into a single design entity
to simplify your design.


-- Mike Treseler


Mike Treseler
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
combinational lock state machine harikanth General Help Related Topics 0 04-06-2009 05:38 AM
Using BRAM in state machines zoki111 Hardware 0 09-18-2007 09:38 AM
pcAnywhere and Brother fax machine on same phoen line bem522 Software 0 07-20-2007 04:20 PM
Judge: File-swapping tools are legal Citizen Bob DVD Video 140 11-08-2006 06:42 PM
BUSH WILL LIKELY INSTALL A DRAFT Jas DVD Video 165 10-20-2004 09:39 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46