Saturday, December 5, 2020

Re: query about hier blocks

Correction: it's msg_connect() that can accept string port names, not connect().

On Sat, Dec 5, 2020 at 10:05 AM Jeff Long <willcode4@gmail.com> wrote:
If you are making GRC hierarchical blocks, use Pad Sources and Pad Sinks with distinct names. Then, GRC will work out which port is which using info in the block yaml files.

The connect() function can accept string port names, but the code generated by GRC does not seem to use this feature and I haven't tried it.

On Sat, Dec 5, 2020 at 7:38 AM Prof. M.B. Patil <mbpatil@ee.iitb.ac.in> wrote:

If I have two input pads in my hier block,
which one will be considered as the first
pad ('0') when I invoke this block in a
circuit?

M.Patil




No comments:

Post a Comment