Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- Using PCI and PCIe I have written data to the memory in SOPC. and I have implemented the same system in Qsys using PCIe ... Is this understand sufficient to before I get on to modify the core components [_hw.tcl]? --- Quote End --- Its sufficient to show you know how PCIe/PCI works. --- Quote Start --- Where can I find the _hw.tcl file for PCI IP, I could not find it. --- Quote End --- There might not be one. Does the PCI IP have an Avalon interface? --- Quote Start --- I actually haven't tried creating a new component, and haven't modified _hw.tcl filie. Will work on it and will get back if I have questions. Any suggestions before I try to create new components? --- Quote End --- If the PCI IP core does not have an Avalon interface, then you will have to implement one, eg., start with a PCI target design, and add an Avalon-MM master interface internal to the FPGA. Then use the Qsys component editor to create the _hw.tcl file for you. You will need to use the GUI to correctly assign the Avalon-MM signals to read, write, byteenable, etc., and you will need to mark the PCI signals as conduit signals. Once you have a _hw.tcl design, you can create a Qsys system with the PCI-to-Avalon-MM bridge and a memory component. Then generate PCI transactions to test your component. I assume the PCI IP core comes with a PCI BFM ... Cheers, Dave