Forum Discussion
26 Replies
- WQIUS
New Contributor
Bye the way, after I change the GXB BANK Channel to L2(namely PIN_R2/R1,PIN_N2/N1),recompile it,there is no error. - WQIUS
New Contributor
In my changes, I also change the data rate to 1000Mbps - CheepinC_altera
Regular Contributor
Hi WQIUS,
Thanks for your update on the details on changes. For your information, the reason of the previous unfit is because you have assigned the XCVR channels to the physical channel 1 of the GXB bank. In the selected part of yours, there is only 3 XCVR channels. Only physical channel 1 have the CMU PLL which can drive duplex XCVR. Therefore, you can only place your duplex XCVR channel to physical channel 0 or 2 so that you can have CMU PLL to provide high speed clock to your TX channels.
Please let me know if there is any concern. Thank you.
Chee Pin
- WQIUS
New Contributor
Hi: thank you for your reply. According to your point of view, only channels 0 and 2 can use the CMU PLL, which provide a high-speed clock . But if I want to use channel 1 as a channel for fiber-optic communication(SFP), is it not feasible? thank you - WQIUS
New Contributor
If I want to use 0.1.2 three channels, can I use gxb without cmu pll? If I can use it, how to instantiate gxb? - CheepinC_altera
Regular Contributor
Hi,
Yes, you are right. If you want to use the CMU PLL, you are left with only CH0 and 2 to use. If you want to use all the CH0, 1 and 2, you may explore into using external fPLL. You can use one fPLL to drive all the 3 CHs at the same data rate. If you are planning to use two fPLLs to support different data rate, you might need to create some simple test design to try out to see if it works as I am not sure if there is enough fPLL to drive the XCVR banks on the same side.
You may refer to the wiki design example on how to use external fPLL:
- CheepinC_altera
Regular Contributor
Hi,
Yes, your understanding is correctly. If you would like to CMU PLL, then you can only use CH0 and CH2. If you plan to use 3 of the duplex XCVR channels at the same data rate, then you can explore using external fPLL to drive all the 3 XCVR channels. Note that when you use the CH1 as duplex XCVR, then you would not have a CMU PLL because it is located in the RX channel.
You may refer to the following design example for further details:
Note that in your selected part, there is only one 3-CH XCVR banks. If you would like to implement 2 different data rates, I am not sure if there are sufficient fPLL resources on the same side for your selected part, You might need to create test design to check on this.
Please let me know if there is any concern. Thank you.
Chee Pin
- WQIUS
New Contributor
Hi: sorry to disturb you. There is a question for you to ask. Regarding the GXB channel test, it uses a differential crystal. How can I test if the differential crystal is working properly? In addition, If I use the transceiver toolkit to test GXB channel send and receive, do I need to add “JTAG to Avalon Master Bridge” in the program to find this channel in the transceiver toolkit? - WQIUS
New Contributor
Hi: Sorry to disturb you,there is still a question ask, I use the cyclone V(5CGXFC3B7F23C8N)chip, about the crystal size of the GXB required, how should I choose?can 125M be?LVDS or LVPECL? Are there any special requirements? —————————————————————— 王秋实 中广核研究院北京分院 技术支持部 联系电话:010-82193500-279 手机 :18810644922 邮箱 :wangqiushi@cgnpc.com.cn
- WQIUS
New Contributor
Hi: Thank you for your guidance. I will learn according to your meaning. If I have any questions, I will ask for your help again. Thank you. - WQIUS
New Contributor
Hi: Now, I have a new question to ask you. In the file”AN585 page:3:PHY LOOPBACK ”, it mentioned the message to enable the loopback function in GXB: To set the sd_loopback bit , you need to do a configuration write to the PCS control register. Also, I learn that the custom PHY can set loopback function, if there is a detailed steps to follow to set the loopback function? And, I download the design examples “transceiver_toolkit_13_0sp1_qar”,in which there is a folder “cv_GX_1ch_40b_3125mbps”,I change it to 1000Mbps, and change the device, but when I run the transceiver toolkit, it always has some error, then, I delete the PLL in the top.v file ,and there is no error . As I do not set the loopback, I can only see the TX . So, what is this problem? And ,How can I set if I want to check the TX and the RX channel with loopback? (cyclone V: 5CGXFC3B7F23C8N) Thank you. —————————————————————— 王秋实 中广核研究院北京分院 技术支持部 联系电话:010-82193500-279 手机 :18810644922 邮箱 :wangqiushi@cgnpc.com.cn - CheepinC_altera
Regular Contributor
Hi,
Regarding your inquiries on setting the serial loopback in Custom PHY, for your information, you will need to perform register writing to enable the serial loopback. You may refer to the XCVR PHY IP user guide -> "PMA Control and Status Registers" -> "phy_serial_loopback" register for further details.
By the way, to ease your debugging, I would recommend you to create a new simple one channel test design with Custom PHY in RTL to avoid any dependency on the XCVR toolkit and design example.
You may try to refer to the following AV Custom PHY design to enable serial loopback:
Please let me know if there is any concern. Thank you.
Chee Pin