aboutsummaryrefslogtreecommitdiffstats
path: root/icebox
Commit message (Collapse)AuthorAgeFilesLines
* icebox: Add PLL ICEGATE functionSylvain Munaut2023-02-011-0/+12
| | | | | | Only tested on UP5k. For others, it was just deduced. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* icebox: cb121 does have a PLLgatecat2022-03-251-1/+0
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Update variable name to PYTHON3Miodrag Milanovic2021-09-061-9/+9
|
* Merge pull request #239 from xobs/python-bin-nameMiodrag Milanović2021-09-061-9/+9
|\ | | | | Use $(PYTHON) in Makefiles instead of `python3`
| * icebox: use $(PYTHON) variable in MakefileSean Cross2019-10-221-9/+9
| | | | | | | | | | | | Allow `python` to be provided by an interpreter other than `python3`. Signed-off-by: Sean Cross <sean@xobs.io>
* | Fixes for macOSMiodrag Milanovic2021-09-061-21/+27
| |
* | added I2C and SPI for u4k to databaseNils Albartus2020-12-041-0/+192
| |
* | Fix icebox_vlog for up5kDavid Shah2020-06-291-1/+4
| | | | | | | | | | | | Since ce1d811, SHIFTREG_DIV_MODE is now 2 bits for the up5k Signed-off-by: David Shah <dave@ds0.me>
* | icebox: Add support for the bit 1 of SHIFTREG_DIV_MODE on UP5kSylvain Munaut2020-06-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This allows selection of the div-by-5 mode of the PLL. This bit can't be fuzzed because it's not supported by the lattice tools at all ... This only works for sure on the UP5k. I tested HX8k and it didn't support it, so I'm only adding this on the known working FPGA. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | Make sure that scripts find files on final installMiodrag Milanovic2020-04-141-1/+1
| |
* | icebox: fix missing DESTDIR for icebox_chipdbeine2020-04-101-6/+6
| |
* | Support custom PROGRAM_PREFIXMiodrag Milanovic2020-04-1011-73/+95
|/
* Only dump memory initialization in icebox_vlog if present in ASC file, fixes ↵Clifford Wolf2019-08-081-2/+3
| | | | | | #228 Signed-off-by: Clifford Wolf <clifford@clifford.at>
* up5k: Fix TOPADDSUB_CARRYSELECT_0 override where it swaps with osc trimmingDavid Shah2019-07-031-1/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* add RGB_DRV/LED_DRV_CUR for u4kSimon Schubert2019-06-101-0/+32
|
* icebox_vlog: Use cached re functionsMichael Buesch2019-06-081-20/+21
|
* icebox_stat: Use cached re functionsMichael Buesch2019-06-081-6/+7
|
* icebox_maps: Use cached re functionsMichael Buesch2019-06-081-2/+3
|
* icebox_html: Use cached re functionsMichael Buesch2019-06-081-5/+6
|
* icebox_hlc2asc: Use cached re functionsMichael Buesch2019-06-081-15/+16
|
* icebox_explain: Use cached re functionsMichael Buesch2019-06-081-3/+4
|
* icebox_diff: Use cached re functionsMichael Buesch2019-06-081-1/+2
|
* icebox_colbuf: Use cached re functionsMichael Buesch2019-06-081-2/+3
|
* icebox_asc2hlc: Use cached re functionsMichael Buesch2019-06-081-18/+19
|
* icebox: Use cached re functionsMichael Buesch2019-06-081-63/+63
|
* icebox: Add helper functions to LRU cache regular expression resultsMichael Buesch2019-06-081-0/+26
|
* icebox: Use LRU cache for often called function tile_has_net()Michael Buesch2019-06-081-1/+3
|
* u4k: add SMCCLK cell locationSimon Schubert2019-02-221-0/+3
| | | | | icecube uses SMCCLK.CLK to "legalize" output cells. Unclear what this is for, but it appears in almost all outputs.
* iCE40 Ultra = iCE5LP = u4k portSimon Schubert2019-02-225-49/+316
|
* Merge pull request #178 from elmsfu/hlc/add_symbols_supportClifford Wolf2018-10-102-1/+43
|\ | | | | hlc: parse '.sym>' to track signal names from HLC to ASC
| * icebox: parse '.sym>' HLC to track signal namesElms2018-07-262-1/+43
| |
* | Add support for cm36 and swg25tr lm4k packages.Andrew Wygle2018-08-281-16/+70
| |
* | Add 5k support to hlc2asc.Keith Rothman2018-08-091-0/+3
|/ | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* icebox_hlc2asc: fix _lut_ keyword parsingElms2018-07-191-1/+1
| | | | 'self.lut_bits is None' was always false. The _lut_ keyword is used by asc2hlc, so when converting asc->hlc->asc the lut_bits were always all zeros.
* Spelling fixes in messagesLarry Doolittle2018-07-192-8/+8
|
* hlc: Use glb_network for current device.Tim 'mithro' Ansell2018-07-161-14/+16
| | | | | Previously the 1k global networks were hard coded. This now uses the values from the given part.
* Merge pull request #168 from elmsfu/hlc2asc/verilog_literal_ram_dataClifford Wolf2018-07-101-8/+42
|\ | | | | icebox_hlc2asc: Allow data of ram to use verilog literal format
| * icebox_hlc2asc: Allow data of ram to use verilog literal formatElms2018-07-031-8/+42
| |
* | Merge pull request #167 from mithro/icebox_vlog_driversClifford Wolf2018-07-101-11/+13
|\ \ | | | | | | icebox_vlog: Better information about drivers for nets.
| * | icebox_vlog: Save error message to file and print it.Tim 'mithro' Ansell2018-07-081-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously if you were doing; `icebox_vlog example.asc > example_bit.v` you would just get; ``` Traceback (most recent call last): File "icebox_vlog.py", line 947, in <module> assert False AssertionError ``` Now you get; ``` Traceback (most recent call last): File "icebox_vlog.py", line 948, in <module> assert False, "\n ".join(emsg) AssertionError: Single-driver-check failed for 2 nets: n10 has 0 drivers: [] n15 has 2 drivers: ['clk', 'clk2'] ```
| * | icebox_vlog: Better information about drivers for nets.Tim 'mithro' Ansell2018-07-031-9/+10
| |/
* | Merge pull request #164 from mithro/global-fixClifford Wolf2018-07-101-3/+5
|\ \ | | | | | | Fix spelling and io_X/GLOBAL_OUTPUT_NETWORK
| * | icebox_hlc2asc: Allow io_X/GLOBAL_OUTPUT_BUFFERTim 'mithro' Ansell2018-06-221-1/+3
| | |
| * | icebox_hlc2asc: Fix spelling in error message.Tim 'mithro' Ansell2018-06-221-2/+2
| |/
* / icebox_vlog: Fix constant LUT output.Tim 'mithro' Ansell2018-07-081-2/+2
|/
* icebox_hlc2asc: update to support device by familyElms2018-06-201-3/+3
|
* icebox_hlc2asc: Adding more descriptive errors messagesElms2018-06-201-24/+27
|
* icebox_hlc2asc: Set LUT bits to zero by default.Tim 'mithro' Ansell2018-06-151-2/+2
|
* Merge pull request #160 from mithro/hlc-sortClifford Wolf2018-06-151-0/+41
|\ | | | | icebox_hlcsort: Adding a tool for canonicalizing HLC files.
| * icebox_hlcsort: Adding a tool for canonicalizing HLC files.Tim 'mithro' Ansell2018-06-141-0/+41
| | | | | | | | | | This is done by sorting all the commands inside a block. Doing so makes it much easier to diff two files.