William D. Jones
bbc683dd75
machxo2: Implement all of Bel API except getBelPinWire.
2021-02-12 10:36:59 +00:00
William D. Jones
138519d820
machxo2: Fix place phase segfault. Placement suceeds with warning of no clock.
2021-02-12 10:36:59 +00:00
William D. Jones
8a94a3451f
machxo2: Stub valid BEL functions with comment. Place phase segfaults.
2021-02-12 10:36:59 +00:00
William D. Jones
5f748272fc
machxo2: Implement bel_to_cell and API functions using it.
2021-02-12 10:36:59 +00:00
William D. Jones
682de724a8
machxo2: Implement 2 Bel API functions.
2021-02-12 10:36:59 +00:00
William D. Jones
3e6be4bbfd
machxo2: Implement General Methods.
2021-02-12 10:36:59 +00:00
William D. Jones
094233a4ab
machxo2: Implement getBelLocation to stop std::out_of_range in place phase.
2021-02-12 10:36:59 +00:00
William D. Jones
52b424c385
machxo2: Convert uint_t to int_t in packed structs.
2021-02-12 10:36:59 +00:00
William D. Jones
dc07054ee8
machxo2: Implement functions to get device utilization (throws std::out_of_range during place phase).
2021-02-12 10:36:59 +00:00
William D. Jones
ec4a9685ab
machxo2: Initialize Arch context with device type and package.
2021-02-12 10:36:59 +00:00
William D. Jones
6f6aaa4a97
machxo2: Add binary blob struct definitions.
2021-02-12 10:36:59 +00:00
William D. Jones
a3a3a91b72
machxo2: Clean up packing pass a bit.
2021-02-12 10:36:59 +00:00
William D. Jones
c5292e0db5
machxo2: Finalize (hopefully) facade_import for prototype.
2021-02-12 10:36:59 +00:00
William D. Jones
3d287adbcf
machxo2: Add package/IO info to facade_import.
2021-02-12 10:36:59 +00:00
William D. Jones
b739513894
machxo2: Import constids and BELs into facade_import.
2021-02-12 10:36:59 +00:00
William D. Jones
dfedef5772
machxo2: Add pip and wire info into facade_import.
2021-02-12 10:36:59 +00:00
William D. Jones
e0b14ba98e
machxo2: Begin populating binary blob via facade_import.
2021-02-12 10:36:59 +00:00
William D. Jones
6ce2edc2f1
machxo2: Add SMT mode to mitertest.sh
2021-02-12 10:36:59 +00:00
William D. Jones
4f042eac53
machxo2: Rework examples to test pack, place, and route phases.
2021-02-12 10:36:59 +00:00
William D. Jones
5838662b2f
machxo2: Make sure REGSET FF parameter is set in FACADE_SLICE. Init blinky ctr to 0 for miter circuit.
2021-02-12 10:36:59 +00:00
William D. Jones
da6204442f
machxo2: Add LUT and FF packing functions.
2021-02-12 10:36:59 +00:00
William D. Jones
f2a240550e
machxo2: Always remove nextpnr_iobufs for now- assume manually instantiated primitives.
2021-02-12 10:36:59 +00:00
William D. Jones
42214b226f
machxo2: Add constant packing implementation, fix bugs in create_machxo2_cell.
2021-02-12 10:36:59 +00:00
William D. Jones
3424badeff
machxo2: Create basic cells for packing.
2021-02-12 10:36:59 +00:00
William D. Jones
5c30f95c42
machxo2: Add initial set of constids for packing.
2021-02-12 10:36:59 +00:00
William D. Jones
1cde40792f
machxo2: Improve examples directory.
2021-02-12 10:36:59 +00:00
William D. Jones
ade94efbff
machxo2: synth directory (simulation, techmaps, synth script) is now provided by yosys.
2021-02-12 10:36:59 +00:00
William D. Jones
59efba2fc0
machxo2: Stub out cells functions.
2021-02-12 10:36:59 +00:00
William D. Jones
88b7dfce58
machxo2: Stub out arch API functions and members.
2021-02-12 10:36:59 +00:00
William D. Jones
e5576448ea
machxo2: Remove HeAP placer for now, fix typos.
2021-02-12 10:36:59 +00:00
William D. Jones
512daf2c89
machxo2: Remove generic packing.
2021-02-12 10:36:59 +00:00
William D. Jones
9704f422dc
machxo2: Start creating MachXO2CommandHandler.
2021-02-12 10:36:59 +00:00
William D. Jones
98214865be
machxo2: Remove generic API functions from Arch.
2021-02-12 10:36:59 +00:00
William D. Jones
78880e1fdf
machxo2: Remove pybindings unneeded files from examples and update README.md and scripts accordingly. Delete resources directory.
2021-02-12 10:36:59 +00:00
William D. Jones
539651609c
Update machxo2 backend with minimal build system changes so nextpnr compiles again.
2021-02-12 10:36:59 +00:00
William D. Jones
c38762f91f
Update machxo2 backend with build system changes.
2021-02-12 10:36:59 +00:00
William D. Jones
81d6bc3614
Create sub import of facade DB for 1200 device.
...
Signed-off-by: William D. Jones <thor0505@comcast.net>
2021-02-12 10:36:59 +00:00
gatecat
510969ab97
Create machxo2 backend (renamed from generic).
...
Signed-off-by: William D. Jones <thor0505@comcast.net>
2021-02-12 10:36:59 +00:00
gatecat
c956cae824
Make BaseArch getDecalGraphics return an empty range
...
Fix assertion failure when opening the GUI on an arch without any
decals.
Signed-off-by: gatecat <gatecat@ds0.me>
2021-02-12 10:35:51 +00:00
gatecat
ad7bb51030
Merge pull request #580 from litghost/add_design_loaded_state_variable
...
Add design_loaded state variable.
2021-02-12 09:54:15 +00:00
gatecat
5dfbe703ae
Merge pull request #581 from litghost/add_isbelhidden
...
Add getBelHidden and add some missing "override" statements.
2021-02-12 09:53:50 +00:00
Keith Rothman
99e397000c
Add getBelHidden and add some missing "override" statements.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2021-02-11 14:58:02 -08:00
Keith Rothman
96293ab25e
Add design_loaded state variable.
...
This is to decouple the command line flag "--json" and enable other
frontend's.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2021-02-11 13:43:23 -08:00
gatecat
e376f950fe
Merge pull request #574 from YosysHQ/gatecat/belpin-1
...
Remove the unused CellInfo::pins field
2021-02-10 11:27:11 +00:00
gatecat
6bd3dba1e3
Remove the unused CellInfo::pins field
...
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>
2021-02-10 10:42:26 +00:00
gatecat
f67d474edc
Merge pull request #573 from YosysHQ/gatecat/basearchranges
...
Add BaseArchRanges for default ArchRanges types
2021-02-09 11:30:23 +00:00
gatecat
11db5a2f1d
Add BaseArchRanges for default ArchRanges types
...
Signed-off-by: gatecat <gatecat@ds0.me>
2021-02-09 10:39:14 +00:00
gatecat
1febb80a1e
Add nextpnr-gowin binary to gitignore
...
Signed-off-by: gatecat <gatecat@ds0.me>
2021-02-09 10:36:03 +00:00
gatecat
bcf81f0e71
Merge pull request #568 from YosysHQ/dave/arch-override
...
Create a new BaseArch that formally specifies the Arch API and provides some base implementations
2021-02-08 17:56:08 +00:00
gatecat
2932dc3985
Make BaseCtx destructor virtual
...
Signed-off-by: gatecat <gatecat@ds0.me>
2021-02-08 17:03:22 +00:00