Skip to content

[WIP] Importing cell timings from prjxray-db#147

Open
mkurc-ant wants to merge 18 commits intochipsalliance:masterfrom
antmicro:timing-nextpnr
Open

[WIP] Importing cell timings from prjxray-db#147
mkurc-ant wants to merge 18 commits intochipsalliance:masterfrom
antmicro:timing-nextpnr

Conversation

@mkurc-ant
Copy link
Collaborator

@mkurc-ant mkurc-ant commented Mar 10, 2022

This PR continues the work towards timing driven routing by importing cell timings from prjxray-db to device resources database of a 7-series device.

Cell timings are stored in SDF format in prjxray-db. The patching script reads them using the python-sdf-timing library and populates the data to the device resources structures. Since cell names and instances in those SDF files do not correspond one-to-one with the architecture a manual mapping is needed. For this purpose a JSON file is used which contains the mapping.

The mapping in this PR considers only most common cell types like those inside SLICE. Timings for others are either not mapped or not present in prjxray-db.

The timing importer does not consider routing BEL timings yet.

gatecat and others added 18 commits February 17, 2022 17:48
Signed-off-by: gatecat <gatecat@ds0.me>
Signed-off-by: gatecat <gatecat@ds0.me>
Signed-off-by: gatecat <gatecat@ds0.me>
Signed-off-by: gatecat <gatecat@ds0.me>
Signed-off-by: gatecat <gatecat@ds0.me>
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
…e resources

Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
…ks for "regular" cell-bel pin maps, not yet for parameter pins.

Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
…ly for BEL pins mentioned in a map.

Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
…ny timing annotations.

Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
…t to the cell instance spec

Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
…y everything for SLICEL and SLICEM

Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
…ys to 0 (for now it seems that nextpnr won't handle eg. negative hold)

Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
…o nextpnr BBA

Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants