rtl_utils: convenience functions