Hi Ross,

The coreinfo.tab file serves only to tell borph there the registers are
located, so changing it would only give borph the wrong mapping. These
registers are hard-coded in the HDL in the
sys_block<https://github.com/ska-sa/mlib_devel/blob/master/xps_base/XPS_ROACH2_base/pcores/sys_block_v1_00_a/hdl/verilog/sys_block.v>.
Why do you need to change these addresses?

To change them you would need to modify the HDL and the coreinfo.tab (if
you wanted access to them, by name, from borph) and then ensure that the
BASE_ADDR and HIGH_ADDR parameters are set correctly. Be aware that this
might cause multiple devices to be mapped to the same space and go BOOM!
Probably only when you try to access that address ;)

Wes

Wesley New
South African SKA Project
+2721 506 7365
www.ska.ac.za




On Tue, Oct 22, 2013 at 3:04 AM, Ross Williamson <
[email protected]> wrote:

> Hi Wes and all,
>
> So the MMAP is working really quite well on a ROACH-1 - This question
> is more my lack of understanding of the tool-chain.
>
> Does anybody know how to fix the memory address for the various CASPER
> brams and registers. I edited the core_info.tab inside the copied
> XPS_ROACH_BASE and unchecked "Copy base package" but It still was
> overwritten (I'm assuming this is in the system generator stage).  I'd
> rather not hack the top level core_info.tab so what would be the best
> way to define the memory locations?
>
> Ross
>
> On Tue, Oct 15, 2013 at 4:48 PM, Ross Williamson
> <[email protected]> wrote:
> > Hi Wes,
> >
> > Thanks - I got the MMAP up and running on a ROACH1 with those
> instructions.
> >
> > R
> >
> > On Tue, Oct 15, 2013 at 12:19 AM, Wesley New <[email protected]> wrote:
> >> Hi Ross,
> >>
> >> The steps should be outlined here.
> >> https://casper.berkeley.edu/wiki/FPGA_Device_Driver_Memo
> >>
> >> I am not sure if these steps work for ROACH1 and 2 but at least it is a
> >> starting point.
> >>
> >> Wes
> >>
> >> Wesley New
> >> South African SKA Project
> >> +2721 506 7365
> >> www.ska.ac.za
> >>
> >>
> >>
> >>
> >> On Tue, Oct 15, 2013 at 3:09 AM, Ross Williamson
> >> <[email protected]> wrote:
> >>>
> >>> Hi All,
> >>>
> >>> I know from the CASPER meeting that MMAP is available for the ROACH-1.
> >>> Are there any instructions anywhere on getting it up and running?
> >>>
> >>> Best regards,
> >>>
> >>> Ross
> >>>
> >>> --
> >>> Ross Williamson
> >>> Research Scientist - Sub-mm Group
> >>> California Institute of Technology
> >>> 626-395-2647 (office)
> >>> 312-504-3051 (Cell)
> >>>
> >>
> >
> >
> >
> > --
> > Ross Williamson
> > Research Scientist - Sub-mm Group
> > California Institute of Technology
> > 626-395-2647 (office)
> > 312-504-3051 (Cell)
>
>
>
> --
> Ross Williamson
> Research Scientist - Sub-mm Group
> California Institute of Technology
> 626-395-2647 (office)
> 312-504-3051 (Cell)
>

Reply via email to