aboutsummaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* common: Fix getNetinfoRouteDelay when net has no driverDavid Shah2018-07-301-0/+2
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* fix randtag bug in router1Clifford Wolf2018-07-291-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* placer: only lock/unlock at beginning, yield elsewhereSergiusz Bazanski2018-07-261-7/+4
|
* gui: implement basic cursor pickingSergiusz Bazanski2018-07-261-0/+5
|
* common: rename GraphicElement::{style,type} enums, add _MAX membersSergiusz Bazanski2018-07-261-12/+16
|
* clangformat and GraphicElement::style commentsClifford Wolf2018-07-261-4/+4
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Fix router1 locking in NDEBUG buildsClifford Wolf2018-07-261-2/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* clangformatDavid Shah2018-07-251-4/+4
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Fix BaseCtx::unlock()Clifford Wolf2018-07-251-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge branch 'bba' into 'master'Clifford Wolf2018-07-251-8/+8
|\ | | | | | | | | bbasm See merge request SymbioticEDA/nextpnr!18
| * noreturn have to be void, so there is no UBMiodrag Milanovic2018-07-251-4/+4
| |
| * Make thread check portableMiodrag Milanovic2018-07-251-4/+4
| |
* | Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/pll-padsSergiusz Bazanski2018-07-251-0/+10
|\ \
| * \ Merge branch 'placeconstr2'Clifford Wolf2018-07-241-0/+10
| |\ \ | | |/ | |/|
| | * Typo fixClifford Wolf2018-07-241-1/+1
| | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| | * Add CellInfo data for placement constraintsClifford Wolf2018-07-241-0/+10
| | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | | ice40: support PLL40_*_PAD, fix pass-through LUT for LOCKSergiusz Bazanski2018-07-251-1/+7
|/ /
* / common: Remove use of deprecated APIsDavid Shah2018-07-243-29/+24
|/ | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Add G_ARROW (for now same look as G_LINE)Clifford Wolf2018-07-241-0/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* timing: Model clock to Q timesDavid Shah2018-07-241-0/+3
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Add Context::archcheck() and "nextpnr-ice40 --test"Clifford Wolf2018-07-233-5/+148
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* clangformatClifford Wolf2018-07-231-18/+22
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add fallback to estimateDelay() in getNetinfoRouteDelay()Clifford Wolf2018-07-231-1/+6
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Rename getWireBelPin to getBelPinWireClifford Wolf2018-07-222-4/+4
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Move common patterns from router1 to Context APIClifford Wolf2018-07-223-150/+124
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* clangformatClifford Wolf2018-07-221-30/+25
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge branch 'q3k/lock-2-electric-boogaloo' into 'master'Clifford Wolf2018-07-213-72/+154
|\ | | | | | | | | Basic locking and threading for Arch/GUI See merge request SymbioticEDA/nextpnr!10
| * Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into ↵Sergiusz Bazanski2018-07-213-95/+374
| |\ | | | | | | | | | q3k/lock-2-electric-boogaloo
| * | Use UI lock for yieldingSergiusz Bazanski2018-07-203-12/+38
| | |
| * | Nuke IdStringDBSergiusz Bazanski2018-07-202-47/+38
| | |
| * | Remove dead code.Sergiusz Bazanski2018-07-201-2/+0
| | |
| * | clang-format and uncomment debugSergiusz Bazanski2018-07-201-7/+4
| | |
| * | Move pthread yield hack into BaseCtxSergiusz Bazanski2018-07-203-10/+14
| | |
| * | Mix-in Deterministic RNG at Context instead of BaseCtxSergiusz Bazanski2018-07-201-2/+2
| | |
| * | Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into ↵Sergiusz Bazanski2018-07-201-10/+15
| |\ \ | | | | | | | | | | | | q3k/lock-2-electric-boogaloo
| * | | WIP.Serge Bazanski2018-07-173-1/+12
| | | |
| * | | Add basic external locking, lock from P&RSerge Bazanski2018-07-173-0/+40
| | | |
| * | | Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into ↵Serge Bazanski2018-07-174-39/+47
| |\ \ \ | | | | | | | | | | | | | | | q3k/lock-2-electric-boogaloo
| * | | | Refactor RNG out to separate DeterministicRNG classSerge Bazanski2018-07-141-57/+67
| | | | | | | | | | | | | | | | | | | | | | | | | This well also allow for better lifecycle control over the state of the RNG in the future.
| * | | | Refactor IdString functionality into IdStringDBSerge Bazanski2018-07-142-24/+30
| | | | | | | | | | | | | | | | | | | | | | | | | This lets us more precisely control the lifetime of IdString databases in contexts/arches.
* | | | | Add Loc constructorsClifford Wolf2018-07-211-0/+3
| |_|_|/ |/| | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | | | Merge branch 'router1ng' into 'master'Clifford Wolf2018-07-211-87/+340
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Router1ng See merge request SymbioticEDA/nextpnr!13
| * | | | Bugfix in router1: Also bind src_wireClifford Wolf2018-07-211-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | | | Add final sanity check in router1Clifford Wolf2018-07-211-0/+19
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | | | Refactoring of router1Clifford Wolf2018-07-211-87/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use source-sink pairs as jobs, not whole nets - Route nets with smallest slack first - Preserve routes for already routed source-sink pairs - Add small incentive for re-using wires Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | | | | Fix placement bug with VexRiscV reported by John McMasterDavid Shah2018-07-211-2/+3
|/ / / / | | | | | | | | | | | | Signed-off-by: David Shah <davey1576@gmail.com>
* | | | Change DelayInfo semantics to what we actually needClifford Wolf2018-07-211-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | | | Add getWireDelay APIClifford Wolf2018-07-211-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | | | Add Location APIs to generic archClifford Wolf2018-07-201-4/+0
| | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | | | Improve iCE40 and common Loc codeClifford Wolf2018-07-201-0/+19
| | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>