"keywordflow">do</span> { \</div>
<div class="line">                if (MAX_##type &lt; index) { \</div>
<div class="line">                        return XST_INVALID_PARAM; \</div>
<div class="line">                } \</div>
<div class="line">        } <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p>This macro checks if index is valid. </p>
<p>type corresponds to node type and can have either of below:</p>
<ul>
<li>IP</li>
<li>OP</li>
<li>PLL</li>
<li>MUX</li>
<li>GATE</li>
<li>D