lnis-uofu / OpenFPGA

An Open-source FPGA IP Generator
https://openfpga.readthedocs.io/en/master/
MIT License
816 stars 160 forks source link

Clock Network Architecture #1499

Closed mustafaarslan0 closed 7 months ago

mustafaarslan0 commented 8 months ago

I am researching clock network architectures of commercial FPGAs for a while and I see FPGAs can have multiple external clock inputs, PLLs, clock gating cells etc.. Also clock networks can be driven from internal logic.

Currently, the clock routing done by OpenFPGA Repack. So VPR does not know which clock input should be used. OpenFPGA Repack is not sufficient way to do complex clock routing. So I think clock routing should be done by VPR to provide:

Actually, I do not know what to do. But I think improving current VPR Clock Architecture and binding it to OpenFPGA fabric is more accurate way to do it beside current solution. I see similar subject is discussed in issue #1311 and I want to continue discussion of the clock network architecture.

Thanks.

mustafaarslan0 commented 7 months ago

Currently I use repack_constraints without clock network. It works fine so far.