On Fri, Sep 12, 2014 at 9:00 PM, John Malsbury <jmalsbury.personal@gmail.com> wrote:
I have a hier block with a couple of message i/o and complex stream i/o. After including the hier block in a top_block and running, it threw out an error about input ports being out of range. It turned out that it had assigned a port index to a message input, so the stream input had been displaced to higher indices that didn't actually exist in the io_sig.As a work around - I deleted all of the pad sinks/source in the GRC file, added the stream sinks/sources, and then messages, to assure that the hier block generator assigned stream ports to the lower indices. [ I was a little surprised this worked actually].I can try to track down the cause, but I thought I'd mention it here if someone knew exactly where to look.Or maybe I'm just doing something silly?-John
I can actually see this being an issue. There is some ambiguity about port ordering between the message and data ports. We've looked at them a bit in the past for similar bugs, but I can see a problem with hier_blocks, particularly when built in GRC.
Your workaround also doesn't surprise me :)
Tom
No comments:
Post a Comment