Innovative Integration
 
Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Sampling time error

 
Post new topic   Reply to topic    II Support Forum Index -> MatLab/SimuLink Development Corner
View previous topic :: View next topic  
Author Message
aalbashar2



Joined: 29 Mar 2011
Posts: 4

PostPosted: Tue Mar 29, 2011 6:59 am    Post subject: Sampling time error Reply with quote

Hello!

I got the following error each time I try to compile my design in simulink:
____________________________________________________________
Begin generation
Checking model status
Checking simulation times
Performing compilation and generation

*** ERROR ***

Errors occurred during netlist generation.
The periodic sample time 1 is not allowed because the ratio of this sample time over base rate (1.264197530864198e-015) is greater than the maximum value of uint32.
______________________________________________________________

I have checked the system many times for any block that may have a sample rate of 1, but I found non. Additionally, when I view the sample time legend , Matlab displays like 24 orange sampling time, but there is no orange block or lines in the whole design!
I was developing my own signal processing part using xilinx blocks in Simulink using a sample rate of 1 but when I combined it with the default example I started to get that error. therefore I built the same logic again directly in the default example without copying any block but it leads to the same results!
I have tried also to compile the examples that comes with X5-TX without any modifications, but it gives the same error.

I'm using Matlab 2009b and ISE 12.2
One more thing, I was able to compile the Default example but then it has started to give me the same error again and again!

Any hint on how I can solve this problem!
Back to top
View user's profile Send private message
amane



Joined: 17 Apr 2006
Posts: 118
Location: Simi Valley

PostPosted: Tue Mar 29, 2011 9:52 am    Post subject: Reply with quote

Hi,
Can you upload the design example mdl file?
Sincerely,
Amit Mane
Back to top
View user's profile Send private message Visit poster's website
aalbashar2



Joined: 29 Mar 2011
Posts: 4

PostPosted: Tue Mar 29, 2011 12:41 pm    Post subject: Reply with quote

Attached is the mdl file
Back to top
View user's profile Send private message
amane



Joined: 17 Apr 2006
Posts: 118
Location: Simi Valley

PostPosted: Tue Mar 29, 2011 4:37 pm    Post subject: Reply with quote

hi,
Please see the attached mdl file.
Let me know if this file compiles or not.
Sincerely,
Amit Mane
Innovative Integration Inc
Simi Valley ,Ca
Back to top
View user's profile Send private message Visit poster's website
amane



Joined: 17 Apr 2006
Posts: 118
Location: Simi Valley

PostPosted: Tue Mar 29, 2011 4:39 pm    Post subject: Reply with quote

hi,
Please see the attached mdl file.
Let me know if this file compiles or not.
Sincerely,
Amit Mane
Innovative Integration Inc
Simi Valley ,Ca
Back to top
View user's profile Send private message Visit poster's website
aalbashar2



Joined: 29 Mar 2011
Posts: 4

PostPosted: Wed Mar 30, 2011 2:06 am    Post subject: Reply with quote

Yeah, it compiles!
Thanx!

May I know what was the problem and how you fix it!
Back to top
View user's profile Send private message
aalbashar2



Joined: 29 Mar 2011
Posts: 4

PostPosted: Wed Mar 30, 2011 3:48 am    Post subject: Reply with quote

Dear Amit,

Unfortunately, I got the same error again.
I have made some slight modifications and compiled the model again, it works, but when I added a new output gateway, I got the exact same error!
I tried to compile the original model that you have sent me but again with the same error!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> MatLab/SimuLink Development Corner (GMT - 8 Hours)
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

© Copyright 2006-2012 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional