all test pass
This commit is contained in:
@@ -101,19 +101,19 @@ int main(int argc, char **argv, char **env) {
|
||||
|
||||
if( main_time == 50000 ){
|
||||
top->io_req_valid = 1;
|
||||
top->io_req_bits_address = 0x12;
|
||||
top->io_req_bits_address = 0x11 << 1 | 0x00;
|
||||
top->io_req_bits_register = 0x0;
|
||||
top->io_req_bits_data = 0xaa;
|
||||
} else if( main_time == 50400 ){
|
||||
top->io_req_valid = 0;
|
||||
}
|
||||
|
||||
if( main_time == 100000 ){
|
||||
if( main_time == 150000 ){
|
||||
top->io_rsp_valid = 1;
|
||||
top->io_rsp_bits_address = 0x12;
|
||||
top->io_rsp_bits_address = 0x11 << 1 | 0x00;
|
||||
top->io_rsp_bits_register = 0x0;
|
||||
top->io_rsp_bits_data = 0xaa;
|
||||
} else if( main_time == 100400 ){
|
||||
} else if( main_time == 150400 ){
|
||||
top->io_rsp_valid = 0;
|
||||
}
|
||||
|
||||
@@ -127,7 +127,7 @@ int main(int argc, char **argv, char **env) {
|
||||
|
||||
main_time ++;
|
||||
|
||||
if( main_time > 200000 ){
|
||||
if( main_time > 250000 ){
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user