A System-on-Chip millimeter-wave radiometer for the space-based observation of solar flares