Skip to content

Commit 607956a

Browse files
committed
Fix CSR query issue to enable new CSR protocal
1 parent ffc62b6 commit 607956a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/acl_kernel_if.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,8 @@ int acl_kernel_if_post_pll_config_init(acl_kernel_if *kern) {
10521052
// Register addresses are pushed back since previous versions
10531053
// doesn't have the start register
10541054
kern->cra_address_offset = 0;
1055+
} else {
1056+
kern->cra_address_offset = 8;
10551057
}
10561058
} else {
10571059
kern->csr_version = 0;

0 commit comments

Comments
 (0)