Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ice40: Add support for SB_GB_IO | Sylvain Munaut | 2018-11-19 | 5 | -8/+31 |
| | | | | | | | | | | During packing we replace them by standard SB_IO cells and create the 'fake' SB_GB that matches that IO site global buffer connection. It's done in a separate pass because we need to make sure the nextpnr iob have been dealt first so we have our final Bel location on the SB_IO. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40: Add support for PLL global outputs via PADIN | Sylvain Munaut | 2018-11-19 | 2 | -84/+73 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40: Introduce the concept of forPadIn SB_GB | Sylvain Munaut | 2018-11-19 | 5 | -2/+53 |
| | | | | | | | | | | | | | | Those are cells that are created mainly to handle the various sources a global network can be driven from other than a user net. When the flag is set, this means the global network usually driven by this BEL is in fact driven by something else and so that SB_GB BEL and matching global network can't be used. This is also what gets used to set the extra bits during bitstream generation. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40/chipdb: Add wires to global network for all cells that can drive it | Sylvain Munaut | 2018-11-19 | 3 | -6/+22 |
| | | | | | | | | The icebox DB is a bit inconsistent in how global network connections are represented. Here we make it appear consistent by creating ports on the cells that can drive it. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40: Add GlobalNetowkrInfo in the chip database | Sylvain Munaut | 2018-11-19 | 2 | -37/+63 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40: Fix BEL validity check for PLL vs SB_IO | Sylvain Munaut | 2018-11-19 | 1 | -21/+20 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40: Improve the is_sb_pll40_XXX predicates collection | Sylvain Munaut | 2018-11-19 | 1 | -1/+13 |
| | | | | | | | | | - Add a test for dual output PLL variant - Make them handle the packet version of the cell This will become useful for various tests during PLL rework Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40: Fix PLLTYPE for SB_PLL40_2F_PAD | Sylvain Munaut | 2018-11-19 | 1 | -1/+1 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40/pll: Add proper support for PLLOUT_SELECT_xxx attributes | Sylvain Munaut | 2018-11-19 | 1 | -0/+18 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40: Make PLL default FEEDBACK_MODE to SIMPLE | Sylvain Munaut | 2018-11-19 | 1 | -1/+1 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40: Minor fix in predicate checking for logic port | Sylvain Munaut | 2018-11-19 | 1 | -2/+3 |
| | | | | | | | - is_sb_pll40 covers all the PLL types - Use helper to test for gbuf Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40/pack: Stop looking for BEL when we have one during PLL placement | Sylvain Munaut | 2018-11-19 | 1 | -0/+1 |
| | | | | | | | Ideally we should first process all the PLL that are constrained somehow (either explicitely or because they are PAD) and then free place the rest. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40/pack: Allow PLL to be constrained via 'BEL' attributes | Sylvain Munaut | 2018-11-19 | 1 | -0/+10 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40/pack: Make sure we don't use a LOCKED bel when placing PLL | Sylvain Munaut | 2018-11-19 | 1 | -0/+2 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40/arch: Add helper to check if a BEL is LOCKED or not | Sylvain Munaut | 2018-11-19 | 2 | -0/+21 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40/chipdb: Fix LOCKED keyword support to include all packages | Sylvain Munaut | 2018-11-19 | 1 | -1/+2 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | ice40/bitstream: Handle IoCtrl.IE_ polarity when configuring unused SB_IO | Sylvain Munaut | 2018-11-19 | 1 | -2/+7 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | Merge pull request #124 from smunaut/ice40_warn_sbio_misuse | David Shah | 2018-11-16 | 1 | -0/+5 |
|\ | | | | | ice40: Add warning if an instanciated SB_IO has its PACKAGE_PIN used elsewhere | ||||
| * | ice40: Add warning if an instanciated SB_IO has its PACKAGE_PIN used elsewhere | Sylvain Munaut | 2018-11-16 | 1 | -0/+5 |
|/ | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | Merge pull request #123 from smunaut/ice40_fix_line_endings | David Shah | 2018-11-16 | 1 | -1043/+1043 |
|\ | | | | | ice40/bitstream: Convert to UNIX line endings | ||||
| * | ice40/bitstream: Convert to UNIX line endings | Sylvain Munaut | 2018-11-16 | 1 | -1043/+1043 |
|/ | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | clangformat | David Shah | 2018-11-16 | 13 | -296/+463 |
| | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | ice40: Remove unnecessary RAM assertion | David Shah | 2018-11-16 | 1 | -1/+0 |
| | | | | | | Fixes #121 Signed-off-by: David Shah <dave@ds0.me> | ||||
* | Merge pull request #119 from cr1901/win-fix | David Shah | 2018-11-16 | 4 | -2/+6 |
|\ | | | | | nextpnr-ecp5 Windows Fixes | ||||
| * | Use native PATH environment-variable separator on Windows for PYTHONPATH. ↵ | William D. Jones | 2018-11-03 | 1 | -0/+4 |
| | | | | | | | | | | | | Fixes 'Bad address' error in cmake. Signed-off-by: William D. Jones <thor0505@comcast.net> | ||||
| * | Rename io.{h,cc} to pio.{h,cc} to avoid naming conflict with ↵ | William D. Jones | 2018-11-03 | 3 | -2/+2 |
| | | | | | | | | | | | | Windows-provided io.h. Signed-off-by: William D. Jones <thor0505@comcast.net> | ||||
* | | Merge pull request #118 from daveshah1/dcu | David Shah | 2018-11-16 | 9 | -39/+935 |
|\ \ | | | | | | | Adding ECP5 DCU support | ||||
| * | | ecp5: Better use of Boost | David Shah | 2018-11-16 | 1 | -3/+3 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: Regression fix & format | David Shah | 2018-11-15 | 2 | -4/+14 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: Support LOC attribute on DCUs | David Shah | 2018-11-15 | 1 | -1/+25 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: Add DCU availability check | David Shah | 2018-11-15 | 1 | -0/+2 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: Add timing info for SERDES | David Shah | 2018-11-15 | 1 | -1/+26 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: DCU clocking fixes | David Shah | 2018-11-15 | 1 | -2/+8 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: EXTREFB fixes | David Shah | 2018-11-15 | 2 | -1/+5 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: clangformat | David Shah | 2018-11-15 | 2 | -18/+23 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: Trim IO connected to top level ports | David Shah | 2018-11-15 | 1 | -15/+73 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: Adding ancillary DCU bels | David Shah | 2018-11-15 | 4 | -1/+57 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: remove debug and clangformat | David Shah | 2018-11-15 | 3 | -10/+13 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | dcu: Fix bitstream param handling | David Shah | 2018-11-15 | 1 | -0/+1 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: Prefer DCCs with dedicated routing when placing DCCs | David Shah | 2018-11-15 | 1 | -0/+43 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: Working on DCU | David Shah | 2018-11-15 | 3 | -5/+63 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: DCU bitstream gen handling | David Shah | 2018-11-15 | 2 | -0/+299 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | ecp5: Groundwork for DCU support | David Shah | 2018-11-15 | 3 | -16/+318 |
|/ / | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | Merge pull request #103 from YosysHQ/timingapi | David Shah | 2018-11-15 | 18 | -180/+881 |
|\ \ | | | | | | | Timing constraints API, multiple clock domains | ||||
| * | | docs: Add documentation on constraints support | David Shah | 2018-11-15 | 1 | -0/+37 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
| * | | Improve message spacing | Eddie Hung | 2018-11-14 | 2 | -3/+8 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/master' into timingapi | Eddie Hung | 2018-11-14 | 4 | -27/+48 |
| |\ \ | |/ / |/| | | |||||
* | | | Merge pull request #114 from YosysHQ/fix_legalise | Eddie Hung | 2018-11-14 | 3 | -26/+30 |
|\ \ \ | | | | | | | | | Fix legalise | ||||
| * | | | [placer1] Only perform slack redist if legalised | Eddie Hung | 2018-11-13 | 1 | -4/+4 |
| | | | | |||||
| * | | | [placer1] Only increase temperature if legaliser moved something | Eddie Hung | 2018-11-13 | 2 | -19/+23 |
| | | | |