aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix clangformat and execute itMiodrag Milanovic2020-06-271-12/+8
|
* Simplify and improve chipdb embedding/loading.whitequark2020-06-261-49/+33
|
* CMake: rewrite chipdb handling from ground up.whitequark2020-06-251-2/+2
|
* Port nextpnr-{ice40,ecp5} to WASI.whitequark2020-05-231-2/+3
| | | | | | | | | | | | | | | | | | | | | This involves very few changes, all typical to WASM ports: * WASM doesn't currently support threads or atomics so those are disabled. * WASM doesn't currently support exceptions so the exception machinery is stubbed out. * WASM doesn't (and can't) have mmap(), so an emulation library is used. That library currently doesn't support MAP_SHARED flags, so MAP_PRIVATE is used instead. There is also an update to bring ECP5 bbasm CMake rules to parity with iCE40 ones, since although it is possible to embed chipdb into nextpnr on WASM, a 200 MB WASM file has very few practical uses. The README is not updated and there is no included toolchain file because at the moment it's not possible to build nextpnr with upstream boost and wasi-libc. Boost requires a patch (merged, will be available in boost 1.74.0), wasi-libc requires a few unmerged patches.
* ecp5: MULT18X18D timing fixesDavid Shah2020-05-011-10/+26
| | | | Signed-off-by: David Shah <dave@ds0.me>
* No cell delay for clocked MULT18X18DRoss Schlaikjer2020-04-301-0/+2
|
* Issue warning for mixed-mode inputsRoss Schlaikjer2020-04-291-24/+11
|
* Handle register timing caseRoss Schlaikjer2020-04-291-6/+58
|
* Use registered port class on mult18x18Ross Schlaikjer2020-04-291-3/+5
|
* Alter MULT18X18D timing db based on register configRoss Schlaikjer2020-04-281-1/+1
| | | | | | | | | | | | | | | If the REG_INPUTA_CLK and REG_INPUTB_CLK values are set, then we should use the faster setup/hold timings for the 18x8 multiplier. Similarly, check the value of REG_OUTPUT_CLK for whether or not to use faster timings for the output. This is based on how I currently understand the registers to work - if anyone knows the actual rules for when each timing applies please do chime in to correct this implementation if necessary. Along the same lines, this PR does not address the case when the pipeline registers are enabled, since it is not clear to me how exactly that affects the timing.
* Merge pull request #423 from rschlaikjer/rschlaikjer-regmode-timing-databaseDavid Shah2020-04-071-4/+2
|\ | | | | Add support for REGMODE to DP16KD
| * Actually just move all the logic to ArchInfoRoss Schlaikjer2020-04-071-15/+2
| |
| * Extract regmode configuration to ArchInfoRoss Schlaikjer2020-04-071-8/+4
| |
| * Change timing database lookup based on REGMODE valueRoss Schlaikjer2020-04-071-4/+19
| |
* | ecp5: Proper support for '12k' deviceDavid Shah2020-03-131-2/+7
|/ | | | Signed-off-by: David Shah <dave@ds0.me>
* router2: Improve flow and log outputDavid Shah2020-02-031-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Allow selection of router algorithmDavid Shah2020-02-031-2/+16
| | | | Signed-off-by: David Shah <dave@ds0.me>
* router2: Make magic numbers configurableDavid Shah2020-02-031-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ecp5: Improve bounding box accuracyDavid Shah2020-02-031-4/+19
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ecp5: router2 main renameDavid Shah2020-02-031-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ecp5: Router2 test integrationDavid Shah2020-02-031-1/+38
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge remote-tracking branch 'origin/master' into mmicko/ecp5_guiMiodrag Milanovic2019-12-281-1/+11
|\
| * ecp5: Add an error for out-of-sync constids and bbaDavid Shah2019-10-261-0/+3
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
| * ecp5: Fix routing to shared DSP control inputsDavid Shah2019-10-251-1/+8
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | move bel creation to gfx.ccMiodrag Milanovic2019-12-151-122/+2
| |
* | fix formatingMiodrag Milanovic2019-12-141-2/+1
| |
* | more new wires addedMiodrag Milanovic2019-12-141-1/+10
| |
* | ebr, mult and alu nice displayMiodrag Milanovic2019-12-141-1/+1
| |
* | clangformat runMiodrag Milanovic2019-12-081-27/+30
| |
* | display IOs properlyMiodrag Milanovic2019-12-071-21/+5
| |
* | More bels show properlyMiodrag Milanovic2019-12-071-43/+82
| |
* | add dcca bels and dummy parts for other belsMiodrag Milanovic2019-12-071-9/+54
| |
* | more pips, and valid mappingMiodrag Milanovic2019-11-101-4/+4
| |
* | Draw some pips, fixed H6 and V6Miodrag Milanovic2019-11-091-1/+22
| |
* | Show V02/V06/H02/H06Miodrag Milanovic2019-10-251-1/+1
| |
* | Split graphics calls for wires into gfx.ccMiodrag Milanovic2019-10-201-268/+3
| |
* | muxes only together with slicesMiodrag Milanovic2019-10-201-9/+7
| |
* | Remove not used lineMiodrag Milanovic2019-10-201-2/+0
| |
* | Simplify layout of elementsMiodrag Milanovic2019-10-201-170/+114
| |
* | fix slice wireMiodrag Milanovic2019-10-201-20/+20
| |
* | bound signalsMiodrag Milanovic2019-10-201-0/+65
| |
* | more wires between switchboxesMiodrag Milanovic2019-10-201-1/+37
| |
* | Add more types of wiresMiodrag Milanovic2019-10-201-176/+191
| |
* | finixed slice wiresMiodrag Milanovic2019-10-201-0/+27
| |
* | wd wiresMiodrag Milanovic2019-10-201-1/+21
| |
* | Fix look of some wiresMiodrag Milanovic2019-10-201-6/+9
| |
* | Add output wiresMiodrag Milanovic2019-10-201-0/+35
| |
* | fix mux displayMiodrag Milanovic2019-10-201-2/+2
| |
* | set wire active flagMiodrag Milanovic2019-10-201-1/+1
| |
* | clk and lsr muxesMiodrag Milanovic2019-10-201-1/+62
| |