6.4.5 Supported built-in functions

The following is a list of the built-in functions that are supported by the Verilog converter.

bool()
This function can be used to typecast an object explictly to its boolean interpretation.

len()
For Signal and intbv objects, function len() returns the bit width.

int()
This function can be used to typecast an object explictly to its integer interpretation.

About this document