File simulatormodule.h

Defines

COCOTB_ACTIVE_ID 0xC0C07B
COCOTB_INACTIVE_ID 0xDEADB175
MODULE_NAME “simulator”

Typedefs

typedef struct t_callback_data s_callback_data
typedef struct t_callback_data *p_callback_data

Functions

static PyObject *error_out(PyObject *m)
static PyObject *log_msg(PyObject *self, PyObject *args)
static PyObject *get_signal_val_long(PyObject *self, PyObject *args)
static PyObject *get_signal_val_real(PyObject *self, PyObject *args)
static PyObject *get_signal_val_str(PyObject *self, PyObject *args)
static PyObject *get_signal_val_binstr(PyObject *self, PyObject *args)
static PyObject *set_signal_val_long(PyObject *self, PyObject *args)
static PyObject *set_signal_val_real(PyObject *self, PyObject *args)
static PyObject *set_signal_val_str(PyObject *self, PyObject *args)
static PyObject *get_definition_name(PyObject *self, PyObject *args)
static PyObject *get_definition_file(PyObject *self, PyObject *args)
static PyObject *get_handle_by_name(PyObject *self, PyObject *args)
static PyObject *get_handle_by_index(PyObject *self, PyObject *args)
static PyObject *get_root_handle(PyObject *self, PyObject *args)
static PyObject *get_name_string(PyObject *self, PyObject *args)
static PyObject *get_type(PyObject *self, PyObject *args)
static PyObject *get_const(PyObject *self, PyObject *args)
static PyObject *get_type_string(PyObject *self, PyObject *args)
static PyObject *get_num_elems(PyObject *self, PyObject *args)
static PyObject *get_range(PyObject *self, PyObject *args)
static PyObject *register_timed_callback(PyObject *self, PyObject *args)
static PyObject *register_value_change_callback(PyObject *self, PyObject *args)
static PyObject *register_readonly_callback(PyObject *self, PyObject *args)
static PyObject *register_nextstep_callback(PyObject *self, PyObject *args)
static PyObject *register_rwsynch_callback(PyObject *self, PyObject *args)
static PyObject *stop_simulator(PyObject *self, PyObject *args)
static PyObject *iterate(PyObject *self, PyObject *args)
static PyObject *next(PyObject *self, PyObject *args)
static PyObject *get_sim_time(PyObject *self, PyObject *args)
static PyObject *get_precision(PyObject *self, PyObject *args)
static PyObject *deregister_callback(PyObject *self, PyObject *args)
static PyObject *log_level(PyObject *self, PyObject *args)

Variables

PyMethodDef SimulatorMethods[]
struct t_callback_data

Public Members

PyThreadState *_saved_thread_state
uint32_t id_value
PyObject *function
PyObject *args
PyObject *kwargs
gpi_sim_hdl cb_hdl