Text 11 Sep

I wanted to explore the parallellism of FPGAs so I did this project. A brute-force MD5 cracker entirely made in VHDL (Hardware). It achieves around 54MHashes/second! In tests it beat my i7 CPU. Below is a older variant, capable of 38MH/s.

Here is a full report on how I did it!

Text 13 Apr litecoin miner

So, I’m now in the litecoin mining businiess. Not sure if I am late though. This beast pushes the 4x6870 to about 1200kH/second in total.

image

Text 8 Mar 3pi solving maze

So, I’ve implemented a basic maze-solving algorithm for the 3pi robot. It’s not as fast as I would like though… Have a look at the video.

Text 7 Mar 3pi robot

I bought a 3pi today and got some basic line following algorithms to work. It’s a basic PID controller. It’s still pretty rough, and I have yet optimized it. It runs in about 58% of it’s max speed.

Text 5 Mar openwrt on qemu mips

image

For a future project that I’m about to do, I set out to try openwrt on qemu mips. I did this because I don’t (yet) have any router to play with at home. The build was really smooth and easy, not what I expected at all. Basically I checked out the latest trunk of openwrt and started building it for mips (qemu). There was no errors or hickups, it just worked!

Next up is to try to find a router to play with!

Text 16 Feb uClinux on nios2 with custom hardware

Lately I’ve been busy getting uClinux up and running on an DE2-115 board with nios2 cpu. I added some custom hardware that made it possible to light som LEDs on the board via a custom kernel driver that I wrote.

Read about my experiences here.

Here is a video.

Video 4 Jan

This project is basically a serial accelerometer that controls a 3D-cube on a FPGA NIOSII system with SRAM-, UART- and VGA-cores in it. It’s coded in C with Alteras HAL.

Video 19 Nov

FPGA Simplistic Asteroids. Some improvements will be made, like keeping score and fixing some minor glitches. Made with the NIOSII CPU.

Video 7 Nov

This project was made as the final project in a class that I’m attending (http://www.agstu.se/yh). The assignement was to make a simple game on a specific hardware that was provided by our teacher. (I made a VHDL game as well, with a custom VGA-component, check http://int80h.se/post/35001027885/fpga-simplistic-arkanoid-the-video-quality-sucks for details).

This hardware provided by our teacher has a NIOSII CPU and a custom VGA component with a dual-port RAM (write to RAM - pixel shows on screen). Since this was a C-project I created functions i C that could write pixels, lines, circles etc onto the screen. Once that was done I had a backbone to start developing a game. I chose to go for the ‘space shooter’ genre. I enjoy these arcade games.

The game’s objective is to shoot aliens that attack. The player controls the ship with some switches on the board (I use the Terasic DE2-115 board). To eliminate the aliens projectiles are fired. As the game proceeds, aliens will move faster and shoot more projectiles towards the ship. The game lasts as long as the player still has health (which is decreased if hit by alien projectiles). There is also some rudimetary score-keeping to be able to compare your gameplay against a friend.

And yeah, the bad gameplay is due to filming with one hand :)

Video 4 Nov

This project was made as a final project in a class that I attend (http://www.agstu.se/yh). The objective of the assignment was to create a game strictly in hardware using VHDL. I wanted to do something more than “tic-tac-toe” but not to advanced either. I settled for an Arkanoid clone, a simplistic one though.

The objective of the game is to make the rectangles at the top of the screen go away by hitting them with the ball. With the bottom rectangle you bounce the ball back. If you miss it, you lose. Once all the rectangles are gone, you win! So, it’s simplistic.

The code is written i VHDL and I used Alteras Quartus II environment to verify the construction. To test it I used the Terasic DE2-115 board. 


Design crafted by Prashanth Kamalakanthan. Powered by Tumblr.