aboutsummaryrefslogtreecommitdiffstats
path: root/gui/designwidget.cc
Commit message (Collapse)AuthorAgeFilesLines
* gowin: Add GUI.YRabbit2022-01-291-0/+6
| | | | | | | | | | | | | | | * Items such as LUT, DFF, MUX, ALU, IOB are displayed; * Local wires, 1-2-4-8 wires are displayed; * The clock spines, taps and branches are displayed with some caveats. For now, you can not create a project in the GUI because of possible conflict with another PR (about GW1NR-9C support), but you can specify the board in the command line and load .JSON and .CST in the GUI. Although ALUs are displayed, but the CIN and COUT wires are not. This is still an unsolved problem. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
* gui: Fix some typosgatecat2021-07-251-4/+4
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Fixing old emails and names in copyrightsgatecat2021-06-121-2/+2
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Replace DelayInfo with DelayPair/DelayQuadgatecat2021-02-191-6/+6
| | | | | | | | | | | | | | | | | 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>
* 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
|/