Commit Graph

420 Commits

Author SHA1 Message Date
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
Miodrag Milanovic
07ff5ad8b8 Made python console use edit line and better 2018-07-13 19:56:11 +02:00
Miodrag Milanovic
cbfb030264 remove maximum size restriction for tree/property 2018-07-13 15:40:43 +02:00
Clifford Wolf
c05bea12e0 Add ctx->pack() API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-13 15:16:44 +02:00
Sergiusz Bazanski
309a533b7c Style. 2018-07-13 11:39:33 +01:00
Miodrag Milanovic
b5498c8a53 Fixed initial title and actions after new 2018-07-13 12:02:49 +02:00
Miodrag Milanovic
0f0259fd94 invert palette for fpga viewer 2018-07-13 11:21:49 +02:00
Miodrag Milanovic
96d862311d Add coloring per graphics element style 2018-07-13 11:03:09 +02:00
Miodrag Milanovic
8e54ac1542 Use command line parameters settings for GUI as well. 2018-07-13 09:14:48 +02:00
Sergiusz Bazanski
499951cb65 Remove legacy graphics API
For now we do not optimize the OpenGL renderer against the new decal
API, but this can be done in the future.
2018-07-12 21:30:36 +01:00
Clifford Wolf
b8a42ff53b Updates from clang-format
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-12 22:04:13 +02:00
Sergiusz Bazanski
681d824131 Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/fix-zoom 2018-07-12 20:24:00 +01:00
Sergiusz Bazanski
284b4750ee Fix zoom in fpgawidget 2018-07-12 20:22:53 +01:00
Miodrag Milanovic
7b9b2bef3c make colors configurable, changed to gray 2018-07-12 18:03:10 +02:00
Miodrag Milanovic
8a226626be changed order of scale and translate, makes it zoom at center 2018-07-12 17:38:58 +02:00
Clifford Wolf
a436035424 Add Groups API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-12 17:22:29 +02:00
Miodrag Milanovic
1245eb6343 added progress bar for future use 2018-07-12 14:54:16 +02:00
Miodrag Milanovic
93214a2fb0 disable actions and make them accesible 2018-07-11 18:48:06 +02:00
Miodrag Milanovic
ab5798e09e margins fix 2018-07-11 18:48:06 +02:00
Clifford Wolf
297a013e4d Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr 2018-07-11 18:17:52 +02:00
Miodrag Milanovic
0d979b964e Fix layout 2018-07-11 18:15:25 +02:00
Clifford Wolf
7daa8524c8 Add ctx->place() API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-11 18:15:08 +02:00
Clifford Wolf
7df67c91b3 Add ctx->route() API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-11 18:04:09 +02:00
Miodrag Milanovic
77818f53bd GUI preparation for search and browse history 2018-07-11 16:20:33 +02:00
Clifford Wolf
ce6afb5f7f Merge branch 'ice40gfx' into 'master'
Ice40gfx

