Skip to content

Flinner/PacmanFPGA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacman Game Image

Simulation

To Run VGA simulator (VERY SLOW, around 0.3 frames/second!):

cmake -B build -G Ninja 
ninja -C build

# Run it
./build/Vour

Synthesis

To generate bitstream:

  1. Launch Vivado (Yikes!)
  2. Select Tools Menu
  3. Run TCL Scripts
  4. Navigate to cloned repo, Run Pacman.tcl
  5. Write Bitstream

Scripts

Generate font.sv from .ttf:

python scripts/ttf_to_sv.py > rtl/ip/font.sv

Generate .mem for audio.wav:

# It will overwite the .mem files
python scripts/convert_wav_to_mem.py 

Format All code:

find . -name "*.sv" -exec verible-verilog-format --inplace {} \;