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

PyObject *error_out(PyObject *m)
PyObject *log_msg(PyObject *self, PyObject *args)
PyObject *get_signal_val_long(PyObject *self, PyObject *args)
PyObject *get_signal_val_real(PyObject *self, PyObject *args)
PyObject *get_signal_val_str(PyObject *self, PyObject *args)
PyObject *get_signal_val_binstr(PyObject *self, PyObject *args)
PyObject *set_signal_val_long(PyObject *self, PyObject *args)
PyObject *set_signal_val_real(PyObject *self, PyObject *args)
PyObject *set_signal_val_str(PyObject *self, PyObject *args)
PyObject *get_definition_name(PyObject *self, PyObject *args)
PyObject *get_definition_file(PyObject *self, PyObject *args)
PyObject *get_handle_by_name(PyObject *self, PyObject *args)
PyObject *get_handle_by_index(PyObject *self, PyObject *args)
PyObject *get_root_handle(PyObject *self, PyObject *args)
PyObject *get_name_string(PyObject *self, PyObject *args)
PyObject *get_type(PyObject *self, PyObject *args)
PyObject *get_const(PyObject *self, PyObject *args)
PyObject *get_type_string(PyObject *self, PyObject *args)
PyObject *get_num_elems(PyObject *self, PyObject *args)
PyObject *get_range(PyObject *self, PyObject *args)
PyObject *register_timed_callback(PyObject *self, PyObject *args)
PyObject *register_value_change_callback(PyObject *self, PyObject *args)
PyObject *register_readonly_callback(PyObject *self, PyObject *args)
PyObject *register_nextstep_callback(PyObject *self, PyObject *args)
PyObject *register_rwsynch_callback(PyObject *self, PyObject *args)
PyObject *stop_simulator(PyObject *self, PyObject *args)
PyObject *iterate(PyObject *self, PyObject *args)
PyObject *next(PyObject *self, PyObject *args)
PyObject *get_sim_time(PyObject *self, PyObject *args)
PyObject *get_precision(PyObject *self, PyObject *args)
PyObject *deregister_callback(PyObject *self, PyObject *args)
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