13.07.2015 Views

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8−28PCP Reference Manual• The src_offset argument specifies the offset of the source addresses.In combination with size, this specifies the range of address that aremapped. By default the source offset is 0x0000.• The size argument specifies the number of addresses that aremapped. This argument is required.• The dest_offset argument specifies the position in the destination towhich the specified range of addresses is mapped. By default thedestination offset is 0x0000.If you are mapping a bus to another bus, the number of data lines of eachbus may differ. In this case you have to specify a range of source datalines you want to map (src_dbits = begin..end) and the range ofdestination data lines you want to map them to (dest_dbits =first..last).LINKER SCRIPT LANGUAGE• The src_dbits argument specifies a range of data lines of the sourcebus. By default all data lines are mapped.• The dest_dbits argument specifies a range of data lines of thedestination bus. By default, all data lines from the source bus aremapped on the data lines of the destination bus (starting with line 0).From space to spaceIf you map an address space to another address space (nesting), you cando this by mapping the subspace to the containing larger space. In thisexample a small space of 64k is mapped on a large space of 16M.space small{id = 2;mau = 4;map (src_offset = 0, dest_offset = 0,dest = space : large, size = 64k);}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!