Skip to content
This repository was archived by the owner on Dec 1, 2018. It is now read-only.
This repository was archived by the owner on Dec 1, 2018. It is now read-only.

Use URAMs on F1 #230

@shadjis

Description

@shadjis

The F1 has UltraRAMs which can be used for larger SRAMs. However, SRAMs need to be explicitly assigned to URAMs using the following syntax:

(* ram_style = "ultra" *) reg [DWIDTH-1:0] mem [0:WORDS-1];

One way to do this is to have an analysis pass which:

  1. gets a list of all SRAMs,
  2. sorts the list by size, and
  3. keeps track of the largest 800 SRAMs (there are 800 URAMs on the F1)

E.g. this can be done by storing the size of the 800th largest SRAM and then in code generation using a different template for SRAMs larger than that.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions