UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 18174

Virtex-II Pro PowerPC - How do I calculate the base address for OCM-DCR registers from TIEISOCMDCRADDR and TIEDSOCMDCRADDR ports?

Description

keywords: PowerPC, EDK, OCM, ppc405_v1.00a , ppc405_v2.00b,ppc405_v2.00a 

 

 

 

General Description: 

For Virtex-II Pro PowerPC, how do I calculate the base address for OCM-DCR registers from TIEISOCMDCRADDR and TIEDSOCMDCRADDR ports?

Solution

There are two types of device-control register (DCR) interface with Virtex-II Pro PowerPC architecture: 

1. Internal device-control registers in Processor Block gasket  

2. User-defined device-control registers in CoreConnect DCR bus peripherals 

 

For Virtex-II Pro devices, there are two functional units that contain device-control registers that belong to the first category: 

A. DSCNTL, DSARC registers of data-side OCM (DSOCM) 

B. ISCNTL, ISARC, ISINIT, ISFILL registers of instruction-side OCM (ISOCM) 

 

The DCR architecture defined in PowerPC has 10-bit, word-aligned address, and TIEISOCMDCRADDR[0:7] and TIEDSOCMDCRADDR[0:7] define the first [0:7) bit DCR addresses on a [0:9) DCR address space. 

 

For example, if TIEISOCMDCRADDR[0:7] = 8'b 0000 0110 (0x06), the base address of DSOCM-DCR will be 10'b 0000 0110 00 (0x018].  

Therefore, the address for ISINIT register = 0x018, ISFILL register = 0x019 , ISARC register = 0x01A, ISCNTL = 0x1B  

 

Similarly, if TIEDSOCMDCRADDR[0:7] = 8'b 0000 0111 (0x07), the base address of DSOCM-DCR will be 10'b 0000 0111 00 (0x01C].  

Therefore, the address for DSARC register = 0x01C, DSCNTRL register = 0x01D.

AR# 18174
Date Created 09/03/2007
Last Updated 05/16/2014
Status Archive
Type General Article