Hi all,
I am having a problem with Modelsim while trying to do a timing simulation. I saw a similar question asked some time ago but I think this may be a different issue.
I have inserted a PLL to which converts a 40MHz input to 83MHz which is used to clock a serial interface. The design works on the board, but when I try to do a timing simulation with Modelsim (Version 6.2d) I get the following error "Cannot read output "a_clk0"."
I am using the output of the PLL to clock the logic of a serial interface, it is later sent as an output clock for the interface, but is copied to a signal beforehand, so does not go directly to an output pin of the FPGA. I am aware that I cannot read outputs but as this is an internal signal, I am confused as to why Modelsim is complaining.
I have seen this problem before when I was writting code for a reset module. I passed the reset signal which came from outside through 2 flips flops and then used the delayed signal to do the reset. I read this was good practice, but anyway Modelsim complained when i did this, but only sometimes, for certain modules. I never could understand it so i just got rid of the 2 flip flops so Modelsim wouldn´t complain. However after seeing this issue again, I thin it´s time for me to understand it. I am hoping someone out there knows why.
I´d be so grateful if anyone has a solution.
By the way, I am using:
Stratix 2 GX FPGA
Quartus II 7.1
Modelsim 6.2d
Many thanks for your help.
I am having a problem with Modelsim while trying to do a timing simulation. I saw a similar question asked some time ago but I think this may be a different issue.
I have inserted a PLL to which converts a 40MHz input to 83MHz which is used to clock a serial interface. The design works on the board, but when I try to do a timing simulation with Modelsim (Version 6.2d) I get the following error "Cannot read output "a_clk0"."
I am using the output of the PLL to clock the logic of a serial interface, it is later sent as an output clock for the interface, but is copied to a signal beforehand, so does not go directly to an output pin of the FPGA. I am aware that I cannot read outputs but as this is an internal signal, I am confused as to why Modelsim is complaining.
I have seen this problem before when I was writting code for a reset module. I passed the reset signal which came from outside through 2 flips flops and then used the delayed signal to do the reset. I read this was good practice, but anyway Modelsim complained when i did this, but only sometimes, for certain modules. I never could understand it so i just got rid of the 2 flip flops so Modelsim wouldn´t complain. However after seeing this issue again, I thin it´s time for me to understand it. I am hoping someone out there knows why.
I´d be so grateful if anyone has a solution.
By the way, I am using:
Stratix 2 GX FPGA
Quartus II 7.1
Modelsim 6.2d
Many thanks for your help.