10-11-2020 05:21 PM - edited 10-11-2020 05:22 PM
Dear Forum,
I am analyzing PCIE IP and need to understand its config signals.
The PCIe has many cfg_* signals which allows to make config space read&writes. In general all config signals are divided into following groups:
pcie2_cfg_err,interrupt/control/mgmt.
Could someone please explain how to make config read and write using these signals?
I want to read&write Status, Command registers of Config space.
thanks
Hayk
10-12-2020 06:59 PM
Any updates?
10-12-2020 07:14 PM
Hi,
Which specific PCIe IP are you referring to? And also on what device?
Thanks,
-Pat
Give kudos if helpful. Accept as solution if it solves your problem.
https://tuxengineering.com/blog
10-16-2020 06:48 PM
Thanks for the reply.
I am using :xc7k70tfbg484-3
And the PCIe IP is: 7 Series Integreated Block for PCIE
( no DMA).
Thanks
Hayk
10-16-2020 07:21 PM
Hi @hayk.petr
The cfg_mgmt interface is a generic read/write simple interface to access any register in the configuration space. Some of these registers are exposed as ports for simplicity, such as cfg_status, cfg_command, etc. See pg054 page 105 Designing with Configuration Space Registers and Configuration Interface for details on these ports.
The interface is discussed on page 112-113, with read & write examples.
Thanks,
-Pat
Give kudos if helpful. Accept as solution if it solves your problem.
https://tuxengineering.com/blog
10-18-2020 05:25 PM
Hi @patocarr ,
Thanks much for the answer
What is difference between DRP interface and cfg_mgmt_* ports?
and what is "Internal Configuration Access Port Interface"- ICAP?
Thanks
Hayk
10-18-2020 07:08 PM
Hi @hayk.petr
I haven't used the DRP interface but I understand it's used to change the IP configuration dynamically. The cfg_mgmt affects the runtime configuration of the core and reflects its status with its link partner.
The ICAP is used in the MPSoC platform, from the Zynq side.
Thanks,
-Pat
Give kudos if helpful. Accept as solution if it solves your problem.
https://tuxengineering.com/blog
10-18-2020 09:18 PM - edited 10-18-2020 09:41 PM
hi @patocarr ,
Thanks much.
When you say DRP interface is used to change the IP configuration dynamically, you mean after power on when Tandem mode PCIE is configured we can use DRP to modify some of PCIE config regs. Is my understanding right?
( During DRP mode as speck says the sys_reset should be assigned)
And for ICAP that means the ICAP ports are already connected to MPSoC and user cannot access them only Proc can access these ports. Right?
Thanks
Hayk
10-20-2020 04:49 PM
Any updates please?
Thanks
Hayk
11-15-2020 06:31 PM - edited 11-15-2020 09:08 PM
Xilinx support?? Never heared about it.
11-26-2020 05:48 PM
Any updates from Xilinx?