f4pga / f4pga-arch-defs

FOSS architecture definitions of FPGA hardware useful for doing PnR device generation.
https://f4pga.org
ISC License
271 stars 113 forks source link

Process of adding a new architecture #2344

Open apond308 opened 2 years ago

apond308 commented 2 years ago

I am looking to add a new architecture, and cannot find much documentation on how the process works. I looked around in the testarch directory, but after running build for the 4x4 device (clutff-unidir-s4), I can't find any results or outputs from the build. Where can I find this documentation?

mithro commented 2 years ago

I'm unsure what the question here is?

apond308 commented 2 years ago

@mithro, I am looking to add a new architecture (SOFA) to SymbiFlow, and can't find any documentation on how to implement a new architecture on symbiflow-arch-defs.

I copied the structure of the 'testarch' directory, and replaced those VPR arch files with mine, and it compiles fine when I add this new architecture to the main CMakeLists.txt file. I do not know, however, how to implement tests or run any benchmarks on the new architecture I just put in. The 'testarch' directory doesn't have any tests in it either.

I am looking for some direction on how to implement tests for an architecture in symbiflow-arch-defs.

KKtiandao commented 2 years ago

I am looking for some direction on how to implement tests for an architecture in symbiflow-arch-defs. @apond308 hi, I have a same issue after added a new architecture (spartan7). Do you find any method to verify the architecture newly added?

KKtiandao commented 2 years ago

@apond308 I also had considered directory 'testarch' to be for verification. But after some research, I think it maybe used to explore new archs.