See merge request SymbioticEDA/nextpnr!7
2018-07-11 12:04:53 +00:00
Clifford Wolf
7081cca016 Add GUI Decals API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-11 14:03:23 +02:00
Miodrag Milanovic
0d71ed76cb reversed Y coordinate in gui 2018-07-11 11:53:24 +02:00
David Shah
6601adf760 cmake: Post-rebase ecp5 fixes
Signed-off-by: David Shah <davey1576@gmail.com>
2018-07-11 10:44:06 +02:00
David Shah
074df03c59 ecp5: Add stub for UI
Signed-off-by: David Shah <davey1576@gmail.com>
2018-07-11 10:41:36 +02:00
Clifford Wolf
87d88048ac Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into ice40gfx 2018-07-10 15:11:35 +02:00
Miodrag Milanovic
bfc47e9cd4 Added ICE40_HX1K_ONLY check in gui and main 2018-07-10 13:58:20 +02:00
Miodrag Milanovic
f88f86125d Set family specific parameters for GUI 2018-07-10 13:54:05 +02:00
David Shah
a412903651 Increase max zoom, decrease line width
Signed-off-by: David Shah <davey1576@gmail.com>
2018-07-09 15:33:09 +02:00
David Shah
a1cd9fcf73 Reduce line width, adding some switchboxes
Signed-off-by: David Shah <davey1576@gmail.com>
2018-07-09 14:53:20 +02:00
Miodrag Milanovic
044e46b0ad cleared a warning and add note for python 2018-07-08 20:24:30 +02:00
Miodrag Milanovic
9704ebd079 Added selection of chip and pacakge on new projet in GUI 2018-07-07 13:23:45 +02:00
Miodrag Milanovic
1a22ccdfe6 Added rest of properties to all sections in GUI 2018-07-07 12:24:13 +02:00
Miodrag Milanovic
7a741b66a1 clang format and some cleanup 2018-07-06 19:19:18 +02:00
Miodrag Milanovic
cc901d67f5 all nets and cells info visible in properties 2018-07-06 19:05:05 +02:00
Miodrag Milanovic
71ca4f95b8 Cleanup and fix of property view 2018-07-06 08:15:39 +02:00
Miodrag Milanovic
1f2aef943e more properties added for nets 2018-07-05 21:51:17 +02:00
Miodrag Milanovic
f0923b1b27 made current properties read only 2018-07-05 20:35:47 +02:00
Miodrag Milanovic
d119206ffd display properties for nets and cells and simplify types 2018-07-05 20:17:32 +02:00
Miodrag Milanovic
6b904aefd3 Display nets and cells as well 2018-07-05 20:06:12 +02:00
Miodrag Milanovic
2dd7c77abd no messages on console if all is fine with opengl 2018-07-05 19:32:17 +02:00
Miodrag Milanovic
03d5bc2472 Proper tree in tree view for bels, wires and pips 2018-07-05 19:31:01 +02:00
Miodrag Milanovic
2f5b5369ba Disable warning from qt5 and 2018-07-05 10:33:11 +02:00
Miodrag Milanovic
2fe13e7a07 make GUI compile on MSVC 2018-07-05 10:14:19 +02:00
Miodrag Milanovic
d6df1b8ce9 Fixed OpenGL issues noticed on mingw intel/nvidia 2018-07-03 11:48:05 +02:00
Clifford Wolf
b908b02022 Rename "dummy" arch to "generic"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-29 20:40:55 +02:00
David Shah
27e7bc3b4b Improving the SA+legalisation flow
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-29 17:04:22 +02:00
David Shah
d908928b56 Tidying up the SA placer
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-29 15:47:56 +02:00
Miodrag Milanovic
a4f69fba19 fix build without python 2018-06-29 08:18:15 +02:00
Miodrag Milanovic
960c650478 clangformat cleanup 2018-06-28 18:06:31 +02:00
Miodrag Milanovic
1676b285ae adapted python-console for easier use 2018-06-28 17:57:26 +02:00
Miodrag Milanovic
2037fff742 remove emb.cc 2018-06-28 17:57:26 +02:00
Miodrag Milanovic
45032e2224 compile in needed helpers and fix warnings 2018-06-28 17:57:26 +02:00
Miodrag Milanovic
bafb4702c7 reinit python tab 2018-06-27 11:45:19 +02:00
Miodrag Milanovic
9bb4899360 disable new and open while tasks are running 2018-06-27 11:12:05 +02:00
Miodrag Milanovic
0bd73c1977 Make GUI use recreated context 2018-06-26 15:47:43 +02:00
Miodrag Milanovic
8344a21282 Preps for more UI functionality 2018-06-26 14:17:41 +02:00
Miodrag Milanovic
e770f16a22 Added Save ASC option 2018-06-26 14:17:41 +02:00
Miodrag Milanovic
fb5fb497b5 Fix some memory leaks 2018-06-25 14:34:08 +02:00
Miodrag Milanovic
0cedb7276f display type in properties 2018-06-23 20:25:10 +02:00
Miodrag Milanovic
3407d76383 added PCF load 2018-06-23 16:55:13 +02:00
Miodrag Milanovic
4b78ae15df clangformat cleanup 2018-06-23 16:06:49 +02:00
Miodrag Milanovic
c0b1078c12 Added assign time budget and placement option 2018-06-23 16:03:49 +02:00
Miodrag Milanovic
82ec1be31f Added BUILD_GUI, BUILD_PYTHON and BUILD_TESTS cmake options, 2018-06-23 14:32:49 +02:00
Miodrag Milanović
b63fdfbeab Merge branch 'q3k/gl-vbo' into 'master'
OpenGL 3.1, VAO/VBO

