aboutsummaryrefslogtreecommitdiffstats
path: root/gui/designwidget.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove the unused CellInfo::pins fieldgatecat2021-02-101-12/+0
| | | | | | | | | | | No arches ever actually used this to implement a Cell->Bel pin mapping, and in practice if any did try they would inevitably hit bitrot. This field had limited use in practice as it is necessary to also support cases where one cell pin maps to more than one bel pin. Removing this old field is the first step towards developing a new API for this. Signed-off-by: gatecat <gatecat@ds0.me>
* Mark IdString and IdStringList single argument constructors explicit.Keith Rothman2021-02-041-4/+6
| | | | | | | | | 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>
* Refactor GUI to use IdStringListsD. Shah2021-02-021-22/+20
| | | | | | | | The GUI internally had an 'IdStringList' type that I hadn't spotted, to avoid a conflict this is renamed to IdList which also reflects its new purpose better. Signed-off-by: D. Shah <dave@ds0.me>
* refactor: Replace getXName().c_str(ctx) with ctx->nameOfXD. Shah2021-02-021-12/+10
| | | | | | This makes the ongoing migration to IdStringList easier. Signed-off-by: D. Shah <dave@ds0.me>
* ice40: Switch from RelPtr to RelSliceD. Shah2021-01-271-1/+1
| | | | | | | | | | This replaces RelPtrs and a separate length field with a Rust-style slice containing both a pointer and a length; with bounds checking always enforced. Thus iterating over these structures is both cleaner and safer. Signed-off-by: D. Shah <dave@ds0.me>
* Fix assert, check should be other way arroundMiodrag Milanovic2020-07-061-1/+1
|
* Major Property improvements for common and iCE40David Shah2019-08-051-3/+6
| | | | Signed-off-by: David Shah <dave@ds0.me>
* gui: Fix Cells/Nets tab contents.Marcin Koƛcielnicki2019-03-121-4/+4
| | | | Signed-off-by: Marcin Koƛcielnicki <marcin@symbioticeda.com>
* Fix reading conflicting wire in GUI for pips, fixes #225Miodrag Milanovic2019-02-071-2/+6
|
* clangformatDavid Shah2018-11-161-15/+21
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge pull request #107 from YosysHQ/router_improveEddie Hung2018-11-131-0/+4
|\ | | | | Major rewrite of "router1"
| * clangformatClifford Wolf2018-11-111-4/+4
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * Add getConflictingWireWire() arch API, streamline getConflictingXY semanticClifford Wolf2018-11-111-2/+4
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * Add getConflictingPipWire() arch API, router1 improvementsClifford Wolf2018-11-111-0/+2
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | Show wires in tree for ECP5 as wellMiodrag Milanovic2018-11-111-2/+7
| |
* | multiple selection fixMiodrag Milanovic2018-11-111-1/+14
| |
* | Pip visible for all archsMiodrag Milanovic2018-11-111-6/+6
| |
* | Propagate proper ctx, fixes fetchMoreMiodrag Milanovic2018-11-111-7/+7
| |
* | change to const auto&Miodrag Milanovic2018-10-301-1/+1
| |
* | Changes to cover issues from code reviewMiodrag Milanovic2018-10-291-26/+24
| |
* | fix unselect from treeMiodrag Milanovic2018-10-281-4/+2
| |
* | Fix keep selection on multiple treesMiodrag Milanovic2018-10-271-8/+32
| |
* | update properties based on move historyMiodrag Milanovic2018-10-271-17/+37
| |
* | clangformatMiodrag Milanovic2018-10-271-36/+54
| |
* | CleanupMiodrag Milanovic2018-10-271-4/+12
| |
* | simplify and move arroundMiodrag Milanovic2018-10-271-11/+51
| |
* | Split tree models and make other features work with itMiodrag Milanovic2018-10-271-57/+130
|/
* clangformatDavid Shah2018-09-301-10/+7
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* gui: Fix another zero-decal issueDavid Shah2018-09-251-1/+3
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Apply GUI fix from @mmickoDavid Shah2018-09-251-1/+3
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Added hover on properties as well, fixes #64Miodrag Milanovic2018-08-221-0/+20
|
* Hover on items in treeMiodrag Milanovic2018-08-221-5/+37
|
* Add arch attributes display to GUIClifford Wolf2018-08-181-0/+15
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Get rid of PortPin and BelType (ice40, generic, docs)Clifford Wolf2018-08-081-4/+4
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* API change: Use CellInfo* and NetInfo* as cell/net handles (common, ice40)Clifford Wolf2018-08-051-6/+6
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Moved to new signal slot syntaxMiodrag Milanovic2018-08-031-3/+2
|
* clangformatMiodrag Milanovic2018-08-021-3/+3
|
* gui: fix race condition when selecting elements during plavementSergiusz Bazanski2018-08-011-12/+45
|
* gui: lock arch when accessing/building treemodelSergiusz Bazanski2018-08-011-2/+13
|
* gui: move tree model into own namespaceSergiusz Bazanski2018-08-011-11/+11
|
* gui: restore menu for new tree modelSergiusz Bazanski2018-08-011-47/+50
|
* gui: restore property navigation in treeSergiusz Bazanski2018-08-011-5/+5
|
* gui: restore lookup into tree after new modelSergiusz Bazanski2018-08-011-9/+18
|
* Merge branch 'master' into q3k/treemodel-fastSergiusz Bazanski2018-08-011-7/+23
|\
| * Implement simple searchMiodrag Milanovic2018-07-301-5/+21
| |
* | gui: lazy loading of tree modelSergiusz Bazanski2018-07-311-69/+69
|/
* double click on tree, zoom on selected objectMiodrag Milanovic2018-07-291-2/+3
|
* add proper info on model changesMiodrag Milanovic2018-07-281-8/+10
|
* fix select multiple, and reinit modelMiodrag Milanovic2018-07-281-11/+11
|
* Clean highlight selection if removed from treeMiodrag Milanovic2018-07-281-0/+12
|