Quantcast
Channel: Starting up...
Browsing all 10 articles
Browse latest View live

Timer/counter

The timer/counter unit is a typical component inside microcontrollers. Basically, it receives a prescaled (or not) clock as an input and counts up to the maximum value and then recounts from 0. Our...

View Article



Simple shift register

The project below is a simple many-bits shift register. Many, as in, as many as you like and need. The generic of the source controls how many bits the shift register can hold. The module has three...

View Article

Pseudo-snake

On the more fun-side of projects, I thought what if I played a little with the seven-segment display module available on-board the BASYS? So, what I did in this project is to play a little with setting...

View Article

Hex to seven-segment decoder

… and speaking of seven-segment decoders (in the previous post), here you can find a useful little source file in VHDL. In case you want to use such a little thing, I’ve taken about 5 minutes of my...

View Article

Barrel shifter

A barrel shifter is a special shifter implemented in microcontrollers and microprocessors. It is capable of performing very fast (one-clock) multiple-position shifts. The present version of the barrel...

View Article


Stopwatch

The VHDL implementation of the stopwatch counts up to a max value (in our case, 99.9). It counts every millisecond interval and asserts a tick signal when a millisecond has passed. When this reaches...

View Article

Schmitt trigger input to the FPGA

This is an EDN design idea I’ve implemented. You can find the file with the design idea in the Doc folder, located in the archive below. To all those who haven’t yet heard about a Schmitt trigger, this...

View Article

Pulse Width Modulator

A pulse width modulator is a circuit that outputs a digital waveform, but with a selectable duty cycle. The PWM VHDL module grabs the clock signal as an input and a 4-bit duty cycle selector and...

View Article


Traffic lights controller

What we have here is a so-called “modern” traffic lights controller. Meaning, when you program this code on the BASYS board, what you will basically have is a genuine traffic lights simulator. Seeing...

View Article


FlameSense

It’s been a while since I’ve posted here… Can’t say time has been much of a friend to me, to allow me to do some posting. Can’t say I’ve got too much of it now, but I thought I’d update the site with a...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images