aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* machxo2: Make sure REGSET FF parameter is set in FACADE_SLICE. Init blinky ↵William D. Jones2021-02-122-1/+5
| | | | ctr to 0 for miter circuit.
* machxo2: Add LUT and FF packing functions.William D. Jones2021-02-123-5/+82
|
* machxo2: Always remove nextpnr_iobufs for now- assume manually instantiated ↵William D. Jones2021-02-122-1/+32
| | | | primitives.
* machxo2: Add constant packing implementation, fix bugs in create_machxo2_cell.William D. Jones2021-02-122-2/+73
|
* machxo2: Create basic cells for packing.William D. Jones2021-02-121-0/+104
|
* machxo2: Add initial set of constids for packing.William D. Jones2021-02-122-0/+111
|
* machxo2: Improve examples directory.William D. Jones2021-02-124-10/+23
|
* machxo2: synth directory (simulation, techmaps, synth script) is now ↵William D. Jones2021-02-123-103/+0
| | | | provided by yosys.
* machxo2: Stub out cells functions.William D. Jones2021-02-122-101/+8
|
* machxo2: Stub out arch API functions and members.William D. Jones2021-02-122-204/+70
|
* machxo2: Remove HeAP placer for now, fix typos.William D. Jones2021-02-121-25/+3
|
* machxo2: Remove generic packing.William D. Jones2021-02-122-253/+2
|
* machxo2: Start creating MachXO2CommandHandler.William D. Jones2021-02-125-33/+127
|
* machxo2: Remove generic API functions from Arch.William D. Jones2021-02-122-262/+0
|
* machxo2: Remove pybindings unneeded files from examples and update README.md ↵William D. Jones2021-02-1215-492/+17
| | | | and scripts accordingly. Delete resources directory.
* Update machxo2 backend with minimal build system changes so nextpnr compiles ↵William D. Jones2021-02-122-3/+13
| | | | again.
* Update machxo2 backend with build system changes.William D. Jones2021-02-126-116/+178
|
* Create sub import of facade DB for 1200 device.William D. Jones2021-02-123-0/+191
| | | | Signed-off-by: William D. Jones <thor0505@comcast.net>
* Create machxo2 backend (renamed from generic).gatecat2021-02-1227-3/+2304
| | | | Signed-off-by: William D. Jones <thor0505@comcast.net>
* Make BaseArch getDecalGraphics return an empty rangegatecat2021-02-122-2/+2
| | | | | | | Fix assertion failure when opening the GUI on an arch without any decals. Signed-off-by: gatecat <gatecat@ds0.me>
* Merge pull request #580 from litghost/add_design_loaded_state_variablegatecat2021-02-123-1/+8
|\ | | | | Add design_loaded state variable.
| * Add design_loaded state variable.Keith Rothman2021-02-113-1/+8
| | | | | | | | | | | | | | 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>
* | Merge pull request #581 from litghost/add_isbelhiddengatecat2021-02-1211-16/+30
|\ \ | |/ |/| Add getBelHidden and add some missing "override" statements.
| * Add getBelHidden and add some missing "override" statements.Keith Rothman2021-02-1111-16/+30
|/ | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Merge pull request #574 from YosysHQ/gatecat/belpin-1gatecat2021-02-104-37/+0
|\ | | | | Remove the unused CellInfo::pins field
| * Remove the unused CellInfo::pins fieldgatecat2021-02-104-37/+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>
* Merge pull request #573 from YosysHQ/gatecat/basearchrangesgatecat2021-02-095-49/+25
|\ | | | | Add BaseArchRanges for default ArchRanges types
| * Add BaseArchRanges for default ArchRanges typesgatecat2021-02-095-49/+25
| | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | Add nextpnr-gowin binary to gitignoregatecat2021-02-091-0/+1
|/ | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Merge pull request #568 from YosysHQ/dave/arch-overridegatecat2021-02-0820-1145/+1334
|\ | | | | Create a new BaseArch that formally specifies the Arch API and provides some base implementations
| * Make BaseCtx destructor virtualgatecat2021-02-081-1/+1
| | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
| * Update docs with API changesD. Shah2021-02-081-21/+160
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * interchange: Base on ArchAPID. Shah2021-02-082-106/+135
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * Use 'T' postfix to disambiguate LHS and RHS of usingD. Shah2021-02-086-147/+153
| | | | | | | | | | | | | | Arches might otherwise have range types named ambigiously with the entry in ArchRanges. Signed-off-by: D. Shah <dave@ds0.me>
| * Add archArgs and archArgsToId to Arch APID. Shah2021-02-057-11/+27
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * gowin: Switch to BaseArchD. Shah2021-02-052-150/+107
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * generic: Base upon ArchAPID. Shah2021-02-051-102/+132
| | | | | | | | | | | | | | As generic is often picked as our 'odd-one-out' we also use it as an example of an Arch that does not build upon BaseArch. Signed-off-by: D. Shah <dave@ds0.me>
| * nexus: Switch to BaseArchD. Shah2021-02-055-301/+103
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * ice40: Switch to BaseArchD. Shah2021-02-055-182/+115
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * Add pure-virtual ArchAPI interfaceD. Shah2021-02-051-104/+198
| | | | | | | | | | | | | | | | | | This splits out the pure-virtual definition of the architecture API into ArchAPI; leaving BaseArch to only provide default implementations (which can now be completely opted out of by deriving from ArchAPI instead of BaseArch). Signed-off-by: D. Shah <dave@ds0.me>
| * Rename ArchBase to BaseArch for consistency with BaseCtxD. Shah2021-02-053-7/+7
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * Add default implementation of bel bucket functionsD. Shah2021-02-055-88/+94
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * Add default implementation of some range-returning functionsD. Shah2021-02-052-17/+27
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * Add a few more functions to ArchBaseD. Shah2021-02-052-11/+18
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * ecp5: Use common wire/pip bindingD. Shah2021-02-052-83/+7
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * Fix now-illegal use of reinterpret_castD. Shah2021-02-051-3/+5
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * nextpnr: Example of shared wire/bel/pip binding codeD. Shah2021-02-051-13/+106
| | | | | | | | | | | | Currently not actually being tested Signed-off-by: D. Shah <dave@ds0.me>
| * nextpnr: Use templates to specify range typesD. Shah2021-02-052-18/+67
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * nextpnr: Add base virtual functions for non-range Arch APID. Shah2021-02-052-84/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | This makes the Arch API clearer and also allows a base implementation of functions to reduce the amount of complexity to get a basic Arch up and running. Currently this only implements these for functions that don't return a range. Range-returning functions will require more work in order due to the current 'duck typing' approach (probably a struct that contains the range types combined with templating.) Signed-off-by: D. Shah <dave@ds0.me>
* | Update prjoxide URLD. Shah2021-02-082-4/+4
| | | | | | | | Signed-off-by: D. Shah <gatecat@ds0.me>