Skip to content

mark-diaz/ICE-40-FPGA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lattice ICE 40 FPGA

RTL Code developed for Lattice ICE40 FPGA with designs in Verilog and testbenches in SystemVerilog. I utilize a completely open-source FPGA toolchain to design and program the FPGA but I use ModelSim to verify and create testbenches for my designs.

Projects:

UART Receiver and Transmitter

  • The UART Receiver and Transmitter operate using a 115200 Baud rate, 8 data bits, no parity bit, 1 stop bit, and no flow control
  • Both modules utilize a finite state machine to implement the UART protocol
  • UART_tb.sv contains the SystemVerilog testbench that instantiates both modules that transmit and receive a byte of data

7 Segment Display

  • This is a multi-module project in order to increment a 7 Segment Display with the press of a switch
  • It utilizes a module to debounce the switch, convert binary to 7 Segment hex encoding, and a top-level module to handle the counter and switch logic

Components

  • These are some useful components I plan on using for future projects like a shift register (regular and with linear feedback), RAM, FIFO, and more
  • They are verified to work utilizing testbenches written in SystemVerilog

Ring Counter

  • This is a simple project that uses D Flip-Flops to implement a Ring Counter
  • It displays the output on 4 LEDs rotating LEDs every second
  • It utilizes a clock divider to rotate LEDs at a rate visible to the human eye

LED Adder

  • This was a simple project using only combinational logic to implement a 2-bit full adder
  • I wired four switches as operands to be added and displayed the sum on 4 LEDs in binary

This repository is very much still a work in progress and hope to contribute more as I go.

About

RTL written in Verilog for the Lattice ICE 40 FPGA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published