python2verilog.api package

Submodules

python2verilog.api.context module

python2verilog.api.exit_handler module

python2verilog.api.file_namespaces module

Handles namespaces

python2verilog.api.modes module

Modes

class Modes(value)[source]

Bases: Enum

Filesystem Modes

NO_WRITE = 0
OVERWRITE = 2
WRITE = 1
static open_text_mode(mode: Modes) str[source]

Returns proper mode argument for open

static write(mode: Modes) bool[source]

Returns if user wants to write

python2verilog.api.namespace module

python2verilog.api.python module

python2verilog.api.verilogify module

Module contents