aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/luts.h
Commit message (Collapse)AuthorAgeFilesLines
* Generalized representation of unused LUT pins connectionsMaciej Kurc2022-05-111-1/+12
| | | | Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
* Added more code comments, formatted the codeMaciej Kurc2021-07-221-3/+4
| | | | Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
* Working site LUT mapping cacheMaciej Kurc2021-07-161-1/+11
| | | | Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
* Using hashlib in archesgatecat2021-06-021-13/+10
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* clangformatgatecat2021-04-121-1/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* [interchange] Prevent site router from generating incorrect LUTs.Keith Rothman2021-04-061-2/+4
| | | | | | | | | The previous logic tied LUT input pins to VCC if a wire was unplacable. This missed a case where the net was present to the input of the LUT, but a wire was still not legal. This case is now prevented by tying the output of the LUT to an unused net. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* [interchange] Add crude pseudo pip model.Keith Rothman2021-04-061-0/+10
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* [interchange] Update to v6 of FPGA interchange chipdb.Keith Rothman2021-04-011-0/+4
| | | | | | | Changes: - Adds LUT output pin to LutBelPOD. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Re-work LUT mapping logic to only put VCC pins when required.Keith Rothman2021-03-251-0/+2
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Use NEXTPNR_NAMESPACE macro's now that headers are seperated.Keith Rothman2021-03-151-2/+2
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Split nextpnr.h to allow for linear inclusion.Keith Rothman2021-03-151-6/+8
| | | | | | | | | | | | | | | | | | | "nextpnr.h" is no longer the god header. Important improvements: - Functions in log.h can be used without including BaseCtx/Arch/Context. This means that log_X functions can be called without included "nextpnr.h" - NPNR_ASSERT can be used without including "nextpnr.h" by including "nextpnr_assertions.h". This allows NPNR_ASSERT to be used safely in any header file. - Types defined in "archdefs.h" are now available without including BaseCtx/Arch/Context. This means that utility classes that will be used inside of BaseCtx/Arch/Context can be defined safely in a self-contained header. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* clangformatgatecat2021-03-031-21/+20
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Initial LUT rotation logic.Keith Rothman2021-02-261-0/+101
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>