Miodrag Milanovic
fc5cee6fb8
clangformat
2018-08-08 18:17:34 +02:00
Miodrag Milanovic
ecc21caa77
move load/save proj to base
2018-08-08 18:14:22 +02:00
Clifford Wolf
e03ae50e21
Get rid of PortPin and BelType (ice40, generic, docs)
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-08-08 17:01:18 +02:00
Miodrag Milanovic
5df90bc5a5
Merge remote-tracking branch 'origin/master' into common_main
...
# Conflicts:
# ecp5/main.cc
# ice40/main.cc
2018-08-08 10:48:05 +02:00
Miodrag Milanovic
b0741e292c
Use ProjectHandler from gui as well
2018-08-06 19:47:01 +02:00
Miodrag Milanovic
9510c444c9
Disable menu options on json load
2018-08-05 18:02:33 +02:00
Clifford Wolf
5e53075990
API change: Use CellInfo* and NetInfo* as cell/net handles (common, ice40)
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-08-05 15:25:42 +02:00
Miodrag Milanovic
0cb349b60e
Utility calls static
2018-08-04 11:54:34 +02:00
Miodrag Milanovic
dc4bd1b55f
Move ArchArgs to BaseWindow
2018-08-04 11:52:07 +02:00
Miodrag Milanovic
a31c00ed96
Chip selection ui for ECP5
2018-08-04 11:48:29 +02:00
Miodrag Milanovic
beb5f9d4df
not needed anymore
2018-08-04 11:37:41 +02:00
Miodrag Milanovic
17f461ed4f
add write bitstream
2018-08-04 11:21:38 +02:00
Miodrag Milanovic
e68ca65e9e
Unify interfaces for gui
2018-08-03 18:23:40 +02:00
Miodrag Milanovic
8abf38f37f
Moved to new signal slot syntax
2018-08-03 10:53:38 +02:00
Miodrag Milanovic
23a7d96f4c
clangformat
2018-08-02 19:25:20 +02:00
Miodrag Milanovic
e40b61e87e
Add names to toolbars
2018-08-02 19:24:05 +02:00
Miodrag Milanovic
44147dc704
Document and cleanup
2018-08-02 19:21:25 +02:00
Miodrag Milanovic
4fa0c81ed7
Move common logic to basewindow
2018-08-02 18:50:08 +02:00
Miodrag Milanovic
a761b772c8
Make worker generic
2018-08-02 18:10:01 +02:00
Miodrag Milanovic
7f7cb6601e
Move generic resources to top level
2018-08-02 17:48:02 +02:00
Miodrag Milanović
114c230624
Merge pull request #13 from YosysHQ/fix-windows-ctrl-c
...
Handle CTRL-C for windows build
2018-08-02 08:27:04 -07:00
Miodrag Milanovic
6c99f7525e
Fix for macOS segfault
2018-08-02 17:05:55 +02:00
Clifford Wolf
fb06fd4653
Rename GUI "Graphics" tab to "Device"
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-08-02 14:59:48 +02:00
Miodrag Milanovic
ebdfd6ba5e
Fix destructor for tree Item, fixes clang build as well
2018-08-02 13:20:05 +02:00
Miodrag Milanovic
85e9aa3426
Handle CTRL-C for windows build
2018-08-02 09:54:16 +02:00
Miodrag Milanovic
86a36ceeef
Properly delete element from unordered_map
2018-08-02 08:32:16 +02:00
Sergiusz Bazanski
101de5b715
gui: treemodel: unregister from parent when we get destroyed
...
This fixes mysterious crashes when a new context was being loaded. The
'Bels', 'Wires', and 'Nets' roots would get replaced by new ones in
TreeModel::Model::loadContext, but they would not get unregistered from
their parent.
2018-08-01 17:40:27 +01:00
Sergiusz Bazanski
1996f8c2d7
gui: fix race condition when selecting elements during plavement
2018-08-01 11:44:42 +01:00
David Shah
b1a9978922
Merge branch 'redist_slack' into 'master'
...
Update budgets throughout placement and routing
See merge request SymbioticEDA/nextpnr!16
2018-08-01 05:59:34 +00:00
Sergiusz Bazanski
474aa3470a
gui: fix crash on ecp5 gui, fix quadtree tests to not get broken by clangformat
2018-08-01 04:42:41 +01:00
Sergiusz Bazanski
85fc356fc1
clangformat
2018-08-01 03:59:27 +01:00
Sergiusz Bazanski
3408e427f9
gui: cosmetics
2018-08-01 03:55:47 +01:00
Sergiusz Bazanski
1f787c37a3
gui: fix zoom outbound not happening with fast startup time
2018-08-01 03:55:28 +01:00
Sergiusz Bazanski
e423cceba8
gui: treemodel: bail early on empty children updates in IdStringList
2018-08-01 03:31:06 +01:00
Sergiusz Bazanski
f9d30bcdea
gui: lock arch when accessing/building treemodel
2018-08-01 03:26:27 +01:00
Sergiusz Bazanski
9fb9eab6c9
gui: cosmetics
2018-08-01 03:17:02 +01:00
Sergiusz Bazanski
d80bacfe67
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/treemodel-fast
2018-08-01 03:11:41 +01:00
Sergiusz Bazanski
900649ce7a
gui: restore search
2018-08-01 03:11:22 +01:00
Sergiusz Bazanski
a117fcdefd
gui: treemodel: cleanups
2018-08-01 02:59:07 +01:00
Eddie Hung
5d58d6ad1b
Merge branch 'redist_slack' of gitlab.com:SymbioticEDA/nextpnr into redist_slack
2018-07-31 18:26:39 -07:00
Sergiusz Bazanski
8e5c6557d6
gui: treemodel: simplify class hierarchy
2018-08-01 02:24:57 +01:00
Sergiusz Bazanski
6baf8216ed
gui: move tree model into own namespace
2018-08-01 02:19:30 +01:00
Sergiusz Bazanski
049e487f3f
gui: fix warnings
2018-08-01 02:14:20 +01:00
Sergiusz Bazanski
c728cdcae0
gui: restore menu for new tree model
2018-08-01 02:11:23 +01:00
Sergiusz Bazanski
1038b7ef23
gui: restore property navigation in tree
2018-08-01 02:08:56 +01:00
Sergiusz Bazanski
bf43c27567
gui: restore lookup into tree after new model
2018-08-01 01:59:58 +01:00
Sergiusz Bazanski
e9e7004bf9
gui: clickable tree, better sorting
2018-08-01 01:27:20 +01:00
Sergiusz Bazanski
c8cf0bbc05
gui: make new tree model clickable
2018-08-01 00:46:22 +01:00
Sergiusz Bazanski
6241052e11
Merge branch 'master' into q3k/treemodel-fast
2018-08-01 00:22:09 +01:00
Miodrag Milanovic
b55ccc12f0
add graphics toolbar to all targets
2018-07-31 17:40:19 +02:00
Sergiusz Bazanski
cc0ffee3fe
gui: lazy loading of tree model
2018-07-31 15:49:47 +01:00
David Shah
e3a403fa29
ecp5: Disable Pip list in GUI for now
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-07-31 14:36:17 +02:00
Eddie Hung
b7694b655c
Revert "always assign budget before placing"
...
This reverts commit 2bf39cbdc5
.
2018-07-30 19:50:36 -07:00
Miodrag Milanovic
7da64ee167
Implement simple search
2018-07-30 20:10:36 +02:00
Sergiusz Bazanski
412c920e94
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into treemodel
2018-07-30 09:46:07 +01:00
Sergiusz Bazanski
3b9bde533a
gui: sort tree elements somewhat smarter
2018-07-30 09:46:01 +01:00
Miodrag Milanovic
91227b7753
double click on tree, zoom on selected object
2018-07-29 15:21:34 +02:00
Miodrag Milanovic
7c8865d2fc
Added sorting
2018-07-29 10:56:36 +02:00
Miodrag Milanovic
ba2531edc0
add proper info on model changes
2018-07-28 18:48:32 +02:00
Miodrag Milanovic
9a30b6330b
fix select multiple, and reinit model
2018-07-28 17:13:13 +02:00
Miodrag Milanovic
0d3d149c4f
Clean highlight selection if removed from tree
2018-07-28 16:56:16 +02:00
Miodrag Milanovic
7b09a7402e
Move all to tree model
2018-07-28 15:44:00 +02:00
Sergiusz Bazanski
c210ce7768
gui: unselect on click and zoom fixes
2018-07-27 15:46:00 +01:00
Sergiusz Bazanski
816d33fa94
gui: deunionize PickedElement to support arches with typedefd Ids
2018-07-27 15:11:41 +01:00
Sergiusz Bazanski
dc46eea24d
gui: allow building for ECP5 and on Windows
2018-07-27 13:47:21 +01:00
Sergiusz Bazanski
96608c8d07
gui: allow selecting pips
2018-07-27 02:28:01 +01:00
Sergiusz Bazanski
e1dfbc0241
gui: do not allow selecting FRAMEs
2018-07-27 02:24:00 +01:00
Sergiusz Bazanski
3967899a2a
gui: don't keep stale hover selections
2018-07-27 02:17:04 +01:00
Sergiusz Bazanski
1fe1b99a5a
gui: ctrl click to select multiple elements
2018-07-27 02:14:40 +01:00
Sergiusz Bazanski
83371248fc
gui: rejigger maximum zoom out
2018-07-27 02:06:33 +01:00
Sergiusz Bazanski
6db0731ea5
gui: implement zoom to selection
2018-07-27 02:04:24 +01:00
Sergiusz Bazanski
5a7fe84a04
gui: clang-format
2018-07-27 01:22:29 +01:00
Sergiusz Bazanski
0eb40da749
gui: implement zoom to outbounds
2018-07-27 01:21:50 +01:00
Sergiusz Bazanski
d2c3807598
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/clickity
2018-07-26 22:41:17 +01:00
Sergiusz Bazanski
402be30268
gui: after review of quadtree by msgctl, tougher tests
2018-07-26 22:41:10 +01:00
Sergiusz Bazanski
df908374dc
gui: implement basic cursor picking
2018-07-26 22:40:45 +01:00
Sergiusz Bazanski
567566585c
wip
2018-07-26 18:43:00 +01:00
Miodrag Milanovic
e5acd80247
Added back select on property list
2018-07-26 19:32:21 +02:00
Sergiusz Bazanski
940886f9fa
Merge branch 'master' into q3k/clickity
2018-07-26 17:46:27 +01:00
Sergiusz Bazanski
ae6eeb9d81
gui: include linshader.{cc,h}
2018-07-26 17:39:22 +01:00
Sergiusz Bazanski
16acc6ea43
gui: move polyline/lineshader to gui/lineshader.{h,cc}
2018-07-26 17:37:24 +01:00
Sergiusz Bazanski
ba5395d89f
gui: refactor FPGAViewWidget even more slightly
2018-07-26 17:33:19 +01:00
Sergiusz Bazanski
706fe2f365
gui: refactor FPGAViewWidget slightly
2018-07-26 17:26:26 +01:00
Sergiusz Bazanski
c37d2baaf6
common: rename GraphicElement::{style,type} enums, add _MAX members
2018-07-26 16:39:19 +01:00
Sergiusz Bazanski
340c2520b0
Merge branch 'master' into q3k/clickity
2018-07-26 16:26:26 +01:00
Sergiusz Bazanski
f1b84fbdc5
gui: style fixes
2018-07-26 16:26:05 +01:00
Sergiusz Bazanski
4a21436dfa
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
2018-07-26 16:22:19 +01:00
Sergiusz Bazanski
c897c0ca9a
gui: clickable bels, WIP
2018-07-26 16:20:58 +01:00
Clifford Wolf
03f92948d1
clangformat and GraphicElement::style comments
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-26 17:14:56 +02:00
Clifford Wolf
467e0926f9
Add getWireType()/getPipType() API
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-26 16:38:11 +02:00
Miodrag Milanovic
4587b8c000
added buttons for new zoom operations
2018-07-26 13:21:46 +02:00
Miodrag Milanovic
c9b9d9b227
highlight operation on multiple items
2018-07-26 11:42:05 +02:00
Eddie Hung
950f33c1bb
clangformat
2018-07-25 17:53:01 -07:00
Sergiusz Bazanski
30d481e321
gui: Add QuadTree and tests
2018-07-25 21:57:20 +01:00
Miodrag Milanovic
9a4bdbe4b6
made select multiple to work
2018-07-25 19:21:46 +02:00
Miodrag Milanovic
2596b9fe17
Add ability for multiple selection, enable for select only items that make sense
2018-07-25 19:10:45 +02:00
Clifford Wolf
f3dab003e7
Merge branch 'bba' into 'master'
...
bbasm
See merge request SymbioticEDA/nextpnr!18
2018-07-25 11:07:51 +00:00
Miodrag Milanovic
6b8b067b1a
Fix for zero length case
2018-07-25 09:37:22 +02:00
Miodrag Milanovic
ede3cc1459
Disable pips for now on ECP5 just to be able to work on other parts
2018-07-24 20:30:18 +02:00
Clifford Wolf
c3cbc274ac
Change G_FRAME color to be significantly darker than G_ACTIVE
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-24 12:24:14 +02:00
Clifford Wolf
9d38907e95
Add G_ARROW (for now same look as G_LINE)
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-24 12:18:01 +02:00
Miodrag Milanovic
139f7e0903
make update of tree for nets and cells partial
2018-07-23 19:54:36 +02:00
Miodrag Milanovic
7fd45c0cdf
Proper highlight/selected cleanup on context re-init
2018-07-23 17:10:06 +02:00
Miodrag Milanovic
eeb6203c9d
write frequency info
2018-07-23 16:55:40 +02:00
Miodrag Milanovic
2bf39cbdc5
always assign budget before placing
2018-07-23 16:53:08 +02:00
Miodrag Milanovic
7f473f5199
Added Bel port info to GUI
2018-07-22 20:37:54 +02:00
Miodrag Milanovic
f93fc6fa79
Move to new api
2018-07-22 19:43:56 +02:00
Clifford Wolf
1e96999863
clangformat
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-22 00:50:49 +02:00
Sergiusz Bazanski
44f52234fb
QTimer::start(std::chrono::duration -> int)
...
The chrono::duration-friendly method is availble from Qt 5.8 only.
2018-07-21 21:44:40 +01:00
Sergiusz Bazanski
6588aafdb8
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/lock-2-electric-boogaloo
2018-07-21 20:00:42 +01:00
Clifford Wolf
a8eadb5ba2
Fix minor issue in GUI Wire properties
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-21 13:53:29 +02:00
Clifford Wolf
78f40ca0af
Change DelayInfo semantics to what we actually need
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-21 13:52:59 +02:00
Miodrag Milanovic
09a68affa3
Fix warnings and status
2018-07-21 12:22:41 +02:00
Miodrag Milanovic
fe239366b5
Made save project work as well
2018-07-21 12:15:50 +02:00
Miodrag Milanovic
ec4fc0f830
made open project to work
2018-07-21 11:24:29 +02:00
Sergiusz Bazanski
0311a27a53
Use UI lock for yielding
2018-07-20 18:34:59 +01:00
Miodrag Milanovic
9f0be8cd5f
make new context work again
2018-07-20 19:16:36 +02:00
Sergiusz Bazanski
19f4b68f07
clang-format and uncomment debug
2018-07-20 13:19:56 +01:00
Miodrag Milanovic
53034959f3
Start adding bitstream reading for ice40
2018-07-20 13:27:21 +02:00
Sergiusz Bazanski
55d5f8f248
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/lock-2-electric-boogaloo
2018-07-20 10:59:33 +01:00
Sergiusz Bazanski
0385ad1b1c
Refactor renderer thread
2018-07-20 10:58:30 +01:00
Miodrag Milanovic
2df7e130fb
Fix click on wire in net section
2018-07-18 18:37:54 +02:00
Miodrag Milanovic
af8b2b83f6
cell and net now can be selected, fixed issue with highlight
2018-07-18 18:06:47 +02:00
Miodrag Milanovic
19828bdf45
added clear action for browsing history
2018-07-18 17:33:04 +02:00
Miodrag Milanovic
3477263431
removed not used and buggy features
2018-07-18 17:18:44 +02:00
Serge Bazanski
03508faabf
WIP.
2018-07-17 19:16:26 +01:00
Miodrag Milanovic
3ef85b30b4
proper fix
2018-07-17 17:24:01 +02:00
Miodrag Milanovic
5f64291ee1
remove non working code
2018-07-17 15:48:09 +02:00
Miodrag Milanovic
c2fe09ec83
QT 5.5 does not have this feature and it is version in Ubuntu 16.04
2018-07-17 14:29:16 +02:00
Miodrag Milanovic
a5f93343b6
Added check for yosys availability
2018-07-17 09:40:26 +02:00
Miodrag Milanovic
6269d97474
add tooltip for folder
2018-07-16 21:23:12 +02:00
Miodrag Milanovic
ee2ed461e6
Added Yosys tab with interactive console
2018-07-16 21:15:49 +02:00
Miodrag Milanovic
29df566a60
Fix MSVC build
2018-07-16 08:07:57 +02:00
Miodrag Milanovic
21bf78dae9
Make at least 50 of pips available in uphill/downhill
2018-07-15 21:06:04 +02:00
Miodrag Milanovic
8e12ae2cfe
Added splash screen info while loading
2018-07-15 20:31:42 +02:00
Miodrag Milanovic
ecc4c3fa7b
added highlight groups
2018-07-15 17:50:58 +02:00
Miodrag Milanovic
82c9fef3de
added browsing history
2018-07-15 16:20:35 +02:00
Miodrag Milanovic
3eb34bf38b
make linked items clickable
2018-07-15 15:12:31 +02:00
Miodrag Milanovic
bf0b1d2db3
add select on property pane, and action to double click
2018-07-15 12:39:19 +02:00
Miodrag Milanovic
bce235fad5
show selected item from property window as well, cleanup
2018-07-15 09:49:19 +02:00
Miodrag Milanovic
fcba866b63
remove selected on context change
2018-07-14 20:19:39 +02:00
Sergiusz Bazanski
1b5c1b028e
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
2018-07-14 19:12:29 +01:00
Sergiusz Bazanski
36b4e3382d
Revert "Make GUI nice and smooth."
...
This reverts commit a8c84e90a3
.
2018-07-14 18:50:50 +01:00
Sergiusz Bazanski
ade67ecf21
Revert "Move read methods to ReadMethods, remove some legacy access to Arch"
...
This reverts commit 3352ff4abb
.
2018-07-14 18:50:23 +01:00
Miodrag Milanovic
8d1996cae9
display selected object from tree
2018-07-14 19:44:37 +02:00
Miodrag Milanovic
f339f796a1
simplified Icon allocation
2018-07-14 17:58:58 +02:00
Miodrag Milanovic
0b1ae3ce8d
use itemSelectionChanged, keyboard selection works
2018-07-14 17:50:06 +02:00
Miodrag Milanovic
5216e48863
join python and info into one tab
2018-07-14 14:06:05 +02:00
Sergiusz Bazanski
3352ff4abb
Move read methods to ReadMethods, remove some legacy access to Arch
2018-07-14 11:46:32 +01:00
Sergiusz Bazanski
a8c84e90a3
Make GUI nice and smooth.
2018-07-13 20:53:52 +01:00