Both... are as accurate as possible by what Martin has already stated. The Ryzen CPUs have over 60 temp sensors across the entire package.
The Tctl/Tdie shows constantly the highest temp, I believe by switching instantly to the hottest one.
The CCD Tdie is probably a sensor to one side of the CCD and the reading is fixed to that one. Or may be is the average on all sensors.
If the CPU is on light load the two readings would have some delta between them, because the light load cant heat up the entire CCD equally so the CCD Tdie would read a lower Max and report a lower Avg also. The Tctl/Tdie for the hottest spot would still report higher, because thats whats for.
If the CPU is on heavy load for a certain period of time then the 2 readings would be much more close to each other if not the same for the Max/Avg, because the amount of heat is enough to equally heat the CCD across sides.
Look at mine after several hours of just browsing the internet, watching videos, and idling.
There is a difference for the Low/Max/Avg between them because the CPU has done light work.
View attachment 3780