Forum Discussion
Hi He Xu
Sorry please ignore the previous reply. I noticed you are using AvMM+ IP for PCI Express and generated the gen3x16 example design.
To determine if your example design is link-up as Gen3x8 or Gen3x16, kindly use Signaltap to monitor the value of currentspeed_o[1:0] and lane_act_o[4:0]
currentspeed_o[1:0] indicate the current speed of the PCIe link. The following encodings are defined:
2'b00 : Undefined
2'b01 : Gen1
2'b10 : Gen2
2'b11 : Gen3
lane_act_o[4:0] indicate the number of lanes that are configured during link training. The following encodings are defined:
5'b0 0001 : 1 lane
5'b0 0010 : 2 lanes
5'b0 0100 : 4 lanes
5'b0 1000 : 8 lanes
5'b1 0000 : 16 lanes
Hi skbeh,
Sorry, I am a newbie for Quartus Software. Do you mean I should use the Signal Tap Logic Analyzer?
After I clicked on the Signal Tap, it shows like this.
Then what should I do to monitor the value of currentspeed_o[1:0] and lane_act_o[4:0] as you told me?
Thanks.