See merge request SymbioticEDA/nextpnr!2
2018-06-23 12:10:52 +00:00
Miodrag Milanovic
6f4e49bb47 cleaned some warnings 2018-06-23 08:01:36 +02:00
Sergiusz Bazanski
ac1fcefdb1 OpenGL 3.1, VAO/VBO 2018-06-22 20:25:47 +01:00
Sergiusz Bazanski
15a7a76415 Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/gl 2018-06-22 15:54:05 +01:00
Miodrag Milanovic
e5bd4764b2 Added custom QApplication implementation 2018-06-22 16:49:15 +02:00
Miodrag Milanovic
b4764031d9 Added credits 2018-06-22 16:21:49 +02:00
Sergiusz Bazanski
a684785986 Small fixes. 2018-06-22 15:13:05 +01:00
Miodrag Milanovic
56c09fc5e5 routing flow supported in gui 2018-06-22 15:35:25 +02:00
Sergiusz Bazanski
858acc5c1c Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/gl 2018-06-22 14:29:28 +01:00
Sergiusz Bazanski
98b1f0c041 Reimplement FPGAWidget in modern OpenGL. 2018-06-22 14:27:04 +01:00
Miodrag Milanovic
7f36828270 fixed namespace for gui section 2018-06-22 13:10:43 +02:00
Miodrag Milanovic
11d99853ab more task control 2018-06-22 12:49:40 +02:00
Miodrag Milanovic
5cb893aebd terminate on close 2018-06-22 12:49:40 +02:00
Miodrag Milanovic
3cd12e3671 Add ability to terminate running tasks 2018-06-22 12:49:40 +02:00
Miodrag Milanovic
c33a039ac3 Added return code to json parsing and pcf reading 2018-06-21 18:08:28 +02:00
Miodrag Milanovic
8fac26c2b7 Fixed return codes for packer, placer and router 2018-06-21 17:56:45 +02:00
Miodrag Milanovic
54549d36e9 log_error now trows exception, main is covering catch 2018-06-21 17:44:18 +02:00
Clifford Wolf
4fefdbd57c Cleanup parse_json_file API, some other cleanups
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-21 16:16:58 +02:00
Miodrag Milanovic
097df1869d Added task manager and worker thread for ice40 2018-06-21 15:42:19 +02:00
Miodrag Milanovic
2d405f966b Add graphics view in tab 2018-06-21 15:42:19 +02:00
Miodrag Milanovic
23fe31da44 cleanup 2018-06-21 13:55:36 +02:00
Miodrag Milanovic
9c03909eba Make arch specific main window 2018-06-21 13:41:33 +02:00
Sergiusz Bazanski
71121b439b Contextualize DesignWidget 2018-06-20 20:01:09 +01:00
Miodrag Milanovic
36c16cd28e Cleanup of cmake files for easier development 2018-06-20 16:15:33 +02:00
Miodrag Milanovic
e14b8bac66 put source changes for qtpropertybrowser back and make build simple 2018-06-20 16:15:33 +02:00
Miodrag Milanovic
6d2f058f67 Added context menus for python and info tab 2018-06-20 12:35:43 +02:00
Miodrag Milanovic
7975afc30f Added custom line editor with history 2018-06-20 09:43:18 +02:00
Miodrag Milanovic
b5c1b09079 Small gui improvements and open json functionality 2018-06-19 15:17:34 +02:00
Clifford Wolf
8ee149f4fc Rename Design to Context, derive from Arch instead of instantiating
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-18 14:06:37 +02:00
Miodrag Milanovic
3c6f1548d6 Create all without ui file, enables more control 2018-06-15 12:22:44 +02:00
Miodrag Milanovic
fe4d56a45a Propagate signals 2018-06-15 11:10:11 +02:00
Miodrag Milanovic
ff074e4b4c Added back some size limits for UI 2018-06-14 20:24:05 +02:00
Miodrag Milanovic
1336eb0630 Split design widget on side 2018-06-14 20:04:22 +02:00
Miodrag Milanovic
4a734d6cc7 separate clearProperties 2018-06-14 20:04:22 +02:00
Miodrag Milanovic
064dc13f3d Cleanup 2018-06-14 20:04:22 +02:00
Miodrag Milanovic
4e82ed46d2 Split to classes 2018-06-14 20:04:22 +02:00
Miodrag Milanovic
9c0640240f Split per widgets 2018-06-14 20:04:22 +02:00
Miodrag Milanovic
342290d6bd Cleanup and preps for further ui work 2018-06-13 21:27:49 +02:00
Miodrag Milanovic
68c6239cdc Make custom types for elements in tree view 2018-06-13 20:57:27 +02:00
Clifford Wolf
d80e60cce2 Add hierarchy to bel/wire/pip names
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-13 14:53:44 +02:00
Miodrag Milanovic
65bc2d3f39 context menu and cleanup 2018-06-12 21:29:37 +02:00
Miodrag Milanovic
7b1c599947 clangformat cleanup 2018-06-12 20:44:05 +02:00
Miodrag Milanovic
9953012154 reveresed logic for enabling main file, and made tests link arch files 2018-06-12 19:56:03 +02:00
Miodrag Milanovic
7c3e1e72f5 Add QTreeWidget and fill with bels 2018-06-12 15:38:39 +02:00
Clifford Wolf
391d49c13e Add nextpnr namespace
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-12 14:24:59 +02:00
Miodrag Milanovic
102e10f2dd Clang format to ignore 3rdparty and fix one file 2018-06-11 21:36:54 +02:00
Miodrag Milanovic
8c9ce776ec Added property editor for example 2018-06-11 21:30:22 +02:00
Miodrag Milanovic
f1cf449c09 compile QtPropertyBrowser 2018-06-11 21:30:22 +02:00
Clifford Wolf
be73894bea Add "nextpnr.h"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-11 20:12:57 +02:00
Miodrag Milanovic
17fae4c9e1 Proper looking output in python console 2018-06-11 15:34:01 +02:00
Miodrag Milanovic
979a14c930 OpenGL library portable way of using 2018-06-11 10:01:25 +02:00
Miodrag Milanovic
9f8bdd3c3e nice way to get main window 2018-06-10 20:48:52 +02:00
Miodrag Milanovic
d8d38cd107 Draw fpga model 2018-06-10 19:56:17 +02:00
Miodrag Milanovic
4bcbe977ab Propagate design to widget 2018-06-10 18:33:39 +02:00
Miodrag Milanovic
67227847e5 Pass design to gui, display chip name 2018-06-10 18:25:23 +02:00
Miodrag Milanovic
e7ff22ce90 clang format for gui related files 2018-06-06 22:53:52 +02:00
David Shah
bdd9313582 Allow loading and running Python files before GUI starts
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-07 08:56:54 +02:00
Miodrag Milanovic
7cb42f4368 Initial GUI work 2018-06-05 21:03:06 +02:00