Closed tj90241 closed 2 years ago
Remove unused os import
os
Use isinstance(...) instead of type(...)
Replace uses of has_key with get(key) checks
Fix derivation of cache line bits from the interconnect definition: it assumed that the items are interated in the order they appear in the YAML, but this is not necessarily the case. Fix the assumption.
Signed-off-by: Tyler J. Stachecki stachecki.tyler@gmail.com
Remove unused
os
importUse isinstance(...) instead of type(...)
Replace uses of has_key with get(key) checks
Fix derivation of cache line bits from the interconnect definition: it assumed that the items are interated in the order they appear in the YAML, but this is not necessarily the case. Fix the assumption.
Signed-off-by: Tyler J. Stachecki stachecki.tyler@gmail.com