A method for generating a temperature-compensated oscillating signal, the method comprising: generating an oscillating signal; providing a first supply voltage (V+, V-) for generating the oscillating signal, the first supply voltage being generated using a second supply voltage (Vcc, Vss); characterized by: providing a complementary to absolute temperature, CTAT, current to temperature-compensate a frequency of the oscillating signal; wherein providing the first supply voltage (V+, V-) comprises: controlling a first set of one or more transistors (M01, M02) coupled between a first voltage rail (Vcc) associated with the second supply voltage (VCC, VSS) and a first voltage rail (V+) associated with the first supply voltage (V+, V-); and controlling a second set of one or more transistors (M03, M04) coupled between a second voltage rail (V-) associated with the first supply voltage (V+, V-) and a second voltage rail (Vss) associated with the second supply voltage (VCC, VSS); wherein controlling the first set of one or more transistors (M01, M02) comprises controlling the first set of one or more transistors (M01, M02) based on a voltage at the second voltage rail (V-) associated with the first supply voltage (V+, V-), and wherein controlling the second set of one or more transistors (M03, M04) comprises controlling the second set of one or more transistors (M03, M04) based on another voltage at the first voltage rail (V+) associated with the first supply voltage (V+, V-). generating an oscillating signal; providing a first supply voltage (V+, V-) for generating the oscillating signal, the first supply voltage being generated using a second supply voltage (Vcc, Vss); providing a complementary to absolute temperature, CTAT, current to temperature-compensate a frequency of the oscillating signal; wherein providing the first supply voltage (V+, V-) comprises: controlling a first set of one or more transistors (M01, M02) coupled between a first voltage rail (Vcc) associated with the second supply voltage (VCC, VSS) and a first voltage rail (V+) associated with the first supply voltage (V+, V-); and controlling a second set of one or more transistors (M03, M04) coupled between a second voltage rail (V-) associated with the first supply voltage (V+, V-) and a second voltage rail (Vss) associated with the second supply voltage (VCC, VSS); wherein controlling the first set of one or more transistors (M01, M02) comprises controlling the first set of one or more transistors (M01, M02) based on a voltage at the second voltage rail (V-) associated with the first supply voltage (V+, V-), and wherein controlling the second set of one or more transistors (M03, M04) comprises controlling the second set of one or more transistors (M03, M04) based on another voltage at the first voltage rail (V+) associated with the first supply voltage (V+, V-). controlling a first set of one or more transistors (M01, M02) coupled between a first voltage rail (Vcc) associated with the second supply voltage (VCC, VSS) and a first voltage rail (V+) associated with the first supply voltage (V+, V-); and controlling a second set of one or more transistors (M03, M04) coupled between a second voltage rail (V-) associated with the first supply voltage (V+, V-) and a second voltage rail (Vss) associated with the second supply voltage (VCC, VSS); wherein controlling the first set of one or more transistors (M01, M02) comprises controlling the first set of one or more transistors (M01, M02) based on a voltage at the second voltage rail (V-) associated with the first supply voltage (V+, V-), and wherein controlling the second set of one or more transistors (M03, M04) comprises controlling the second set of one or more transistors (M03, M04) based on another voltage at the first voltage rail (V+) associated with the first supply voltage (V+, V-).