Forum Discussion
Altera_Forum
Honored Contributor
14 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. m...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- anyway but i can´t change, for example, my 'avalon base address start' of my bar0 ?! --- Quote End --- BAR0 is a master, it has no Avalon base address. Only slaves have addresses, and those slaves can be addressed on a per-master basis as I describe above. For example, lets say you think of your system as having only a single address map, where the address map is that seen by some local master, like a NIOS processor, eg., the address map seen by the NIOS processor (Avalon master) is; 0x0000 RAM 0x1000 Registers 0x2000 RAM Now lets say you want to access only the registers via BAR0. If the registers are the only slave you map to BAR0, then by default, they will appear at an offset of 0x1000 into BAR0. However, using the 'Address Map' tab, you can set the base address of the registers to 0x0000 for the BAR0 master. With this setup, the NIOS processor will see the registers at 0x1000 in its address map, and the BAR0 master will see the registers at 0x0000. Cheers, Dave