Difference between revisions of "Extend IOP16 minimal example"

From Land Boards Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
* This is a guide to extending the [https://github.com/douggilliland/IOP16/tree/main/Higher_Level_Examples/TestIOP16_Minimal minimal IOP example] by adding [[IOP16_Peripheral_Support|IOP16 Peripherals]] to the minimal design
 
* This is a guide to extending the [https://github.com/douggilliland/IOP16/tree/main/Higher_Level_Examples/TestIOP16_Minimal minimal IOP example] by adding [[IOP16_Peripheral_Support|IOP16 Peripherals]] to the minimal design
 +
* Requires two GitHub repositories
 +
** [https://github.com/douggilliland/IOP16 IOP16 repo]
 +
** [https://github.com/douggilliland/Design_A_CPU Design a CPU repo]
 
* This is not the same as [[Embed_IOP16|Embedding the IOP16 into another design]]
 
* This is not the same as [[Embed_IOP16|Embedding the IOP16 into another design]]
 
* This guide requires general familiarity with [[IOP16_16-bit_I/O_CPU_Design|IOP16 16-bit I/O CPU Design]]
 
* This guide requires general familiarity with [[IOP16_16-bit_I/O_CPU_Design|IOP16 16-bit I/O CPU Design]]

Revision as of 10:34, 11 April 2022

Overview

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
  • Copy the minimal design to a new folder

Select Peripherals

Create new peripherals

Write Assembly code

Test the build