Commits included in published releases. Unpublished intermediate commits are private. Showing matches from the latest 100 commits ending at this release.
Add repro instructions for ECP5/iCE40 area differences with identical RTL
Luke Wren · Jan 11, 2020, 4:36 PM UTC
165036038967
Rearrange sprite controls to fit in one word. Remove SPx_CSR_EN -- sprites can be disabled by pushing offscreen.
Luke Wren · Jan 11, 2020, 9:39 AM UTC
7f9594caed12
Poker: replace JUMP with BCEQ/BCNE
Luke Wren · Jan 11, 2020, 8:29 AM UTC
b314895c26fb
Document some intended changes to Poker instruction set
Luke Wren · Jan 10, 2020, 5:38 PM UTC
52c829536136
Eliminate wasted cycle when entering wait state, and save some logic in poker
Luke Wren · Jan 9, 2020, 7:07 AM UTC
eeb9bb8f703c
Get sprite demo running on ECP5 EVN board.
Luke Wren · Jan 9, 2020, 3:25 AM UTC
043f25c43e13
Replace SRAM0 with a large internal memory for ECP5 builds. Allow forcing of SRAM0 size in bootloader. Temporarily hook up LCD, SPI, UART to ECP5EVN expansion header. Build bootloader instead of blinky for ECP5 builds.
Luke Wren · Jan 8, 2020, 7:26 AM UTC
e9d6f1551c2b
Add simple test for PPU poker
Luke Wren · Jan 8, 2020, 3:03 AM UTC
1bc520656880
Add ECP5 mini top-level, fix up ECP5 scripts, make openocd less shouty
Luke Wren · Jan 8, 2020, 12:21 AM UTC
8e29bab73acd
Commit ECP5 synth experiment
Luke Wren · Jan 7, 2020, 4:40 AM UTC
7b6855a80196
First attempt at writing + integrating poker. Seems to have not broken anything else. A little overweight at the moment
Luke Wren · Jan 6, 2020, 6:52 AM UTC
7a9d8ff12fc6
Fix async FIFO to support BRAM inference on iCE40
Luke Wren · Jan 5, 2020, 4:26 AM UTC
5cef3ceee5f5
Reduce PPU internal data width from 32 to 16. This reduces HX8k utilisation from 96% to 91%.
Luke Wren · Jan 5, 2020, 3:25 AM UTC
37563f9f309e
Revise Poker instruction set
Luke Wren · Jan 5, 2020, 2:03 AM UTC
573c7bc4cd52
Hack for paletted transparency in packtiles
Luke Wren · Jan 4, 2020, 10:39 PM UTC
dac790ed8916
Don't verify after programming flash apps -- takes time, and I haven't seen it fail
Luke Wren · Jan 4, 2020, 10:39 PM UTC
83e99d0090bc
Add sprite demo
Luke Wren · Jan 4, 2020, 10:37 PM UTC
914a003333a8
Add more platformer art assets from opengameart
Luke Wren · Jan 4, 2020, 6:41 PM UTC
68f2bd05dc06
Remove tbman IRQ forces for synthesis -- waste of LUTs
Luke Wren · Jan 3, 2020, 5:20 PM UTC
35e3bcbd4a58
Don't sync the full width of the LCD shifter shift count between clock domains
Luke Wren · Jan 3, 2020, 5:08 PM UTC
ecac4e0c61be
Mask off two LSBs in autogenerated regblocks, so that you can do byte/halfword loads on them
Luke Wren · Jan 3, 2020, 4:32 PM UTC
88f2a40699cb
PPU background: do U coord comparison rather than having a separate counter for pixels remaining in tile
Luke Wren · Jan 3, 2020, 3:52 PM UTC
831eafe8b635
Squeeze some LUTs out of the UART: reduce fractional divisor to 4 bits, and make divisor write-only
Luke Wren · Jan 3, 2020, 8:11 AM UTC
aa4f90844ea0
Correct error message format in sprite_smoke test script
Luke Wren · Jan 3, 2020, 6:48 AM UTC
a3d955bc3175
Optimise sprite X intersection in sprite AGU, save 15 LUTs or so
Luke Wren · Jan 3, 2020, 6:48 AM UTC
b45fd1eaf589
Add .gitattributes files to try to fix Github file indexing and classification
Luke Wren · Jan 3, 2020, 6:14 AM UTC
45faa3eef5a1
Sprite AGU: more efficient calculation of sprite intersections.
Luke Wren · Jan 3, 2020, 5:45 AM UTC
66ef31576231
Speculative fix for 8 pixel sprite beam intersection
Luke Wren · Jan 3, 2020, 5:08 AM UTC
c49904eead9d
Sprite AGU already knows whether a sprite has to seek, so don't make the sprites figure it out for themselves. Very small savings (0.5% of PPU)
Luke Wren · Jan 2, 2020, 10:26 PM UTC
f54a2564b9e5
Backgrounds: recalculate U, V on every cycle, to avoid local state and counter.
Luke Wren · Jan 2, 2020, 8:23 PM UTC
c09a320ca529
Remove DMA from system arch diagram -- not going to have room for a useful one.
Luke Wren · Jan 2, 2020, 4:41 PM UTC
c05659194490
Add directory structure to Readme
Luke Wren · Jan 2, 2020, 4:29 PM UTC
855b3e7fd88f
Provide a more helpul synth cmdline in Readme
Luke Wren · Jan 2, 2020, 4:19 PM UTC
2f0892f079f4
Some tweaks and savings for background address generation
Luke Wren · Jan 2, 2020, 4:06 PM UTC
0ef4688cf69d
Pixel streamer: no early-out on seeking logic. Saves a couple of LUTs, but can increase seek time.
Luke Wren · Jan 2, 2020, 3:01 AM UTC
0371db575519
Add info on sprites to documentation
Luke Wren · Jan 2, 2020, 2:14 AM UTC
f9790eb7c947
Update toy/test apps
Luke Wren · Jan 2, 2020, 12:57 AM UTC
74fbf174d349
Add simple sprite test case -- walk through all positions of sprite relative to +-x screen edges
Luke Wren · Jan 1, 2020, 2:42 AM UTC
a05b7004e688
Add simple LCD monitor to system tb
Luke Wren · Dec 31, 2019, 4:01 PM UTC
febd96fa1aaf
Remove memory dump module from riscboy_core, which has not been used for a long time
Luke Wren · Dec 31, 2019, 2:51 PM UTC
78274c9fdbcc
Rationalise sprite pre- and post-count down to a single counter. Fix SAGU issue where a fetch would happen twice due to the vld&&rdy cycle.
Luke Wren · Dec 31, 2019, 2:22 PM UTC
f2036120bb5f
Add .noload section for uninitialised static arrays
Luke Wren · Dec 31, 2019, 8:26 AM UTC
63efe0a69908
Make size of screen coords distinct from playfield coords. Shrink screen coord size by 1 bit.
Luke Wren · Dec 30, 2019, 6:08 PM UTC
57ac418c8814
Fix typo in sprite flush alignment generation
Luke Wren · Dec 30, 2019, 6:03 PM UTC
55a9d50ecd0b
Make more verilog tools believe that the blender input hookup can be resolved at elaboration time. Add ADDR_MASK parameter to PPU, which can save a few LUTs by trimming address bits.
Luke Wren · Dec 29, 2019, 10:48 PM UTC
fb1abfd408c7
More aggressive WO vs RW access in PPU, more LUT savings as a result
Luke Wren · Dec 29, 2019, 10:44 PM UTC
b9f080a998ce
Add connectivity parameters to AHBL bus components. Don't allow PPU access to APB or IRAM -- saves ~200 LUTs
Luke Wren · Dec 29, 2019, 6:40 PM UTC
89bf5711c0ed
Fix typo in sprite fetch address gen -- first working sprite on screen! Fix reversed priority of sprites/backgrounds, and also reverse so that higher BGs win
Luke Wren · Dec 29, 2019, 3:54 AM UTC
ee1cc5547ce8
Add field access type to register headers
Luke Wren · Dec 28, 2019, 11:18 PM UTC
7d3166081510
Add WO access type to regblock. Save 230 LUTs from PPU by making most sprite and background config read only.
Luke Wren · Dec 28, 2019, 11:12 PM UTC
c43e1577fbb8
Fix lots of slips and instantiation issues in sprites. Reduce number of sprites to 4 as FPGA is a bit of a squeeze at the moment
Luke Wren · Dec 28, 2019, 10:39 PM UTC
5f22e7b03481
Wire sprites + AGU into PPU for the first time
Luke Wren · Dec 28, 2019, 8:35 PM UTC
5d3a61980b78
Remove defunct diagrams
Luke Wren · Dec 28, 2019, 4:50 AM UTC
f332db2dadd9
First sketch of sprite and sprite AGU
Luke Wren · Dec 28, 2019, 4:34 AM UTC
fc49177c390c
Add sprite config to PPU regs, and factor out pixel streaming from backgrounds
Luke Wren · Dec 27, 2019, 12:28 AM UTC
e990d567dff5
Check in unpaletted tileset resource for parallax_demo until I get round to fixing asset packing scripts
Luke Wren · Dec 27, 2019, 12:22 AM UTC
28c5c4d945ca
regblock: handle long info strings more gracefully
Luke Wren · Dec 26, 2019, 10:44 PM UTC
584a5014b67b
Add wstrobe to regblock, and use it for PPU BG flush signal
Luke Wren · Dec 26, 2019, 1:55 AM UTC
9599a3434b2d
Fix up TinyFPGA BX wrapper enough to run some code
Luke Wren · Dec 26, 2019, 1:04 AM UTC
51e6c49b8255
Fix use of SystemVerilog priority keyword as port name in onehot_priority_dynamic
Luke Wren · Dec 25, 2019, 10:57 AM UTC
1f5e6eda5b41
Add 'concat' keyword to regblock, to collect up fields into a bus. Parameterised hookup of PPU backgrounds.
Luke Wren · Dec 25, 2019, 10:25 AM UTC
5e840e371e9d
Add script for stripping non-unique tiles from tileset
Luke Wren · Dec 24, 2019, 6:43 PM UTC
2b8e0fb7eea3
Add a second background to PPU, and add a simple parallax scroll demo. Seem to be some kinks in the asset pipeline that need working out
Luke Wren · Dec 23, 2019, 4:03 AM UTC
14782b240433
Add some awesome sidescrolling assets from opengameart
Luke Wren · Dec 22, 2019, 10:28 PM UTC
e95d343caf55
Update mini tile demo to use paletted colour
Luke Wren · Dec 22, 2019, 7:43 PM UTC
37a568a44758
packtiles: Add ARGB1232 and fix paletted transparency offset
Luke Wren · Dec 22, 2019, 7:29 PM UTC
ed06e6485f6f
PPU: hook up palette offset config, and block bus requests to arbiter when PPU not running
Luke Wren · Dec 22, 2019, 7:27 PM UTC
506df9e8c96f
Fix shift size and bit expansion for ARGB1232
Luke Wren · Dec 22, 2019, 6:44 PM UTC
b0080a36855a
Add paletted modes to packtiles
Luke Wren · Dec 22, 2019, 12:09 AM UTC
a5e170b1b59c
Add transparency and palette mapping to PPU. First pass, but nothing else seems broken.
Luke Wren · Dec 21, 2019, 4:01 AM UTC
10f24fbe0024
riscboy_bootloader: Reduce initial host timeout, and don't do byte-wise memtest, to reduce boot time
Luke Wren · Dec 21, 2019, 1:07 AM UTC
4196a844755c
Add run-after-program option to uartprog
Luke Wren · Dec 21, 2019, 1:07 AM UTC
68ab8e7b171e
Add zelda graphics demo
Luke Wren · Dec 20, 2019, 10:43 PM UTC
f6fa088439fc
Switch LCD clock over to 36 MHz system clock on HX8kEVN, seems to work fine
Luke Wren · Dec 20, 2019, 10:22 PM UTC
697a01f1310e
Speculative fix for issue in ppu bg when pixels per fetch is greater than tile size
Luke Wren · Dec 20, 2019, 10:22 PM UTC
45ab45050018
Update links in readme
Luke Wren · Dec 20, 2019, 9:07 PM UTC
995c650dedc5
Add utility for turning tileset images into RISCBoy tile format
Luke Wren · Dec 19, 2019, 11:26 PM UTC
f09cdc535e53
Appease the ILI9341 gods with a MADCTL before the sw reset (otherwise display requires two inits to properly initialise after a hard LCD power cycle)
Luke Wren · Dec 19, 2019, 7:35 PM UTC
e7b71fb399f5
Improve voltage/bias settings for ILI9341 based on BuyDisplay demo code for ER-TFT028
Luke Wren · Dec 19, 2019, 5:17 PM UTC
64fea70caab1
Correct landscape orientation for ILI9341
Luke Wren · Dec 19, 2019, 4:54 PM UTC
36c3ddfbb743
Add init sequence for ILI9341 LCD
Luke Wren · Dec 19, 2019, 4:11 PM UTC
c461ce5484d3
Fix risky second stage of FPGA reset generator
Luke Wren · Dec 19, 2019, 2:08 PM UTC
3d84288a79ee
Simplify BG address generation by changing tileset layout
Luke Wren · Dec 19, 2019, 1:13 PM UTC
aa923467d4ff
Disable HeAP placement on nextpnr, as it costs frequency
Luke Wren · Dec 19, 2019, 1:11 PM UTC
991da00f2c23
Nicer scrolling tartan for the LCD :)
Luke Wren · Dec 19, 2019, 10:19 AM UTC
a3e844476389
Clean up warnings in bootloader
Luke Wren · Dec 19, 2019, 10:19 AM UTC
8672747861d3
Fix some address/counter slips in PPU. Have fullscreen scrolling tartan on FPGA now!
Luke Wren · Dec 18, 2019, 11:05 PM UTC
725fc3352503
Fix hprot typo in ahbl_crossbar
Luke Wren · Dec 18, 2019, 7:48 PM UTC
332e5e120929
Fix up background blending and raster increment in PPU
Luke Wren · Dec 18, 2019, 6:44 PM UTC
46c268e0dc92
Run system regressions from main memory instead of boot RAM (need more space)
Luke Wren · Dec 18, 2019, 6:43 PM UTC
6574e7a0635f
Fix missing rdata for sc fields in regblock
Luke Wren · Dec 18, 2019, 4:06 PM UTC
f7b61d9ff9f0
Tentatively promote PPU to system busmaster :)
Luke Wren · Dec 18, 2019, 1:50 PM UTC
c587bd708a5a
Wire background, blend, raster counter and busmaster into PPU. Add some BG config to PPU regs.
Luke Wren · Dec 18, 2019, 1:34 PM UTC
bc1b4bb3c8cd
Fix typo and simulation issue in onehot_priority_dynamic
Luke Wren · Dec 18, 2019, 1:33 PM UTC
f09ead927619
First pass at a bus master/arbiter for PPU
Luke Wren · Dec 18, 2019, 12:06 AM UTC
128f7aa816f0
Fix up some silly slips in background logic -- can now scroll and flush at arbitrary points
Luke Wren · Dec 17, 2019, 10:56 PM UTC
ad0ddf9c260b
Fix super embarrassing bug in cleantests
Luke Wren · Dec 17, 2019, 8:19 PM UTC
8edb2e7714d1
Extend smoke test to render a simple 64x64 pixel playfield. Shake some obvious bugs out. Add this test to regressions
Luke Wren · Dec 17, 2019, 8:17 PM UTC
873b3ec0ea0a
PPU background enough in one piece to pass simple smoke test (single scanline with simple tilemap, zero scroll)