![]() |
|
|
|
#1 |
|
Hi
I have a desgn that has a one hot FSM. I'm using ISE Webpack 6.1 and XST to synth the VHDL. Somtimes the design locks up, using Chipscope, I've been able to probe the state of the FSM machine and it's locked up with no states active. This is impossible I know. Does anyone have any idea on how this could happen ? This problem is driving us mad. Thanks Nic Nic |
|
|
|
|
#2 |
|
Posts: n/a
|
Nic wrote:
> Somtimes the design locks up, using Chipscope, I've been able to probe > the state of the FSM machine and it's locked up with no states active. Maybe a hazard on an asynchronous reset? Maybe a hazard on a signal, that chooses which state is next short before the clock-edge? Ralf Ralf Hildebrandt |
|
|
|
#3 |
|
Posts: n/a
|
Nic wrote:
> Hi > > I have a desgn that has a one hot FSM. > I'm using ISE Webpack 6.1 and XST to synth the VHDL. > Somtimes the design locks up, using Chipscope, I've been able to probe > the state of the FSM machine and it's locked up with no states active. > > This is impossible I know. > > Does anyone have any idea on how this could happen ? > This problem is driving us mad. > > Thanks > > Nic Hi, The only way to have the trouble are : - asyncronous circuit - frequency system too high for you circuit. First, makesure to synchronize all input of your FSM. Second, goto to the P&R static timing report of your design and check the max frequency corresponding with the most significant pass in your logic level. Regards, Laurent www.amontec.com ------------ And now a word from our sponsor ------------------ Do your users want the best web-email gateway? Don't let your customers drift off to free webmail services install your own web gateway! -- See http://netwinsite.com/sponsor/sponsor_webmail.htm ---- Amontec Team, Laurent Gauch |
|
|
|
#4 |
|
Posts: n/a
|
Nic wrote:
> I have a desgn that has a one hot FSM. > I'm using ISE Webpack 6.1 and XST to synth the VHDL. > Somtimes the design locks up, using Chipscope, I've been able to probe > the state of the FSM machine and it's locked up with no states active. > > This is impossible I know. > > Does anyone have any idea on how this could happen ? > This problem is driving us mad. Consider binary encoding. http://groups.google.com/groups?q=on...g2+utilization -- Mike Treseler Mike Treseler |
|
|
|
#5 |
|
Posts: n/a
|
Nic <> wrote in message news:<>. ..
> Hi > > I have a desgn that has a one hot FSM. > I'm using ISE Webpack 6.1 and XST to synth the VHDL. > Somtimes the design locks up, using Chipscope, I've been able to probe > the state of the FSM machine and it's locked up with no states active. > > This is impossible I know. > > Does anyone have any idea on how this could happen ? > This problem is driving us mad. > I had a similar problem. My FSM was sometimes stuck when a cable was removed or inserted while the board was powered. All inputs to the FSM where synchronised with dual flip-flops. Then solution was to put an attribute in the VHDL code to get binary coding of the FSM. To cover all unused states in the FSM is also good design practice. /Peter Peter Hermansson |
|
|
|
#6 |
|
Posts: n/a
|
(Peter Hermansson) wrote in message news:<. com>...
> Nic <> wrote in message news:<>. .. > > Hi > > > > I have a desgn that has a one hot FSM. > > I'm using ISE Webpack 6.1 and XST to synth the VHDL. > > Somtimes the design locks up, using Chipscope, I've been able to probe > > the state of the FSM machine and it's locked up with no states active. > > > > This is impossible I know. > > > > Does anyone have any idea on how this could happen ? > > This problem is driving us mad. > > > > I had a similar problem. My FSM was sometimes stuck when a cable was > removed or inserted while the board was powered. All inputs to the FSM > where synchronised with dual flip-flops. Then solution was to put an > attribute in the VHDL code to get binary coding of the FSM. To cover > all unused states in the FSM is also good design practice. > > /Peter Are you using async. reset? That is suspicion, as someone suggested earlier. If this async. reset isn't taken care of properly, it can cause exactly what the orig. poster described. Making the state var. binary would solve the problem, but that doesn't cure the underlying issue. Using GSR of startup block would exacerbate the problem, by the way. I used to code with async. reset, and now I'm a big proponent of sync. reset. It requires more work, but pays off. FGreen |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| window explorer got stuck | spidervn | General Help Related Topics | 1 | 09-27-2006 04:44 PM |
| Whoops! Samsungs Blu-Ray player stuck at single layer... | Jordan | DVD Video | 4 | 06-21-2006 03:56 PM |
| GAH! burner stuck at 1.6x! | Brian | DVD Video | 8 | 06-10-2005 01:11 PM |
| TheDigitalReview: STUCK ON YOU - DVD REVIEW | Mike McGee | DVD Video | 0 | 04-22-2004 01:28 AM |
| New Releases: Stuck on You, Fox announcements: Updated complete downloadable R1 DVD DB & info lists | Doug MacLean | DVD Video | 0 | 02-17-2004 06:04 AM |