mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
make aclk test allow both registered and unregistered mem configs
both are valid, which is picked in the end will depend on timing closure
This commit is contained in:
parent
0b419400c7
commit
ab41cbc299
1 changed files with 3 additions and 2 deletions
|
|
@ -1032,8 +1032,9 @@ pub fn aclk_tests() -> usize {
|
|||
print!("{}: {} cycles\r", i, r);
|
||||
}
|
||||
assert!(results[1] - results[0] == 3);
|
||||
assert!(results[2] - results[1] == 3);
|
||||
assert!(results[3] - results[2] == 6);
|
||||
// variability is due to option for REGISTER_MEM or not
|
||||
assert!((results[2] - results[1] == 3) || (results[2] - results[1] == 4));
|
||||
assert!((results[3] - results[2] == 6) || (results[3] - results[2] == 7));
|
||||
assert!(results[4] - results[3] == 3);
|
||||
|
||||
assert!(results[6] - results[5] == 10); // related to the clock divider
|
||||
|
|
|
|||
Loading…
Reference in a new issue