rename unit to unit_gen
ad mem_base