Visible to Intel only — GUID: sfo1410070080974
Ixiasoft
Visible to Intel only — GUID: sfo1410070080974
Ixiasoft
27.3.3. Using Unassigned IO as LoanIO
Each LoanIO port has an input, output, and output enable, which directly controls the HPS IO functions. The LoanIO only operates when the HPS registers have been set up in the pre-loader to allow their operation. The LoanIO are asynchronous, thus no clocking is required.
The status of the LoanIO in the duration after HPS I/O is configured and before the FPGA is configured is as follows: When the FPGA powers up and is "not" configured, inputs into the HPS from the FPGA are driven to a logical 1. When the FPGA is configured the signal may toggle, and then takes on whatever level the FPGA user design drives out.
Use the following steps to enable the LoanIO signals:
- Select the Peripheral Pins Multiplexing tab in the HPS parameter editor.
- Choose the corresponding LoanIO pins from the Peripherals Mux Table, and click the push button to select/unselect it.
- Export the peripheral signals out of the Platform Designer (Standard) system.
- In the Quartus® Prime software, connect the user logic to the LoanIO interface to drive the HPS IOs.
Conduit Name | Direction | Declarations |
---|---|---|
._hps_io_gpio_inst_LOANIOXX | Bi-direction | User must declare as a top-level pin; pin assignment is hardcoded following the HPS IO location. |
._h2f_loan_io_in | Out | HPS IO data input signal, output to FPGA user logic. |
._h2f_loan_io_out | In | HPS IO data output signal, input from FPGA user logic. |
._h2f_loan_io_oe | In | HPS IO data output enable signal, input from FPGA user logic. |
Platform Designer (Standard) generates a full signal array for h2f_loan_io_in, h2f_loan_io_out, and h2f_loan_io_oe. You must assign user logic to the specific signal array. For example, you have triggered LoanIO 40, so its respective signal array is h2f_loan_io_in[40], h2f_loan_io_out[40], and h2f_loan_io_oe[40].