Specifying parameter type in .xml where parameter is a class defined in python


I have a block “ldpc_encoder”, which takes as parameter an object of the
class “ldpc_parity”.The block “ldpc_encoder” and the class “ldpc_parity”
are defined in python. The parameter is passed as a variable LDPC_Parity
into the init() method. I have successfully installed this block
cmake tools.

Now I want to edit .xml file corresponding to this block. The
generated(using mod_tool) .xml file is given below.

<?xml version="1.0"?> ldpc_encoder ldpc_ldpc_encoder ldpc import ldpc ldpc.ldpc_encoder($LDPC_Parity) ... ... ... in out

On Wed, Jul 17, 2013 at 12:03 PM, Manu T S [email protected]

<!-- Make one 'sink' node per input. Sub-nodes: <!-- Make one 'source' node per output. Sub-nodes:

From what I understand, I have to edit the parameter declaration to
define $LDPC_Parity as a parameter.
How do I specify the type in this case? Can I use import statements?

Manu T S

Another question with reference to the earlier mail.
The input/output vector length are variables K and N respectively which
computed inside the init() method. So how can I specify vlen tag
sink/source tags?