Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20690 Discussions

need help to read the register values

Altera_Forum
Honored Contributor II
996 Views

Hi,  

I am working on 1588 TOD clock IP, I have used the default configurations while generating the Altera TOD IP. In simulation, After few nano seconds, I am writing random value in Seconds L, Seconds H and Nanoseconds registers. When i am trying to read the registers i am unable to read those registers which i have written. Please see the below read values. Please help me out with how to read the full register values.  

 

write value of Nanoseconds= 8484d609 

read value of Nanoseconds=8000d609  

 

write value of Seconds L=c0895e81 

read value of Seconds L=00095e81  

 

write value of Seconds H=12153524 

read value of Seconds H= 00000000 

 

Please help us out with this question as we are not able to do it. 

 

 

Thanks,  

Prasuna
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
241 Views

Hi Prasuna, 

Try to write the timestamp registers in this sequence: SecondsH, SecondsL, and NanoSec. And Read the timestamp registers in this sequence: NanoSec, SecondsL, and SecondsH.  

Can you brief what steps are you followed? 

 

Let me know if this has helped resolve the issue you are facing or if you need any further assistance. 

 

Best Regards 

Vikas Jathar  

Intel Customer Support – Engineering 

(Under Contract to Intel)
0 Kudos
Reply