HLib - An arm-based hardware library