Forum Discussion
Hi,
- VHDL Generics is not used for base address under system contents tab.
- VHDL Generics. VHDL allows the designer to parametrize the entity during the component instantiation.
As you add the components in the Qsys/platform designer system, you specify their base addresses within the span of the address space using Qsys GUI.
Base address can be directly edited by the user, or it can be assigned automatically by using the Assign Base Addresses from System menu
We can control on the offset address using HDL.
Refer below link
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/qts/qsys_components.pdf
ftp://ftp.intel.com/Pub/fpgaup/pub/Intel_Material/13.1/Tutorials/Making_Qsys_Components.pdf
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Regards
Anand
- AnandRaj_S_Intel6 years ago
Regular Contributor
NO,
Let me explain with example:
- Let us say we have a 2 custom component namely A & B.
- The Qsys system assign the base address & address span for the component.(A=0x0000 b =0x000F) base of A=0x0000 b=0x000F and address span for component A=0x000 to 0x000E.
- In component A hdl we have a case statement when "01" => Z <= X; 01 is address =offset address.Now data is stored in base address of the component + offset address =0x0001.
To have better understanding go through course like Using the Nios II Processor: Hardware Development,Using the Nios II Processor: Software Development & Using the Nios II Processor: Custom Components and Instructions
https://www.intel.com/content/www/us/en/programmable/support/training/catalog.html
Regards
ANAND