Hi, Jack,

Thanks for your helpful reply!

On Jan 31, 2013, at 2:01 AM, Jack Hickish wrote:

> However, digging through the library, calibration flags (cal_fail and 
> phy_ready and a software qdr_reset) for the 4 QDR chips should be available 
> in 0x7000, 0x8000, 0x9000, 0xA0000 (does one of these appear in the 
> system.mhs you just compiled?) -- which don't appear to go into core_info.tab 
> anywhere.

I do see an "opb_qdr_sniffer" instance in system.mhs that has (among other 
details):

PARAMETER C_CONFIG_BASEADDR = 0x000A_0000
PARAMETER C_CONFIG_HIGHADDR = 0x000A_FFFF
PARAMETER C_BASEADDR = 0x0380_0000
PARAMETER C_HIGHADDR = 0x03FF_FFFF

so it does map a (64 KB!) config space to offset 0xA0000.

> I expect these should be the addresses in core_info.tab pointed to by 
> qdr[X]_ctrl.

I suspect you're right.  The core_info.tab has:

qdr3_memory         3  3800000  800000
qdr3_ctrl           3  60000    100

The qdr3_memory at offset 0x3800000 matches the C_BASEADDR from system.mhs, but 
it does seem that qdr3_ctrl in core_info.tab should have an offset of 0xA0000 
rather than 0x60000.  Similar changes should probably be made for all the 
qdrX_ctrl lines in the ROACH2 core_info.tab file.

Thanks again,
Dave


Reply via email to