Luke, As Mitch said, you can take a look at my ZCU111 branch of my fork of mlib_devel: https://github.com/bjbford/mlib_devel/tree/ZCU111 This should have my latest work on the ZCU111 ADC yellow block <https://github.com/bjbford/mlib_devel/blob/ZCU111/jasper_library/yellow_blocks/adc_zcu111.py> and may be a similar approach to what you need but probably a bit over the top compared to yours. Glancing at the AD9213, I'm assuming you're attaching to the VCU118 via FMC+, in which case Mitch is correct that you'll probably have to further describe the IO constraints for FMC+ in VCU118.yaml.
Feel free to reach out to me via Slack in the future if you have any further questions regarding this. Cheers, Brian On Tue, Nov 26, 2019 at 6:23 PM Mitch Burnett <[email protected]> wrote: > Awesome! > > From what I understand it should be very similar if not exactly the same. > The only difference (that your probably aware of) is that you will need the > IO constraints in the yaml (like the red pitaya) for that board. We didn’t > have to add them for the ZCU because the master constraint file is included > in vivado when sysgen starts. > > But I’ll leave it to the Casper experts to correct me. I could be totally > wrong. Part of learning I guess. > > Mitch > > > On Nov 26, 2019, at 5:12 PM, Luke Hawkins <[email protected]> wrote: > > > > Hi Mitch, > > > > That's exciting work! > > > > I'm working on something different - a yellow block for the AD9213 > > eval-board to the VCU118. > > > > I'll look at the MPSoC/AXI-Lite portions of the repo, maybe I'll find > some > > applicable snippets. > > > > -LH > > > >> Hey Luke, > >> > >> I assume you are working on the ADC for the ZCU111, right? If so, the > >> mlib-devel repo has a branch with the AXI Lite interface to the MPSoC > and > >> Brian Bradfords forked version of that repo has the beginning workings > of > >> adding the interface to the RFDC yellow block that he and I were working > >> on. I have been working on it but things have been slow for me. Mostly > >> because I?m learning hardware and HDL but also I have been doing other > >> architecture work on ALPACA. > >> > >> So I?d start there. We are close to having it as a yellow block. Perhaps > >> you can help us finish it out? > >> > >> Best, > >> > >> Mitch > >> > >>>> On Nov 26, 2019, at 4:56 PM, Luke Hawkins <[email protected]> wrote: > >>> > >>> ?Hello All, > >>> > >>> I was wondering if anybody had any tips about adding a yellow block > >>> (ADC) > >>> that has and AXI4-Lite interface to a platform design? > >>> > >>> Is it as easy as adding something like (taken from red_pitaya_10.yaml): > >>> mmbus_architecture: AXI4-Lite > >>> mmbus_base_address: 0x40000000 > >>> # How to address each 32-bit (i.e. 4 indicates byte-addressable) > >>> mmbus_address_alignment: 4 > >>> > >>> To the platform file, and something like lines 20-57 from > >>> > https://github.com/casper-astro/mlib_devel/blob/master/jasper_library/yellow_blocks/sw_reg.py > >>> to the Yellow Block's py file? > >>> > >>> -LH > >>> > >>> -- > >>> You received this message because you are subscribed to the Google > >>> Groups "[email protected]" group. > >>> To unsubscribe from this group and stop receiving emails from it, send > >>> an email to [email protected]. > >>> To view this discussion on the web visit > >>> > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/7b0579d8cfd23332ece5f06401d325c5.squirrel%40webmail.gb.nrao.edu > . > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups > >> "[email protected]" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to [email protected]. > >> To view this discussion on the web visit > >> > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/E3779F78-6F62-41BE-BF0D-508AA2AD1C47%40byu.edu > . > >> > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "[email protected]" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/e72312984a6dc5d41cb6b3c789334cf2.squirrel%40webmail.gb.nrao.edu > . > > -- > You received this message because you are subscribed to the Google Groups " > [email protected]" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/81F5253C-99BF-4FAA-827F-C4519B1B6D0A%40byu.edu > . > -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAOsO_-856QYgQoKYyVm4xYM11kZEYaq3%3DS7%2BYRvttJmDsmbTiQ%40mail.gmail.com.

