Sharing my project which I hope to submit after re...
# shuttle
d
Sharing my project which I hope to submit after resolving the open lane flow issues + DRC fixes. Animated GIF in README is from the demo software. Parts of it might also be useful to others with video projects: the
rgbs_logger
module + PNG script + Makefile target runs Caravel in iverilog, then generates a PNG from captured RGBHV outputs: https://github.com/dan-rodrigues/caravel/tree/vdp-lite
It takes a long time to get 1 frame of video though which is expected, it's understandably no where near as fast as verilator
m
looks cool. I had a quick look through. No frame buffer? Just flip-flop memory for the sprites?
d
yeah there's a pair of FF line buffers here. If I go beyond 8 or 9 bits for the address the tools don't seem to like it, for randomly placed FFs I guess that makes sense: https://github.com/dan-rodrigues/caravel/blob/vdp-lite/vdp/vdp_sprite_core.v#L251
I must've been asleep at the wheel when typing that comment block just above...yikes
m
cool
t
Where are the sprite from ? Small memory ?
d
The character set is baked into ROM: https://github.com/dan-rodrigues/caravel/blob/vdp-lite/verilog/rtl/vdp_lite_user_proj.v#L337 I thought about a few openRAM blocks to make it configurable but was hesitant about it...maybe next time around it, if things go well this time
well by "ROM" I mean randomly based (n)or gates between each address bit and the FF for data_out. Not ideal but seems ok for the small size