GithubHelp home page GithubHelp logo

i2c's Introduction

I2C Boss-worker device

This repository contains various attempts to implement an I2C protocol with VHDL.

Only i2c.vhd and i2c_slave.vhd implementations work.

https://en.wikipedia.org/wiki/I%C2%B2C

Components

1. I2C Boss - Single Boss Design - i2c.vhd

Variable Type Description Keyword
bus_clk Int I2c Bus Clock Speed Cycles GENERIC
sys_clk Int System Clock Speed Cycles GENERIC
CLK Bit Alternating 0 or 1 signal PORT
RESET Bit Reset PORT
P Bit Pull Up Resistor PORT
SDA Bit Serial Data Line PORT
SCL Bit Stretch Clock PORT

2. Bitwise shiftregister - shift_reg.vhd

Variable Type Description Keyword
trigger Bit Bit that either store or output the memory PORT
input Bit Input bit PORT
output Bit Output Bit PORT

3. I2C Worker - Single Worker Design i2c_slave.vhd

Variable Type Description Keyword
sys_clk Int Clock on the entire device GENERIC
bus_clk Int I2c Bus Clock GENERIC
slave_addr 7 Bit Reference Address GENERIC
CLK Bit Clock PORT
RESET Bit Reset Bit PORT
SCL Bit Stretch Clock PORT
SDA Bit Input Output Bit PORT
P Byte 8 bit pull up resistor PORT

Glossary

  1. H - Pull up Resistor - https://en.wikipedia.org/wiki/Pull-up_resistor
  2. bit - 0 or 1 state
  3. byte - 8 bits

i2c's People

Contributors

hungrymonkey avatar

Stargazers

 avatar

Watchers

 avatar  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.