URL
https://opencores.org/ocsvn/spacewiresystemc/spacewiresystemc/trunk
Show entire file |
Details |
Blame |
View Log
Rev 5 |
Rev 40 |
Line 7... |
Line 7... |
if(!SC_TOP->reset_set())
|
if(!SC_TOP->reset_set())
|
{
|
{
|
reset.value.integer = 0;
|
reset.value.integer = 0;
|
vpi_put_value(RESETnSPWUL, &reset, NULL, vpiNoDelay);
|
vpi_put_value(RESETnSPWUL, &reset, NULL, vpiNoDelay);
|
state_test = 0;
|
state_test = 0;
|
state_test_rx=1;
|
state_test_rx=0;
|
position = counter = 0;
|
position = counter = 0;
|
SC_TOP->end_tx_test();
|
SC_TOP->end_tx_test();
|
}else
|
}else
|
{
|
{
|
reset.value.integer = 1;
|
reset.value.integer = 1;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.