aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2/archdefs.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixing old emails and names in copyrightsgatecat2021-06-121-1/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Remove redundant code after hashlib movegatecat2021-06-021-43/+0
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Add hash() member functionsgatecat2021-06-021-0/+5
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Add stub cluster API impl for remaining archesgatecat2021-05-061-1/+3
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Add same fix as in issue #373Miodrag Milanovic2021-04-081-0/+4
|
* Split nextpnr.h to allow for linear inclusion.Keith Rothman2021-03-151-3/+7
| | | | | | | | | | | | | | | | | | | "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>
* Fix compiler warnings introduced by -Wextragatecat2021-02-251-1/+0
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Replace DelayInfo with DelayPair/DelayQuadgatecat2021-02-191-21/+0
| | | | | | | | | | | | | | | | | This replaces the arch-specific DelayInfo structure with new DelayPair (min/max only) and DelayQuad (min/max for both rise and fall) structures that form part of common code. This further reduces the amount of arch-specific code; and also provides useful data structures for timing analysis which will need to delay with pairs/quads of delays as it is improved. While there may be a small performance cost to arches that didn't separate the rise/fall cases (arches that aren't currently separating the min/max cases just need to be fixed...) in DelayInfo, my expectation is that inlining will mean this doesn't make much difference. Signed-off-by: gatecat <gatecat@ds0.me>
* machxo2: Misc tidying upgatecat2021-02-121-7/+0
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* machxo2: Update with Arch API changesgatecat2021-02-121-0/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* machxo2: Add/fix copyright banners.William D. Jones2021-02-121-1/+2
|
* machxo2: clang format.William D. Jones2021-02-121-1/+1
|
* machxo2: Implement WireId/PipId, complete Bel part of API.William D. Jones2021-02-121-2/+46
|
* machxo2: Implement functions to get device utilization (throws ↵William D. Jones2021-02-121-1/+51
| | | | std::out_of_range during place phase).
* machxo2: Add binary blob struct definitions.William D. Jones2021-02-121-0/+2
|
* machxo2: Add initial set of constids for packing.William D. Jones2021-02-121-0/+14
|
* Create machxo2 backend (renamed from generic).gatecat2021-02-121-0/+72
Signed-off-by: William D. Jones <thor0505@comcast.net>