Altera_Forum
Honored Contributor
8 years agoHPS Configuration in QSys: Why is hps_io exported?
When I configure the HPS in QSys (Quartus Prime 16.0), I can determine the Pin muxing in the "Peripheral Pins" section. In the "Peripherals Mux Table" on the bottom, I can see how the various controllers shall be connected to dedicated pins. For example, on my Cyclone V, if I configure I2C0 to use "HPS I/O Set 1" I can see that the I2C0 entries for pins I2C0_SDA and I2C0_SCL get highlighted. I interpret this as: "Pin I2C0_SDA and I2C0_SCL will be connected to I2C0." I guess that I2C0_SDA and I2C0_SCL are placeholders for the actual pins which are PIN_C23 and PIN_D22 for that chip. So more specifically, I interpret this as: "PIN_C23 and PIN_D22 are connected to I2C0."
Now, I do not understand why I can (or must) export the hps_io conduit. In my top-level design file, I additionally have to connect the I2C0 to the correct pins but theoretically, I could easily connect I2C0 to different pins so that the whole configuration in QSys would be useless? As this seems so absurd to me, I am sure that I misunderstood something. Could someone please explain to me where my mistake is?