Line 4... |
Line 4... |
vpiHandle TX_DATA = vpi_handle_by_name("module_tb.TOP_TX_DATA",NULL);
|
vpiHandle TX_DATA = vpi_handle_by_name("module_tb.TOP_TX_DATA",NULL);
|
vpiHandle TX_WRITE = vpi_handle_by_name("module_tb.TOP_TX_WRITE",NULL);
|
vpiHandle TX_WRITE = vpi_handle_by_name("module_tb.TOP_TX_WRITE",NULL);
|
vpiHandle TX_TICK = vpi_handle_by_name("module_tb.TOP_TX_TICK",NULL);
|
vpiHandle TX_TICK = vpi_handle_by_name("module_tb.TOP_TX_TICK",NULL);
|
vpiHandle TX_TIME = vpi_handle_by_name("module_tb.TOP_TX_TIME",NULL);
|
vpiHandle TX_TIME = vpi_handle_by_name("module_tb.TOP_TX_TIME",NULL);
|
|
|
vpiHandle CREDITERRORRX = vpi_handle_by_name("module_tb.CREDIT_ERROR_RX",NULL);
|
vpiHandle BUFFER_READ = vpi_handle_by_name("module_tb.BUFFER_READ",NULL);
|
vpiHandle TOPSENDFCTNOW = vpi_handle_by_name("module_tb.TOP_SEND_FCT_NOW",NULL);
|
//vpiHandle TOPSENDFCTNOW = vpi_handle_by_name("module_tb.TOP_SEND_FCT_NOW",NULL);
|
|
|
vpiHandle LINKSTART = vpi_handle_by_name("module_tb.LINK_START",NULL);
|
vpiHandle LINKSTART = vpi_handle_by_name("module_tb.LINK_START",NULL);
|
vpiHandle LINKDISABLE = vpi_handle_by_name("module_tb.LINK_DISABLE",NULL);
|
vpiHandle LINKDISABLE = vpi_handle_by_name("module_tb.LINK_DISABLE",NULL);
|
vpiHandle AUTOSTART = vpi_handle_by_name("module_tb.AUTO_START",NULL);
|
vpiHandle AUTOSTART = vpi_handle_by_name("module_tb.AUTO_START",NULL);
|
vpiHandle RESETn = vpi_handle_by_name("module_tb.RESETN",NULL);
|
vpiHandle RESETn = vpi_handle_by_name("module_tb.RESETN",NULL);
|
Line 50... |
Line 50... |
dout_value.value.integer = 0;
|
dout_value.value.integer = 0;
|
vpi_put_value(LINKSTART, &dout_value, NULL , vpiNoDelay);
|
vpi_put_value(LINKSTART, &dout_value, NULL , vpiNoDelay);
|
vpi_put_value(LINKDISABLE, &dout_value, NULL, vpiNoDelay);
|
vpi_put_value(LINKDISABLE, &dout_value, NULL, vpiNoDelay);
|
vpi_put_value(AUTOSTART, &dout_value, NULL ,vpiNoDelay);
|
vpi_put_value(AUTOSTART, &dout_value, NULL ,vpiNoDelay);
|
|
|
vpi_put_value(CREDITERRORRX, &dout_value, NULL , vpiNoDelay);
|
//vpi_put_value(CREDITERRORRX, &dout_value, NULL , vpiNoDelay);
|
vpi_put_value(TOPSENDFCTNOW, &dout_value, NULL , vpiNoDelay);
|
vpi_put_value(BUFFER_READ, &dout_value, NULL, vpiNoDelay);
|
|
|
vpi_put_value(TX_DATA, &dout_value, NULL , vpiNoDelay);
|
vpi_put_value(TX_DATA, &dout_value, NULL , vpiNoDelay);
|
vpi_put_value(TX_WRITE, &dout_value, NULL, vpiNoDelay);
|
vpi_put_value(TX_WRITE, &dout_value, NULL, vpiNoDelay);
|
|
|
vpi_put_value(TX_TICK, &dout_value, NULL , vpiNoDelay);
|
vpi_put_value(TX_TICK, &dout_value, NULL , vpiNoDelay);
|