#include "xf_database/hash_lookup3.hpp"
template < int WK, int WH > void hashLookup3 ( hls::stream <ap_uint <WK>>& key_strm, hls::stream <bool>& e_key_strm, hls::stream <ap_uint <WH>>& hash_strm, hls::stream <bool>& e_hash_strm )
lookup3 algorithm, 64-bit or 32-bit hash.
Parameters:
WK | the bit width of input message stream. |
WH | the bit width of output hash stream, must be 64 or 32. |
key_strm | the message being hashed. |
e_key_strm | end of key flag stream. |
hash_strm | the result. |
e_hash_strm | end of hash flag stream. |