Forum Discussion

Mingyuexin's avatar
Mingyuexin
Icon for Occasional Contributor rankOccasional Contributor
5 years ago

Is it possible to access loanIO of hps from a fpga ip core with bidirectional IO?

Hi,

I have a customized design which I have routed a NVRAM to SPI pin of HPS side.

Now the software team wants to access NVRAM like a flash. So I'm thinking to use generic flash controller ip core in FPGA to control it. I know it's possible to loan pins from HPS to FPGA.

The issue here is :

The generated conduit signals supposed to connect to FPGA are only unidirectional, see

._hps_io_gpio_inst_LOANIOXX Bi-direction to top level pin assignment
._h2f_loan_io_in Out to FPGA logic
._h2f_loan_io_out In to FPGA logic
._h2f_loan_io_oe In to FPGA logic

But the generic flash control ip has bidirectional IO for data transfer. It seems I can not connect them together. Is there any solution for this? If not, then I have to redesign the board to use FPGA pin instead.

Thank you very much for your time.

Any response/reply is appreciated.

Mingyuexin

8 Replies

  • Hi,

    May I know the Quartus version you are working with?

    Also, which board are you referring to? Is It Cyclone V SoC, Arria 10 SoC etc

  • open01's avatar
    open01
    Icon for Occasional Contributor rankOccasional Contributor

    Hi Mingyuexin,
    Want to ask this question, have you found the answer? I also want to know this part.

    Thank you.

    • Mingyuexin's avatar
      Mingyuexin
      Icon for Occasional Contributor rankOccasional Contributor

      Sorry to see your question this late.

      We redesigned the hardware to use FPGA fabric to communicate with the flash.

      With best wishes

      Mingyuexin