Commit Graph

31 Commits

Author SHA1 Message Date
Catherine
155adc3f5d CMake: rationalize and refactor build system.
The two main changes, done together in this commit, are:
* Eliminating most instances of `aux_source_directory()`, replacing
  them with explicit file listings; and
* Moving these file listings into respective subdirectories by
  representing respective nextpnr components as interface libraries.

In addition, the GUI CMake script tree was simplified since it had
a lot of unused/redundant code.

The `aux_source_directory()` command is not recommended for use by
CMake itself because it misses dependency changes when adding/removing
files, and consequently causes build failures requiring a clean rebuild.

This commit does not touch anything related to architectures/families,
which are very complex and redundant all on their own.
2025-01-16 11:36:44 +01:00
Miodrag Milanovic
e3f4578b3b CRLF -> LF eol 2023-11-23 09:22:07 +01: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
D. Shah
f05d024666 ecp5: Use snake case for arch-specific functions
This makes the difference clearer between the general arch API that
everyone must implement; and helper functions specific to one arch.

Signed-off-by: D. Shah <dave@ds0.me>
2021-02-03 10:53:08 +00:00
Miodrag Milanovic
717bcfa19e Preserve cmd parameters when loading json from GUI 2020-09-04 17:14:30 +02:00
whitequark
89e0cc8078 Simplify and improve chipdb embedding/loading. 2020-06-26 08:36:07 +00:00
Miodrag Milanovic
be47fc3e9a clangformat run 2019-06-25 18:19:25 +02:00
Miodrag Milanovic
66ea9f39f7 enable lading of jsons and setting up context 2019-06-14 15:18:35 +02:00
Miodrag Milanovic
aca372de99 fix title 2019-06-14 13:33:20 +02:00
Miodrag Milanovic
903391a9e4 Remove base config, since deprecated 2019-06-14 13:02:15 +02:00
Miodrag Milanovic
0d8c80ad5d gui for json write and proper statuses 2019-06-14 11:14:18 +02:00
Miodrag Milanovic
053bd48bef Cleanup 2019-06-14 10:07:59 +02:00
David Shah
9c52afcf5f clangformat
Signed-off-by: David Shah <dave@ds0.me>
2018-11-16 13:25:51 +00:00
Miodrag Milanovic
636a03d71e Fix method override in gui 2018-11-05 08:56:01 +01:00
Miodrag Milanovic
27fcaf50d2 Fix lpf button action 2018-11-03 10:03:27 +01:00
Miodrag Milanovic
aed04ae6f2 Added image generator and regenerate icons 2018-11-03 10:02:53 +01:00
Miodrag Milanovic
a0e79c993f Added LPF support and all chip models available for select 2018-11-03 09:39:43 +01:00
Miodrag Milanovic
5dd7a74b87 Make loading works nice and use settings 2018-08-08 21:15:54 +02:00
Miodrag Milanovic
61bce47f3c Use settings for json and pcf 2018-08-08 20:14:18 +02:00
Miodrag Milanovic
fc0131ceb0 cleanup 2018-08-08 18:41:30 +02:00
Miodrag Milanovic
fc5cee6fb8 clangformat 2018-08-08 18:17:34 +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
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
4fa0c81ed7 Move common logic to basewindow 2018-08-02 18:50:08 +02:00
Miodrag Milanovic
b55ccc12f0 add graphics toolbar to all targets 2018-07-31 17:40:19 +02:00
Miodrag Milanovic
8e54ac1542 Use command line parameters settings for GUI as well. 2018-07-13 09:14:48 +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