Commit Graph

417 Commits

Author SHA1 Message Date
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