Class CsrGroup
- All Implemented Interfaces:
Serializable, Cloneable, Map<String,Csr>
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class AbstractMap
equals, hashCode, toString
-
Constructor Details
-
CsrGroup
public CsrGroup()
-
-
Method Details
-
load
public void load()Loads all Csrs in group.
-
verify
public void verify()Verifies all Csrs in group.
-
putRegex
Updates registers matching regex in any Csr in group.
Updates the hardware registers for those matching the provided regular expression.
- Parameters:
regex- Regular expression to be matched against the targeted register names.val- Hexadecimal String representation of the value to set.
-
setRegex
Sets CsrBitset bits for all registers matching regex in any Csr in group.
Updates the register mirror for registers matching the provided regular expression.
Does not update the hardware.
- Parameters:
regex- Regular expression to be matched against the targeted register names.val- Hexadecimal String representation of the value to set.
-