Project: risc16f84

Overview | People | Documentation | Download | Opencores Mail list | Contact me

Documentation

The data sheet for a 16F84A microcontroller from Microchip contains a superset of all of the instruction formats supported in "risc16f84_clk2x.v" For example, the "CLRWDT" instruction is not supported in "risc16f84_clk2x.v" because there is no watch dog timer. Also, ports A and B do not exist in "risc16f84_clk2x.v" so the user should be aware that this is NOT a fully compatible PIC type microcontroller. Much of the existing PIC code WILL NOT RUN on this microcontroller design because of these incompatibilities, and many libraries of code provided with PIC compilers will depend upon features that are not supported in this module. However, new code which is written specifically for the "risc16f84_clk2x.v" design will run just fine.

Interrupts have not been tested at this time.

In order to get up and running with this module, please examine the example code which shows how the module was used during testing. Also, the code is full of good comments, and there is a fairly detailed explanation of the working of the module in the file header.