Altera_Forum
Honored Contributor
13 years agopci express sopc vs qsys
Hey !!
I´ve made a fpga design in sopc which has got an pci express hard_ip block and several I/O´s. My plan is to serve those I/O´s from a host pc, which contains a linux operating system. my bar0 (connected to my I/O ports) base address is given by 0x00100000 (auto assigned by quartus). my I/O (it´s an avalon slave) has got base address of 0x00180000. I was able to read/write from/to the I/O port by executing a read/write operation to the offset address of 0x80000 (difference of avalon slave address and bar base address) on my host pc. Now i changed to QSYS. With the same settings compared to SOPC system i get an base address for bar1 of 0x00200000 (auto assigned by QSYS), base address of bar0 is 0x0000, base address of avalon interface is unchanged. Anyway two things are confusing me: The base address and size of bar1 is changing when interfaces, which are connected to bar0, change, in my example hsmc_bank2_west ???? Why is the bar base address higher than the avalon base address ??? To which offset address do i have to perform read/write operations of I/Os on my host pc ??? Does anybody have an idea ?? thanks for your help