Skip to content

duck2/conway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conway

A Game of Life implementation for the Mojo v3 board(Spartan 6 xc6slx9).

The implementation gives output to 1280x1024@60Hz VGA, with 3 bit color support.

Building and running

A Makefile derived from the Xilinx ISE Makefile project is provided. It is able to use Xilinx ISE tools for building and the Mojo loader for loading the bitstream into the board. The paths to the executables are specified in the project.cfg file.

Running make should run the ISE tools in succession and finally load the resulting .bin file into the board through /dev/ttyACM0. The USB port can be specified in the Makefile.

The screen.mem file defines the initial state. By default, it includes a spaceship pattern. You can create other initial states from 64x64 .png images using the mkmem.py script. Some other default states are provided in the img/ directory.

To get output, connect P15, P12 and P10 to VGA RGB through 470Ω(analog signal, internal impedance of screen is 75Ω!) and connect P6, P2 to VGA hsync, vsync. You should see the image scaled to 1280x1024 on the screen.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published