all test pass

This commit is contained in:
RuigeLee
2023-07-28 20:42:35 +08:00
parent 2048a4d286
commit 3aa4ca17d4
2 changed files with 10 additions and 10 deletions

View File

@@ -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;
}
}