aboutsummaryrefslogtreecommitdiffstats
path: root/generic/arch.h
Commit message (Collapse)AuthorAgeFilesLines
* Add getBelHidden and add some missing "override" statements.Keith Rothman2021-02-111-1/+3
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Use 'T' postfix to disambiguate LHS and RHS of usingD. Shah2021-02-081-21/+21
| | | | | | | Arches might otherwise have range types named ambigiously with the entry in ArchRanges. Signed-off-by: D. Shah <dave@ds0.me>
* Add archArgs and archArgsToId to Arch APID. Shah2021-02-051-2/+3
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* generic: Base upon ArchAPID. Shah2021-02-051-102/+132
| | | | | | | As generic is often picked as our 'odd-one-out' we also use it as an example of an Arch that does not build upon BaseArch. Signed-off-by: D. Shah <dave@ds0.me>
* generic: Fix pin names accidentally being IdStringList not IdStringD. Shah2021-02-051-1/+1
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* Mark IdString and IdStringList single argument constructors explicit.Keith Rothman2021-02-041-5/+5
| | | | | | | | | Single argument constructors will silently convert to that type. This is typically not the right thing to do. For example, the nexus and ice40 arch_pybindings.h files were incorrectly parsing bel name strings, etc. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Post-rebase fixD. Shah2021-02-021-4/+3
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* generic: Use IdStringList for all arch object namesD. Shah2021-02-021-38/+41
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* arch: Add getNameDelimiter API for string listsD. Shah2021-02-021-0/+1
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* Run "make clangformat".Keith Rothman2021-02-021-23/+13
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Rename Partition -> BelBucket.Keith Rothman2021-02-021-9/+9
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Finish implementing new generic APIs.Keith Rothman2021-02-021-3/+15
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Add archcheck for partition methods.Keith Rothman2021-02-021-0/+28
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Initial refactoring of placer API.Keith Rothman2021-02-021-0/+3
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Remove wire alias APIDavid Shah2020-10-151-3/+1
| | | | | | It has not actually been implemented in any router for over 2.5 years and causes nothing more than confusion. It can always be added back if it forms part of a future solution; possibly as part of a more general database structure rethink. Signed-off-by: David Shah <dave@ds0.me>
* generic: Implement getRouteBoundingBoxDavid Shah2020-02-031-0/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Allow selection of router algorithmDavid Shah2020-02-031-0/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Improve error handling when Wire/Pip/Bel is not foundDavid Shah2019-11-271-0/+5
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Router param tweaksDavid Shah2019-04-041-2/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Cell timing supportDavid Shah2019-04-041-0/+34
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Simple procedural example worksDavid Shah2019-04-021-2/+0
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Add a simple packer for generic SLICEs and IOBsDavid Shah2019-04-021-1/+14
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Add --placer option and refactor placer selectionDavid Shah2019-03-241-0/+3
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge remote-tracking branch 'origin/master' into timingapiEddie Hung2018-11-131-0/+2
|\
| * Add getConflictingWireWire() arch API, streamline getConflictingXY semanticClifford Wolf2018-11-111-1/+2
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * Add getConflictingPipWire() arch API, router1 improvementsClifford Wolf2018-11-111-0/+1
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | generic: Update arch to new timing APIDavid Shah2018-11-121-2/+12
|/ | | | Signed-off-by: David Shah <dave@ds0.me>
* Add Arch attrs APIClifford Wolf2018-08-141-0/+10
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add pip locationsClifford Wolf2018-08-091-3/+7
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge branch 'master' of github.com:YosysHQ/nextpnr into constidsClifford Wolf2018-08-081-2/+4
|\
| * Merge pull request #44 from YosysHQ/improve_timing_specDavid Shah2018-08-081-2/+2
| |\ | | | | | | Speed up budget allocator using topographical ordering and update cell timing API
| | * Arch API: Removing Arch::isIOCellDavid Shah2018-08-081-2/+0
| | | | | | | | | | | | Signed-off-by: David Shah <davey1576@gmail.com>
| | * Arch API: New specification for timing port classesDavid Shah2018-08-081-2/+2
| | | | | | | | | | | | Signed-off-by: David Shah <davey1576@gmail.com>
| | * Add Arch::isIOCell() to ecp5 and genericEddie Hung2018-08-061-0/+2
| | |
| | * Modify getBudgetOverride for generic and ecp5 tooEddie Hung2018-08-051-1/+1
| | |
| * | Merge remote-tracking branch 'origin/master' into common_mainMiodrag Milanovic2018-08-081-13/+16
| |\ \ | | | | | | | | | | | | | | | | | | | | # Conflicts: # ecp5/main.cc # ice40/main.cc
| * | | Added project loaderMiodrag Milanovic2018-08-061-0/+2
| | | |
* | | | Get rid of BelType and PortPin in generic archClifford Wolf2018-08-081-10/+4
| |/ / |/| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | | Modify getBudgetOverride for generic and ecp5 tooEddie Hung2018-08-061-1/+1
| |/ |/|
* | API change: Use CellInfo* and NetInfo* as cell/net handles (generic)Clifford Wolf2018-08-051-12/+15
|/ | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* various fixes for generic archMiodrag Milanovic2018-08-021-1/+0
|
* Remove getFrameDecal() APIClifford Wolf2018-08-011-2/+0
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Modify the getNetinfo*() functions and getBudgetOverride() to not useEddie Hung2018-07-311-1/+1
| | | | user_idx and to take a PortRef& instead
* Merge remote-tracking branch 'origin/estdelay' into redist_slackEddie Hung2018-07-311-0/+1
|\ | | | | | | | | | | | | Conflicts: ecp5/arch.cc generic/arch.cc ice40/arch.cc
| * Modify predictDelay signatureEddie Hung2018-07-301-1/+1
| |
| * Add predictDelay Arch APIClifford Wolf2018-07-301-0/+1
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | Merge branch 'redist_slack' into 'redist_slack'Eddie Hung2018-07-311-0/+1
|\ \ | | | | | | | | | # Conflicts: # common/timing.cc
| * | Update getBudgetOverride() for other archesEddie Hung2018-07-261-1/+1
| | |
| * | Revert "Remove Arch::getBudgetOverride()"Eddie Hung2018-07-261-0/+1
| |/ | | | | | | This reverts commit 749dae4ae5b2b719237af5db28e98ff671bae265.
* | getChipName() should be constClifford Wolf2018-07-311-1/+1
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>