Monday, May 6, 2024

Re: Simulation halts using repeat block in GRC with a picture and the grc file.

This is because the Time Sink is assuming the two streams are coming in at the same rate, but the repeat block increases the number of samples by a factor of 4.  So the input buffer of the first input will be starved and the simulation will hang.  You can fix this by using 2 separate time/frequency sink blocks instead of ones with 2 inputs.

Josh

On Sun, May 5, 2024 at 3:03 PM tom sutherland <alphatozeta@yahoo.com> wrote:
I am trying to use a repeat block to increase the number of samples per bit of a data source. It only runs once if the repeat number is anything but 1. I have a attached a simple example of my code.
Thanks...Tom



No comments:

Post a Comment