6.4.6 Excluding code from conversion

For some tasks, such as debugging, it may be useful to insert arbitratry Python code that should not be converted.

The Verilog convertor supports this by ignoring all code that is embedded in a if __debug__ test. The value of the __debug__ variable is not taken into account.

About this document