FRAM memory lib