Skip to content

Collection of IP and information on how to develop for openFPGA and Analogue Pocket

License

Notifications You must be signed in to change notification settings

agg23/analogue-pocket-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collection of Analogue Pocket Utilities

A collection of useful IP and information on how to develop openFPGA cores for the Analogue Pocket.

For tips, tricks, and various learnings from a software dev's perspective, check out the wiki.

IP

When possible, IPs will be provided with test benches.

HDL File Usage
mem/psram.sv Generic PSRAM controller, configured with timing for the Pocket's PSRAM. Supports synchronous access in async mode.
debug_key.v Enables LED/button/UART usage for the debug key included with Analogue Pocket Dev Kits
data_loader.sv Converts APF writes into configurable single or two byte words. TB tests both 8 and 16 bit writes
data_unloader.sv Connects APF reads into memory fetches, with configurable single or two byte words. TB tests both 8 and 16 bit reads
hex_loader.v Converts APF writes representing a hex file into bytes. Can be converted for use outside of APF. Has an involved TB
sound_i2s.sv Provides audio over the i2s bridge. Supports signed and unsigned audio
sync_fifo.sv An easily reusable method for synchronizing multiple bits across clock domains

Debug Key

You must set "cartridge_adapter": 0 in the core.json file, otherwise - the dev key doesn't work, and be careful when you distribute as well, or you will waste power.

This example demonstrates controlling the Debug Key's LED with the button.

wire LED;
wire button;

assign LED = button;

debug_key key (
    .cart_tran_bank0_dir(cart_tran_bank0_dir),
    .cart_tran_bank0(cart_tran_bank0),
    .cart_tran_bank3_dir(cart_tran_bank3_dir),
    .cart_tran_bank3(cart_tran_bank3),
    .LED(LED),
    .button(button)
);

Tools

CHIP32

Image Processing

Updaters

Cores

A sample of open source cores are provided here. This list updates rapidly and is likely incomplete. You can see the complete list at https://joshcampbell191.github.io/openfpga-cores-inventory/analogue-pocket.html

Arcade

Core Author URL
Asteroids ericlewis https://github.com/ericlewis/openfpga-asteroids
Dig Dug boogermann https://github.com/opengateware/arcade-digdug
Dominos ericlewis https://github.com/ericlewis/openfpga-dominos
Galaga boogermann https://github.com/opengateware/arcade-galaga
Green Beret boogermann https://github.com/opengateware/arcade-gberet
Lunar Lander ericlewis https://github.com/ericlewis/openfpga-lunarlander
Pong agg23 https://github.com/agg23/analogue-pong
Space Race ericlewis https://github.com/ericlewis/openfpga-spacerace
Super Breakout ericlewis https://github.com/ericlewis/openfpga-superbreakout
Tecmo nullobject https://github.com/nullobject/openfpga-tecmo
Xevious boogermann https://github.com/opengateware/arcade-xevious

Console/Handheld

Core Author URL
Arduboy agg23 https://github.com/agg23/analogue-arduboy
Genesis ericlewis https://github.com/ericlewis/openFPGA-Genesis
Neo Geo Mazamars312 https://github.com/Mazamars312/Analogue_Pocket_Neogeo
NES agg23 https://github.com/agg23/openfpga-NES
PC Engine agg23 https://github.com/agg23/openfpga-pcengine
PDP-1 spacemen3 https://github.com/spacemen3/PDP-1
PC Engine agg23 https://github.com/agg23/openfpga-pcengine
Pokemon Mini agg23 https://github.com/agg23/openfpga-pokemonmini
SNES agg23 https://github.com/agg23/openfpga-SNES

About

Collection of IP and information on how to develop for openFPGA and Analogue Pocket

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •