Macro Statements

Opcode Operands Function

'assign V,E Evaluate E and assign to V

'break - Terminate innermost loop

comment A Pass comment through to output

'comment A Comment disappears from output

'continue - Terminate the current iteration of the innermost loop

'disp E Output a portion of an FHDL statement

'elif E Introduce an alternative condition into an IF statement

'else - Introduce the ELSE portion of an IF statement

'endfor - End of a 'for loop

'endif - End of an IF statement

'endmacro - End of a macro definition

'endwhile - End of a 'while loop

'error L,E Print an error message E of severity L

'eval E Evaluate the expression E

'exit - Terminate evaluation of the current macro

<expression> - Evaluate the expression

'for E,E,E Begin a for loop. Operands are init, cond, incr

'gblint VL Define global integer variables

'gbllist VL Define global list variables

'gblstr VL Define global string variables

'if E Begin an if statement with condition E

'include F Include the file named F in the current macro or input file

'input VL Define input-signal operand names

'int VL Define local integer variables

'list VL Define local list variables

'macro VL Begin a macro definition

'network X Begin or resume a (possibly named) network section

'output VL Define output-signal operand names

'stdout X Begin or resume a (possibly named) standard-output section

'str VL Define local string variables

'subnetwk X Begin or resume a (possibly named) subnetwork section

'while E Begin a while loop with continuation condition E