aboutsummaryrefslogtreecommitdiffstats
path: root/gui
Commit message (Collapse)AuthorAgeFilesLines
* Fixup GUI link dependencies on headers from libraries.Keith Rothman2021-03-181-0/+4
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Fix compiler warnings introduced by -Wextragatecat2021-02-253-5/+5
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Replace DelayInfo with DelayPair/DelayQuadgatecat2021-02-191-6/+6
| | | | | | | | | | | | | | | | | This replaces the arch-specific DelayInfo structure with new DelayPair (min/max only) and DelayQuad (min/max for both rise and fall) structures that form part of common code. This further reduces the amount of arch-specific code; and also provides useful data structures for timing analysis which will need to delay with pairs/quads of delays as it is improved. While there may be a small performance cost to arches that didn't separate the rise/fall cases (arches that aren't currently separating the min/max cases just need to be fixed...) in DelayInfo, my expectation is that inlining will mean this doesn't make much difference. Signed-off-by: gatecat <gatecat@ds0.me>
* machxo2: Python bindings and stub GUIgatecat2021-02-124-0/+158
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Remove the unused CellInfo::pins fieldgatecat2021-02-101-12/+0
| | | | | | | | | | | No arches ever actually used this to implement a Cell->Bel pin mapping, and in practice if any did try they would inevitably hit bitrot. This field had limited use in practice as it is necessary to also support cases where one cell pin maps to more than one bel pin. Removing this old field is the first step towards developing a new API for this. Signed-off-by: gatecat <gatecat@ds0.me>
* Update copywrite headers.Keith Rothman2021-02-042-0/+2
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Add initial GUI files.Keith Rothman2021-02-044-0/+96
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Mark IdString and IdStringList single argument constructors explicit.Keith Rothman2021-02-041-4/+6
| | | | | | | | | Single argument constructors will silently convert to that type. This is typically not the right thing to do. For example, the nexus and ice40 arch_pybindings.h files were incorrectly parsing bel name strings, etc. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* ecp5: Use snake case for arch-specific functionsD. Shah2021-02-031-11/+11
| | | | | | | 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>
* ice40: Use snake case for arch-specific functionsD. Shah2021-02-031-13/+13
| | | | | | | 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>
* Refactor GUI to use IdStringListsD. Shah2021-02-024-51/+50
| | | | | | | | The GUI internally had an 'IdStringList' type that I hadn't spotted, to avoid a conflict this is renamed to IdList which also reflects its new purpose better. Signed-off-by: D. Shah <dave@ds0.me>
* refactor: Replace getXName().c_str(ctx) with ctx->nameOfXD. Shah2021-02-022-16/+14
| | | | | | This makes the ongoing migration to IdStringList easier. Signed-off-by: D. Shah <dave@ds0.me>
* cleanup: Spelling fixesD. Shah2021-01-284-9/+9
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* ice40: Switch from RelPtr to RelSliceD. Shah2021-01-271-1/+1
| | | | | | | | | | This replaces RelPtrs and a separate length field with a Rust-style slice containing both a pointer and a length; with bounds checking always enforced. Thus iterating over these structures is both cleaner and safer. Signed-off-by: D. Shah <dave@ds0.me>
* Gowin target (#542)Pepijn de Vos2020-12-304-0/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * load wires * add slice bels * add IOB * add aliases * local aliases * broken packing stuff * working packer * add constraints * pnr runs1111 * add timing info * constraints * more constraint stuff * add copyright * remove generic reference * remove parameters * remove generic python api * add newline to end of file * some small refactoring * warn on invalid constraints * don't error on missing cell * comment out debugging print * typo * avoid copy * faster empty idstring * remove intermediate variable * no more deadnames * fix cst warnings * increase ripup and epsilon a bit * take single device parameter * add info to readme * gui stubs * Revert 4d03b681a8634e978bd5af73c97665500047e055 * assign ff_used in assignArchInfo * decrease beta for better routability * try to fix CI
* nexus: Add stub GUIDavid Shah2020-11-304-0/+138
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Python code cleanupMiodrag Milanovic2020-11-141-2/+1
|
* Preserve cmd parameters when loading json from GUIMiodrag Milanovic2020-09-042-0/+2
|
* Use proper names in GUIMiodrag Milanovic2020-07-081-12/+12
|
* Support rest of partsMiodrag Milanovic2020-07-081-0/+6
|
* Adding LP4K as wellMiodrag Milanovic2020-07-081-0/+2
|
* Support 4K parts directlyMiodrag Milanovic2020-07-081-0/+2
|
* Fix assert, check should be other way arroundMiodrag Milanovic2020-07-061-1/+1
|
* Simplify and improve chipdb embedding/loading.whitequark2020-06-263-80/+42
|
* old boost supportMiodrag Milanovic2020-04-201-2/+2
|
* cleanupMiodrag Milanovic2020-02-281-1/+1
|
* Add support for pasting multiline code to pythonMiodrag Milanovic2020-02-282-6/+25
|
* gui: Fix sorting order in TreeModel.Vegard Storheil Eriksen2020-02-281-8/+3
|
* gui: Fix undefined behavior in TreeModel.Vegard Storheil Eriksen2020-02-281-1/+1
| | | | | | std::sort() requires the comparison function to return false for even comparison. Returning true results in undefined behavior and a potential segfault.
* Add SVG option to guiMiodrag Milanovic2020-02-274-0/+30
|
* Various warning fixesMiodrag Milanovic2020-01-181-1/+1
|
* Skip same framesMiodrag Milanovic2020-01-113-13/+24
|
* Enable screenshot and recording featureMiodrag Milanovic2020-01-057-2/+102
|
* Merge remote-tracking branch 'origin/master' into mmicko/ecp5_guiMiodrag Milanovic2019-12-282-2/+0
|\
| * json: Remove legacy frontendDavid Shah2019-12-272-2/+0
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Add options to enable/disable displayed elementsMiodrag Milanovic2019-12-209-16/+105
| |
* | clangformat runMiodrag Milanovic2019-12-081-1/+1
| |
* | Add more zoomMiodrag Milanovic2019-10-201-1/+1
|/
* Major Property improvements for common and iCE40David Shah2019-08-051-3/+6
| | | | Signed-off-by: David Shah <dave@ds0.me>
* add newlineMiodrag Milanovic2019-06-281-1/+1
|
* clangformat runMiodrag Milanovic2019-06-254-17/+18
|
* Merge masterMiodrag Milanovic2019-06-251-2/+2
|\
| * clangformatDavid Shah2019-06-241-2/+2
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | moved some context variables to settingsMiodrag Milanovic2019-06-151-2/+2
| |
* | enable lading of jsons and setting up contextMiodrag Milanovic2019-06-148-33/+24
| |
* | fix titleMiodrag Milanovic2019-06-142-3/+1
| |
* | Remove base config, since deprecatedMiodrag Milanovic2019-06-142-32/+1
| |
* | gui for json write and proper statusesMiodrag Milanovic2019-06-149-34/+81
| |
* | CleanupMiodrag Milanovic2019-06-147-16/+1
| |
* | Remove concept of project and code connectedMiodrag Milanovic2019-06-132-84/+0
|/