Difference between revisions of "Extend IOP16 minimal example"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
Line 7: | Line 7: | ||
== Sources == | == Sources == | ||
− | * | + | * Build requires two GitHub repositories |
** Clone the two repositories to the same directory level since relative paths are used for source files | ** Clone the two repositories to the same directory level since relative paths are used for source files | ||
*** [https://github.com/douggilliland/IOP16 IOP16 GitHub repository] | *** [https://github.com/douggilliland/IOP16 IOP16 GitHub repository] | ||
*** [https://github.com/douggilliland/Design_A_CPU Design a CPU GitHub repository] | *** [https://github.com/douggilliland/Design_A_CPU Design a CPU GitHub repository] | ||
+ | * Start by building the [https://github.com/douggilliland/IOP16/tree/main/Higher_Level_Examples/TestIOP16_Minimal minimal example] | ||
+ | ** Adjust I/O pins as required for the FPGA that is being used | ||
+ | *** This example does not cover porting to another FPGA card | ||
== Steps == | == Steps == |
Revision as of 10:40, 11 April 2022
Contents
Overview
- This is a guide to extending the minimal IOP example by adding IOP16 Peripherals to the minimal design
- This is not the same as Embedding the IOP16 into another design
- This guide requires general familiarity with IOP16 16-bit I/O CPU Design
Sources
- Build requires two GitHub repositories
- Clone the two repositories to the same directory level since relative paths are used for source files
- Start by building the minimal example
- Adjust I/O pins as required for the FPGA that is being used
- This example does not cover porting to another FPGA card
- Adjust I/O pins as required for the FPGA that is being used
Steps
- Copy baseline design
- Select/add peripherals
- Create new peripherals
- Write assembly code
Baseline Design
- Starts from IOP example
- Similar to Arduino "Blink Sketch" and uses the resources
- Timer Unit 0 1 second timer
- On-board LED
- The Timer unit could be removed if desired
- Timer makes Blink easier
- Similar to Arduino "Blink Sketch" and uses the resources
- Copy the minimal design to a new folder