Compact Resistor-Based Temperature Sensors for On-Chip Thermal Monitoring