Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHPS Qsys Tutorial
I want to build a very simple computer on DE1-SoC. I want to use the ARM processor (HPS) and interface it with 7-segments decoder on the fpga fabric. I am looking for a tutorial to show me how to use...
Altera_Forum
Honored Contributor
9 years agoHi, in case you still require assistance, I'd also recommend this video, I found it pleasant to watch and informative:
http://bit.ly/2fcy1ci If you want to use the HEX displays rather then the LED, you'll need to make a few adjustments: 1. Add a number of PIO's in QSYS, corresponding to the number of HEX displays you wish to use 2. Set the data width of each PIO to 7 3. Export the external connections of your HEX components 4. In the design files, signals and outputs associated with the PIO's should be declared accordingly (for example std_logic_vector(6 downto 0)' if you're using VHDL) 5. Adjust the C code accordingly by declaring pointers to your HEX PIO's and using the right offsets (remember you have 7-bit registers) Lastly, a few pieces of advice, to avoid some errors (which I experienced): - You can only execute the TCL scripts after running Analysis and Synthesis - Use tab characters for indentation in the Makefile