필터 지우기
필터 지우기

sample time error for simulink model consisting of xilinx block sets

조회 수: 5 (최근 30일)
shankar
shankar 2012년 6월 6일
we have designed a model with xilinx block sets .i given sample period 10 ns . while running it is showing fallowing error.
The periodic sample time 1000000 is not allowed because the ratio of this sample time over base rate (1e-008) is greater than the maximum value of uint32.

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 6월 6일
The error appears to be pretty clear. Do you have a sample time of 1000000 anywhere in your model? You either need to reduce that sample rate, or increase the base rate of your model.
If you have not set such a sample-time in your model, it seems like other people have run into this issue with System Generator before. I would recommend contacting Xilinx Support for help.
  댓글 수: 5
Kaustubha Govind
Kaustubha Govind 2013년 6월 13일
Have you tried the Sample Time Display to 'All' to see where the large sample-times are originating. Typically it is one of the blocks in the path with the sample-time that specifies it.
Lijo
Lijo 2013년 6월 13일
Yes I did. I have a multi rate system with blocks running at integer multiples of each other. I use some down samplers to synchronise them.
Interestingly, all the blocks which run with sample times less than 1 are colored and shown on the sample legend while those sample times more than 1 (in my case are 1e6,2e6,3e6 etc) are colored and given annotation on the Sample Legend but not identified on the blocks.
All my blocks are supposed to be running at sample periods below 1 and my input arrives at a sample period of 1. All the multi rated blocks are colored and shown correctly on the Sample Legend. There are also a few hybrid blocks !
Hybrid blocks have their own color representation but I don't think they can be the villains in my design. I am really clueless which block takes 5e6 sample time while I have specified only sample times less than 1 or inherited the sample times from blocks which have sample times less than 1.
Am I clear to you? Have you come across such scenarios? Thanks a lot again. Hope you can help me out !

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by