├── .gitignore ├── README.md ├── examples ├── game_menu │ ├── Makefile │ ├── Makefile.menu │ ├── bin.py │ ├── font.h │ └── main.c └── sticky_game_menu │ ├── Makefile │ ├── Makefile.menu │ ├── bin.py │ ├── font.h │ └── main.c ├── firmware ├── firmware.S ├── firmware.lds └── makehex.py ├── hdl ├── apio.ini ├── pcb.pcf ├── pcbsd.pcf ├── picorv32 │ └── picorv32.v ├── picosoc │ ├── audio │ │ ├── README.md │ │ ├── audio.v │ │ └── pdm_dac.v │ ├── common │ │ └── clock_divider.v │ ├── flash_write │ │ └── flash_write.v │ ├── gpio │ │ └── gpio.v │ ├── i2c │ │ └── i2c.v │ ├── ili9341 │ │ ├── ili9341.v │ │ └── ili9341_direct.v │ ├── nunchuk │ │ └── I2C_master.v │ ├── picosoc.v │ ├── sdcard │ │ └── sdcard.v │ ├── spi_master │ │ └── spi_master.v │ ├── spi_oled │ │ ├── README.md │ │ └── spi_oled.v │ ├── uart │ │ └── simpleuart.v │ └── video │ │ ├── README.md │ │ ├── VGASyncGen.v │ │ ├── sprite.v │ │ ├── sprite_memory.v │ │ ├── texture_memory.v │ │ ├── tile_memory.v │ │ ├── video_oled.v │ │ └── video_vga.v ├── pins.pcf ├── portable.pcf ├── tiny_soc.mk ├── top.v └── topsticky.v └── libraries ├── audio └── audio.h ├── button └── button.h ├── delay ├── delay.c └── delay.h ├── flash ├── flash.c └── flash.h ├── ili9341 ├── font.h ├── ili9341.c └── ili9341.h ├── nunchuk ├── nunchuk.c └── nunchuk.h ├── sdcard ├── sdcard.c └── sdcard.h ├── sine_table └── sine_table.h ├── songplayer ├── songplayer.c └── songplayer.h ├── uart ├── uart.c └── uart.h └── video ├── video.c └── video.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # tiny_ram_soc 2 | Picorv32 SoC that uses only BRAM, not flash memory 3 | -------------------------------------------------------------------------------- /examples/game_menu/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/examples/game_menu/Makefile -------------------------------------------------------------------------------- /examples/game_menu/Makefile.menu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/examples/game_menu/Makefile.menu -------------------------------------------------------------------------------- /examples/game_menu/bin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/examples/game_menu/bin.py -------------------------------------------------------------------------------- /examples/game_menu/font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/examples/game_menu/font.h -------------------------------------------------------------------------------- /examples/game_menu/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/examples/game_menu/main.c -------------------------------------------------------------------------------- /examples/sticky_game_menu/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/examples/sticky_game_menu/Makefile -------------------------------------------------------------------------------- /examples/sticky_game_menu/Makefile.menu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/examples/sticky_game_menu/Makefile.menu -------------------------------------------------------------------------------- /examples/sticky_game_menu/bin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/examples/sticky_game_menu/bin.py -------------------------------------------------------------------------------- /examples/sticky_game_menu/font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/examples/sticky_game_menu/font.h -------------------------------------------------------------------------------- /examples/sticky_game_menu/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/examples/sticky_game_menu/main.c -------------------------------------------------------------------------------- /firmware/firmware.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/firmware/firmware.S -------------------------------------------------------------------------------- /firmware/firmware.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/firmware/firmware.lds -------------------------------------------------------------------------------- /firmware/makehex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/firmware/makehex.py -------------------------------------------------------------------------------- /hdl/apio.ini: -------------------------------------------------------------------------------- 1 | [env] 2 | board = TinyFPGA-BX 3 | 4 | -------------------------------------------------------------------------------- /hdl/pcb.pcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/pcb.pcf -------------------------------------------------------------------------------- /hdl/pcbsd.pcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/pcbsd.pcf -------------------------------------------------------------------------------- /hdl/picorv32/picorv32.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picorv32/picorv32.v -------------------------------------------------------------------------------- /hdl/picosoc/audio/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/audio/README.md -------------------------------------------------------------------------------- /hdl/picosoc/audio/audio.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/audio/audio.v -------------------------------------------------------------------------------- /hdl/picosoc/audio/pdm_dac.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/audio/pdm_dac.v -------------------------------------------------------------------------------- /hdl/picosoc/common/clock_divider.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/common/clock_divider.v -------------------------------------------------------------------------------- /hdl/picosoc/flash_write/flash_write.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/flash_write/flash_write.v -------------------------------------------------------------------------------- /hdl/picosoc/gpio/gpio.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/gpio/gpio.v -------------------------------------------------------------------------------- /hdl/picosoc/i2c/i2c.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/i2c/i2c.v -------------------------------------------------------------------------------- /hdl/picosoc/ili9341/ili9341.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/ili9341/ili9341.v -------------------------------------------------------------------------------- /hdl/picosoc/ili9341/ili9341_direct.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/ili9341/ili9341_direct.v -------------------------------------------------------------------------------- /hdl/picosoc/nunchuk/I2C_master.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/nunchuk/I2C_master.v -------------------------------------------------------------------------------- /hdl/picosoc/picosoc.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/picosoc.v -------------------------------------------------------------------------------- /hdl/picosoc/sdcard/sdcard.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/sdcard/sdcard.v -------------------------------------------------------------------------------- /hdl/picosoc/spi_master/spi_master.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/spi_master/spi_master.v -------------------------------------------------------------------------------- /hdl/picosoc/spi_oled/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/spi_oled/README.md -------------------------------------------------------------------------------- /hdl/picosoc/spi_oled/spi_oled.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/spi_oled/spi_oled.v -------------------------------------------------------------------------------- /hdl/picosoc/uart/simpleuart.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/uart/simpleuart.v -------------------------------------------------------------------------------- /hdl/picosoc/video/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/video/README.md -------------------------------------------------------------------------------- /hdl/picosoc/video/VGASyncGen.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/video/VGASyncGen.v -------------------------------------------------------------------------------- /hdl/picosoc/video/sprite.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/video/sprite.v -------------------------------------------------------------------------------- /hdl/picosoc/video/sprite_memory.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/video/sprite_memory.v -------------------------------------------------------------------------------- /hdl/picosoc/video/texture_memory.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/video/texture_memory.v -------------------------------------------------------------------------------- /hdl/picosoc/video/tile_memory.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/video/tile_memory.v -------------------------------------------------------------------------------- /hdl/picosoc/video/video_oled.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/video/video_oled.v -------------------------------------------------------------------------------- /hdl/picosoc/video/video_vga.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/picosoc/video/video_vga.v -------------------------------------------------------------------------------- /hdl/pins.pcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/pins.pcf -------------------------------------------------------------------------------- /hdl/portable.pcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/portable.pcf -------------------------------------------------------------------------------- /hdl/tiny_soc.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/tiny_soc.mk -------------------------------------------------------------------------------- /hdl/top.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/top.v -------------------------------------------------------------------------------- /hdl/topsticky.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/hdl/topsticky.v -------------------------------------------------------------------------------- /libraries/audio/audio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/audio/audio.h -------------------------------------------------------------------------------- /libraries/button/button.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/button/button.h -------------------------------------------------------------------------------- /libraries/delay/delay.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/delay/delay.c -------------------------------------------------------------------------------- /libraries/delay/delay.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/delay/delay.h -------------------------------------------------------------------------------- /libraries/flash/flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/flash/flash.c -------------------------------------------------------------------------------- /libraries/flash/flash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/flash/flash.h -------------------------------------------------------------------------------- /libraries/ili9341/font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/ili9341/font.h -------------------------------------------------------------------------------- /libraries/ili9341/ili9341.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/ili9341/ili9341.c -------------------------------------------------------------------------------- /libraries/ili9341/ili9341.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/ili9341/ili9341.h -------------------------------------------------------------------------------- /libraries/nunchuk/nunchuk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/nunchuk/nunchuk.c -------------------------------------------------------------------------------- /libraries/nunchuk/nunchuk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/nunchuk/nunchuk.h -------------------------------------------------------------------------------- /libraries/sdcard/sdcard.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/sdcard/sdcard.c -------------------------------------------------------------------------------- /libraries/sdcard/sdcard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/sdcard/sdcard.h -------------------------------------------------------------------------------- /libraries/sine_table/sine_table.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/sine_table/sine_table.h -------------------------------------------------------------------------------- /libraries/songplayer/songplayer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/songplayer/songplayer.c -------------------------------------------------------------------------------- /libraries/songplayer/songplayer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/songplayer/songplayer.h -------------------------------------------------------------------------------- /libraries/uart/uart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/uart/uart.c -------------------------------------------------------------------------------- /libraries/uart/uart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/uart/uart.h -------------------------------------------------------------------------------- /libraries/video/video.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/video/video.c -------------------------------------------------------------------------------- /libraries/video/video.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrie/tiny_ram_soc/HEAD/libraries/video/video.h --------------------------------------------------------------------------------