Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default FIFO depth for video is too large for some devices #1931

Closed
suarezvictor opened this issue Apr 18, 2024 · 1 comment
Closed

default FIFO depth for video is too large for some devices #1931

suarezvictor opened this issue Apr 18, 2024 · 1 comment

Comments

@suarezvictor
Copy link
Contributor

I'm trying to synth on the Lattice ECP5-25F and the default configuration consumes too much BRAM resources (DP16KD cells) as cause of a big FIFO used for video, currently of 65536 entries.

The function "add_video_framebuffer" should have an extra argument to the fifo_depth, as needed by the VideoFramebuffer class, see:
https://github.com/enjoy-digital/litex/blob/master/litex/soc/integration/soc.py#L2353

That way some SoC configurations can use less resources and the synthesis can be done. I was able to do that by reducing the FIFO size to 16384.

@enjoy-digital
Copy link
Owner

Thanks for the feedback @suarezvictor, implemented with 3fa3532.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants