Commit Graph

114 Commits

Author SHA1 Message Date
Lofty 2c8ad5fa1d Fix a renamed Qt item 2024-01-04 17:32:56 +01:00
gatecat 4a4025192a run clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
2023-12-26 09:54:34 +01:00
Miodrag Milanovic 1ec8e411d7 set render bound box, so grid is displayed 2023-11-23 08:21:26 +01:00
YRabbit 22e4081c73 gowin: Add GUI.
* 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>
2022-01-29 14:45:17 +10:00
gatecat 2ffb081442 Fixing old emails and names in copyrights
Signed-off-by: gatecat <gatecat@ds0.me>
2021-06-12 13:22:38 +01:00
gatecat 2bef7b5f7b clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
2021-06-01 17:10:40 +01:00
Miodrag Milanovic 473723b24a Fix hidpi, fixes #167, fixes #275, fixes #425 2021-05-31 16:20:43 +02:00
D. Shah 9388df19d3 refactor: Replace getXName().c_str(ctx) with ctx->nameOfX
This makes the ongoing migration to IdStringList easier.

Signed-off-by: D. Shah <dave@ds0.me>
2021-02-02 17:00:14 +00:00
D. Shah 94e8847d67 cleanup: Spelling fixes
Signed-off-by: D. Shah <dave@ds0.me>
2021-01-28 15:19:06 +00:00
Miodrag Milanovic 93228f78d7 old boost support 2020-04-20 13:59:47 +02:00
Miodrag Milanovic 0bf8fa23d9 Skip same frames 2020-01-11 15:48:43 +01:00
Miodrag Milanovic 3f439c1ef2 Enable screenshot and recording feature 2020-01-05 13:51:12 +01:00
Miodrag Milanovic d399346de0 Add options to enable/disable displayed elements 2019-12-20 15:25:10 +01:00
Miodrag Milanović 0d1c7118e3
Merge pull request #169 from ajeakins/master
Fix device view not showing anything on macOS.
2019-05-23 23:53:52 -07:00
David Shah 23f2fff1c8 clangformat
Signed-off-by: David Shah <dave@ds0.me>
2019-03-22 10:39:05 +00:00
David Shah 97993e76ea gui/fpgaviewwidget: Make background opaque
Signed-off-by: David Shah <dave@ds0.me>
2019-03-12 14:03:28 +00:00
Sylvain Munaut 9539f57c74 gui: Allow shift+drag to move around the view
right & middle clight are really inconvenient when working with a touchpad
in tap-to-click mode

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-02-22 12:31:23 +01:00
Miodrag Milanovic bfc96cc962 Better resize, FPGAViewWidget minimal is now 320x200, fixes #222 2019-02-07 17:42:14 +01:00
Adrian Jeakins 3cdd83a3be Remove format versioning now this is set at the top level application. 2018-12-20 22:21:10 +00:00
David Shah 9c52afcf5f clangformat
Signed-off-by: David Shah <dave@ds0.me>
2018-11-16 13:25:51 +00:00
Miodrag Milanovic 7bd542ecbe Make zoom in/out always display content 2018-11-12 10:06:04 +01:00
Miodrag Milanovic 3cfdb4e0c1 Sorted out zoomout, works for all now 2018-11-11 09:04:20 +01:00
Miodrag Milanovic cb6baa0f6a Update grid properly 2018-10-27 12:02:01 +02:00
Miodrag Milanovic d08fe2109d clangformat 2018-10-27 12:02:01 +02:00
Miodrag Milanovic 7386004c60 make grid cover device only, do not zoom in if there are no elements 2018-10-27 12:02:01 +02:00
Miodrag Milanovic d7614d3d2b fix edge case 2018-10-27 10:21:29 +02:00
Miodrag Milanovic 455e90b123 No gain in optimizing this, but lead to wrong display 2018-10-26 17:53:07 +02:00
Miodrag Milanović 757dcd2a52
Merge pull request #96 from YosysHQ/imgui
Imgui integration
2018-10-26 17:27:47 +02:00
Miodrag Milanovic 40a8e17db6 update last_render in case of change of any element, not just number of them
optimize for hover/select/highlight where number matters
2018-10-26 09:59:42 +02:00
Miodrag Milanovic f01a02be9a proper update of empty decal 2018-10-25 20:33:14 +02:00
Miodrag Milanovic 62a615a17d Fix tooltip position when doing screenshot 2018-10-24 20:50:38 +02:00
Miodrag Milanovic 85c56f4246 Added cell and net info in hint 2018-10-24 19:12:56 +02:00
Miodrag Milanovic c2dfe6ef8e Fix propagating events 2018-10-24 19:03:25 +02:00
Miodrag Milanovic 36920e68ed Display hint on mouse over 2018-10-24 19:03:25 +02:00
Miodrag Milanovic e2e9db52a2 dummy imgui processing 2018-10-24 19:03:25 +02:00
Mateusz Zalega d03291eeb1 gui: improved FPGAViewWidget::paintGL() performance
Profiling revealed that memcpy() in QOpenGLBuffer::allocate() had been taking
the most time during paintGL() calls. I've been able to take the CPU usage
down to about 1/4 of its previous values by caching elements in VBOs and
updating them only after subsequent calls to renderGraphicElement().

Signed-off-by: Mateusz Zalega <mateusz@appliedsourcery.com>
2018-10-23 15:43:51 +02:00
Miodrag Milanovic 529a595157 Recalculate max zoom level depending of arch 2018-10-14 12:40:19 +02:00
Miodrag Milanovic ad84df7974 Hover on items in tree 2018-08-22 17:38:42 +02:00
Miodrag Milanovic 4cc49ef6e3 Fix hover when cursor leaves view, fixes #63 2018-08-22 11:54:08 +02:00
Serge Bazanski f3fac0b0ef gui: fix #57 2018-08-19 23:39:27 +01:00
Miodrag Milanovic a6d702d85d fix zoom on elements, fixes #61 2018-08-19 20:54:41 +02:00
Sergiusz Bazanski 1f787c37a3 gui: fix zoom outbound not happening with fast startup time 2018-08-01 03:55:28 +01: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 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 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