40 template<
typename K,
typename V>
58 template<
typename K,
typename V>
71 #pragma HLS pipeline II=1
91 #pragma HLS pipeline II=1
140 #pragma HLS pipeline II=1
189 #pragma HLS pipeline II=1
245 #pragma HLS pipeline II=1
299 #pragma HLS pipeline II=1
345 #pragma HLS pipeline II=1
bool update(K key, V value)
Search the CAM array for a key and updates the corresponding value.
KeyValuePair< K, V > CamArray0
bool insert(K key, V value)
bool lookup(K key, V &value)
Search the CAM array for a key.
bool reverse_lookup(V value, K &key)
Reverse-search the CAM array for a key to a value.
bool deleteEntry(K key)
Remove a key-value pair from the CAM array.
KeyValuePair< K, V > CamArray1
bool update(KeyValuePair< K, V > kVP)
KeyValuePair< K, V > CamArray4
bool insert(KeyValuePair< K, V > kVP)
Insert a new key-value pair in the CAM array.
KeyValuePair< K, V > CamArray7
KeyValuePair< K, V > CamArray5
KeyValuePair< K, V > CamArray6
KeyValuePair< K, V > CamArray2
KeyValuePair< K, V > CamArray3
void reset()
Invalidate all entries of the CAM array.
KeyValuePair(K key, V value)
KeyValuePair(K key, V value, bool valid)