Altera_Forum
Honored Contributor
8 years agoAdded a few constraints to .sdc file and the whole design broke?
Hello,
I am using the Arria 10 Dev. Board to test out the transceivers. I have a simple design using the Arria 10 Transciever Native PHY with enhanced PCS as well as the associated reset core and PLL. I have very simple logic driving the PHY and have an SFP plugged into the board with a bus analyzer and a loopback cable. When I synthesize, download and run it works flawlessly. I send some sequences as well as a short frame, see them on the bus analyzer, and receive them back in the FPGA. Now... I add a simple .sdc file defining the clocks that feed the logic and the PHY using the "The Quartus II TimeQuest Timing Analyzer 2014.08.08" as a guideline. The .sdc file is as such:create_clock -name CLK_275MHZ -period 3.636
create_clock -name REFCLK_SFP_RX_P -period 1.55
derive_pll_clocks
derive_clock_uncertainty
set_clock_groups -asynchronous -group { CLK_275MHZ } -group { REFCLK_SFP_RX_P } Run synthesis again, download, and the whole thing has gone haywire--not just a few bits incorrect, not a frame dropped, but totally haywire without any sensible data. But, there is at least enough being transmitted so that the receiver can lock and descramble--so the cable hasn't gone dark or locked up. I have a bus analyzer, so I can see that the problem originates from the transmit side. Also, if I comment out lines 2-5, it will go back to working fine. I am using Quartus 16.1.2 Standard on Windows. Any suggestions on where to start would be appreciated. I don't think going on and making the design more complex without ever adding an .sdc file is a workable solution, but, for the time-being, it is the only avenue I have. I can share more aspects of the design if that would help.