aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/fasm.cc
Commit message (Collapse)AuthorAgeFilesLines
* nexus: Fix some IO FASM gengatecat2021-03-301-0/+4
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* nexus: Fix LIFCL-17 LRAM FASMgatecat2021-03-301-0/+2
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* nexus: Fix default IO configgatecat2021-03-291-0/+2
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Merge pull request #651 from YosysHQ/gatecat/nexus-vccogatecat2021-03-291-3/+51
|\ | | | | nexus: Fix bank Vcco FASM
| * nexus: Fix bank Vcco FASMgatecat2021-03-291-3/+51
| | | | | | | | Signed-off-by: gatecat <gatecat@ds0.me>
* | nexus: Default HF_OSC_EN to ENABLEDgatecat2021-03-291-1/+1
|/ | | | Signed-off-by: gatecat <gatecat@ds0.me>
* nexus: Fix FASM gen for LIFCL-17gatecat2021-03-261-1/+4
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Split nextpnr.h to allow for linear inclusion.Keith Rothman2021-03-151-0/+1
| | | | | | | | | | | | | | | | | | | "nextpnr.h" is no longer the god header. Important improvements: - Functions in log.h can be used without including BaseCtx/Arch/Context. This means that log_X functions can be called without included "nextpnr.h" - NPNR_ASSERT can be used without including "nextpnr.h" by including "nextpnr_assertions.h". This allows NPNR_ASSERT to be used safely in any header file. - Types defined in "archdefs.h" are now available without including BaseCtx/Arch/Context. This means that utility classes that will be used inside of BaseCtx/Arch/Context can be defined safely in a self-contained header. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* nexus: Support for hard DPHYgatecat2021-03-081-0/+32
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Mark IdString and IdStringList single argument constructors explicit.Keith Rothman2021-02-041-6/+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>
* Make RelSlice uncopyableD. Shah2021-01-271-1/+1
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* nexus: Switch from RelPtr to RelSliceD. Shah2021-01-271-4/+4
| | | | | | | | | | 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>
* nexus: Add support for initialised LRAMDavid Shah2020-12-071-1/+23
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add basic LRAM support (no init)David Shah2020-12-021-0/+18
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add PLL supportDavid Shah2020-12-021-0/+56
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Larger DSP tweaksDavid Shah2020-11-301-1/+7
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Support for unclocked 9x9 multipliesDavid Shah2020-11-301-0/+25
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Basic support for carriesDavid Shah2020-11-301-3/+3
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Basic support for differential IO typesDavid Shah2020-11-301-3/+86
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: EBR fixesDavid Shah2020-11-301-4/+5
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: EBR FASM generationDavid Shah2020-11-301-0/+78
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: LUTRAM supportDavid Shah2020-11-301-0/+13
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Generate FASM files that can be used standaloneDavid Shah2020-11-301-6/+96
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add constant/inversion packingDavid Shah2020-11-301-5/+42
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: More pin styles and FASM pinmux genDavid Shah2020-11-301-0/+24
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Refactor cell pin style dbDavid Shah2020-11-301-4/+0
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Tidy up FASM backendDavid Shah2020-11-301-9/+32
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Use tilegroups for IO bitgenDavid Shah2020-11-301-2/+13
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add IO packingDavid Shah2020-11-301-6/+21
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Updates and fixesDavid Shah2020-11-301-0/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Support Lattice-style parametersDavid Shah2020-11-301-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add oscillator supportDavid Shah2020-11-301-0/+15
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add SEIO18 supportDavid Shah2020-11-301-0/+19
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Fix FF namingDavid Shah2020-11-301-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus/fasm: Fix SLICE letteringDavid Shah2020-11-301-2/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: FixesDavid Shah2020-11-301-3/+6
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Minimal IO FASM outputDavid Shah2020-11-301-0/+26
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add FASM export for comb logic and FFsDavid Shah2020-11-301-0/+60
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add routing FASM exportDavid Shah2020-11-301-0/+143
Signed-off-by: David Shah <dave@ds0.me>