GithubHelp home page GithubHelp logo

pic16c5x's Introduction

PIC16C5x : A Microcontroller Core in Verilog

Copyright (C) 2013, Michael A. Morris [email protected]. All Rights Reserved.

Released under LGPL.

General Description

This project is provides a synthesizable core implementation of the PIC16C5x microcontroller. As a core, it has a full complement of PIC16C5x RAM and peripherals. However, the user is responsible for providing memory for the core's program and for configuring the core's I/O ports.

Features

The PIC16C5x supports to full instruction set of the PIC16C5x family of microcomputers, and it also incorporates the I/O and timers found in the family. The core also implements all of the RAM normally found in this family of microcomputers.

The timeout period of the watchdog timer is configurable. Although it is normally set to be equal to a 20-bit timer, it can be set to be less than that for simulation purposes. See the test bench for an example of how to change the period of the PIC16C5x core's watch dog timer.

Implementation

The PIC16C5x core is implemented as a single Verilog-2001 source file.

PIC16C5x.v                  -- RTL source file for the PIC16C5x core
    tb_PIC16C5x.v           -- Rudimentary testbench

Synthesis

The objective is for the PIC16C5x to synthesize into a small FPGA, and to be able to support an operating frequency greater than that commonly supported by a commercial single-chip implementation. The supplied core satisfies both objectives.

No special synthesis constraints are required to satisfy a 16 ns clock period constraint.

Number of Slice FFs:            155
Number of 4-input LUTs:         408 (40 used as 16x1 SP LUT-based RAM)
Number of Occupied Slices:      307
Total Number of 4-input LUTs:   453 (45 used as route-throughs)

Number of BUFGMUXs:             1
Number of BlockRAMs             0

Best Case Achievable:           15.930 ns (0.070 ns SETUP; 0.879 ns HOLD )

Status

The design, implementation, and test of the core is complete.

Other Notes

pic16c5x's People

Contributors

morrisma avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.