> Hi John
>
>> 1) add the "inout" choice to the mask pulldown
>> 2) add it to the mask script, and check to make sure it's a good config
>> for the bits specified, and redraw the block with the extra direction
>> port.
>> 3) modify xps_gpio.m to handle the "inout" case
>> 4) Write/modify a vhdl module to implement the inout case.  I'd guess
>> this
>> would only be valid for a single-ended port.  Anyone done this?
>
> Sounds good. You could write a new pcore and pull in the correct one
> based on the ROACH flavour you are using.
>
> For ROACH1 you will need to modify the drc file for your gpio yellow
> block. This perform checks to ensure that your design is sane and does
> not have things that might interfere with each other. It would need to
> check that there is not another gpio block instantiated that would clash
> with your block, in particular, any other gpio block should not have the
> inout option chosen.
>
> Good luck and regards
> Andrew

Hi all.

We worked on this a bit more today, and got to the point where the YB
would simulate.  We're working to get the VHDL linked in and compiled so
we can actually test it on the hardware.

One odd thing is that it seems that the original gpio yellow block doesn't
seem to allow gpio of more than one bit.  Has anyone been able to assign,
say, an 8 bit wide GPIO to gpioa or gpiob on the ROACH?  We need to make
it a multi-bit gpio bus.

John




Reply via email to