Rate transitions and HDL generation port requirement
조회 수: 4 (최근 30일)
이전 댓글 표시
Due to the down-sampling requirement, the rate transition HDL block is used to sample at a lower rate of the data stream. Also, to pair the outputs in axis stream, muxes are used with serializer1D to format the axis Tdata output. Different rate transition blocks are used to align with the bit signal transition requirement at different ports. The system match the signal route color to show the rates are matched, as shown in Fig. 1.
But the HDL workflow advisor always fail at the IP core generation step with the highlighted sample rate requirement not met, as shown in Fig. 2 although the color format and the rates from these ports are verified to be at the same.
Question is, what causes this rate "inconvergence"? What is the solution for it? Is there any other way of compensating the serializer clock rate changes?
Fig. 1
Fig. 2
댓글 수: 0
채택된 답변
JT Ferrara
2020년 1월 23일
Hi Michael,
The error you are encountering is due to the input ports (which are connected to the AXI4-Stream Slave interface) running at a slower rate. There is a currently limitation when using AXI4-Stream that ALL ports mapped to an AXI4-Stream interface must be running at the fastest rate in the DUT. This is discussed here:
You need rate on the input ports to match the red rate in your design in order to map them to AXI4-Stream.
댓글 수: 0
추가 답변 (3개)
Kiran Kintali
2020년 1월 22일
hi michael,
can you share the model to further understand the behavior?
thanks
댓글 수: 0
Michael Du
2020년 1월 23일
댓글 수: 2
JT Ferrara
2020년 1월 23일
Hi Michael,
Simulink can introduce a faster rate in your design as the fundamental sample time if there are rates that are not integer multiples of one another. This is described here: https://www.mathworks.com/help/simulink/ug/managing-sample-times-in-systems.html
You can inspect the sample times that are present in your model as shown here: https://www.mathworks.com/help/simulink/ug/how-to-view-sample-time-information.html
From your description, it sounds like there is a fundamental sample time introduced by Simulink, even though no blocks are explicitly running at this sample time.
Therefore, you will need to inspect the sample rates present in your model and ensure that the fastest sample time present in the system matches the rate on the AXI4-Stream ports.
J.T.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!