aboutsummaryrefslogtreecommitdiffstats
path: root/gui
Commit message (Collapse)AuthorAgeFilesLines
* fix identationYRabbit2022-03-141-4/+4
| | | | Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
* gowin: BUGFIX temporarily disable the budgetYRabbit2022-03-141-0/+5
| | | | Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
* gowin: Add GUI.YRabbit2022-01-296-40/+124
| | | | | | | | | | | | | | | * 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>
* mistral: Add 'tools' dir to include pathgatecat2021-12-111-1/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* mistral: Include mistral generated files in include dirsgatecat2021-08-151-1/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* gui: Fix some typosgatecat2021-07-252-5/+5
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* gui: Implement about dialoggatecat2021-07-253-0/+14
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* gui: Improve Fatal Error messagegatecat2021-07-201-11/+57
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Preserve ArchArgs and reinit Context when applicable in GUIMiodrag Milanovic2021-06-301-1/+6
|
* loading json should be disabled in this placeMiodrag Milanovic2021-06-301-1/+1
|
* Fixing old emails and names in copyrightsgatecat2021-06-1237-43/+43
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* gui: Don't destroy context when loading JSONgatecat2021-06-071-2/+2
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* mistral: Fix include path in GUI cmake, toogatecat2021-06-071-1/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Remove redundant code after hashlib movegatecat2021-06-021-4/+0
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Use hashlib in most remaining codegatecat2021-06-022-3/+3
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* clangformatgatecat2021-06-011-1/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Fix hidpi, fixes #167, fixes #275, fixes #425Miodrag Milanovic2021-05-311-3/+6
|
* mistral: Python and GUI stubgatecat2021-05-154-0/+138
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Hash table refactoringgatecat2021-04-141-0/+5
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* 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
|