aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Website updatesClifford Wolf2019-02-191-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Website updatesClifford Wolf2019-02-191-32/+32
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Improve icestick rs232demo exampleClifford Wolf2019-02-143-8/+125
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge pull request #197 from delvers/masterClifford Wolf2018-12-311-1/+1
|\ | | | | add boost dependencie for fedora
| * add boost dependencies for fedoraDavid Elvers2018-12-291-1/+1
|/
* Merge branch 'master' of github.com:cliffordwolf/icestormClifford Wolf2018-11-091-5/+22
|\
| * Merge pull request #188 from esden/docs-nextpnrClifford Wolf2018-11-091-5/+22
| |\ | | | | | | Added NextPNR deps and install instructions to docs.
| | * Added NextPNR deps and install instructions to docs.Piotr Esden-Tempski2018-11-081-5/+22
| |/
* / Build optimized binaries by defaultClifford Wolf2018-10-301-4/+5
|/ | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge pull request #184 from nathanrossi/nrossi/portable-chipdbClifford Wolf2018-10-303-25/+190
|\ | | | | icetime: Add support for searching for chipdb relative to binary
| * icetime: Add support for searching for chipdb relative to binaryNathan Rossi2018-09-033-25/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like yosys and arachne-pnr, allow for searching for the desired chipdb file relative to the executing binaries directory. This allows for portable builds of icetime without needing to specify the exact path to the needed chipdb file with the -C arg. In order to support this icetime must be able to get the "proc_self_dirname" path just like yosys and arachne-pnr. As such copy the equivalent code to get this path information. To avoid cluttering the icetime.cc file with this code, place it in a separate iceutil.cc file. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* | Merge pull request #187 from jburgess777/icebox-compile-warningClifford Wolf2018-10-301-1/+1
|\ \ | | | | | | Fix compile warning in icetime.cc
| * | Fix compile warning in icetime.ccJon Burgess2018-10-281-1/+1
|/ / | | | | | | | | | | icetime.cc: In function ‘std::__cxx11::string ecnetname_to_vlog(std::__cxx11::string)’: icetime.cc:1323:32: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] } catch(std::invalid_argument e) { // Not numeric and stoi throws exception
* | 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
| | |
* | | Reference latest Lattice iCE Technology LibraryClifford Wolf2018-09-041-1/+1
| |/ |/| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | Force flash to exist QPI mode in iceprogClifford Wolf2018-09-021-5/+15
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | iceprog: switch to SPI mode 0, add -s option, add flash_resetClifford Wolf2018-09-021-8/+36
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | Merge pull request #182 from awygle/lmClifford Wolf2018-08-301-16/+70
|\ \ | | | | | | Add support for cm36 and swg25tr lm4k packages.
| * | Add support for cm36 and swg25tr lm4k packages.Andrew Wygle2018-08-281-16/+70
|/ /
* | Merge branch 'esden-iceprog-work'Clifford Wolf2018-08-191-58/+243
|\ \
| * | Minor style changes in iceprogClifford Wolf2018-08-191-39/+41
| | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | iceprog coding style, don't use "assert" as variable nameClifford Wolf2018-08-191-11/+14
| | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | Slightly more robust flash wait function.Piotr Esden-Tempski2018-08-181-9/+29
| | | | | | | | | | | | | | | | | | | | | In cases when the FLASH chip is bit flaky and the status register "bounces" this flash_wait should be able to perform a bit better. Also added more verbose output around block erase.
| * | Add a function to read and decode the status register.Piotr Esden-Tempski2018-08-181-2/+66
| | | | | | | | | | | | Very useful for debugging purposes. ;)
| * | Added the FTDI cable pinout for reference.Piotr Esden-Tempski2018-08-181-0/+13
| | |
| * | Improved JEDEC ID read function.Piotr Esden-Tempski2018-08-181-4/+30
| | | | | | | | | | | | | | | The function now checks how long the extended JEDEC ID field is for the particular FLASH chip and only reads the amount provided by the chip.
| * | Replaced some more magic numbers with FLASH command IDs.Piotr Esden-Tempski2018-08-181-4/+4
| | | | | | | | | | | | I missed those the first time around.
| * | Added easier to read chip_select/reset functions.Piotr Esden-Tempski2018-08-181-26/+60
| | | | | | | | | | | | | | | | | | | | | Just calling a gpio function with two numbers was not very self explanatory. The functions now refer to the actual indended action, chip (de)select for flash, reset and chip (de)select for sram. Reading the code and understanding what steps are taken should be easier now.
| * | Added more code comments.Piotr Esden-Tempski2018-08-161-16/+39
|/ / | | | | | | | | | | | | | | | | | | Main point was to group the code into three logical segments: * MPSSE/FTDI defines and functions * FLASH defines and functions * iceprog implementation core While I was at it I also added a few comments for stuff that was not immediately obvious what it does.
* | Merge pull request #180 from litghost/add_5xClifford Wolf2018-08-091-0/+3
|\ \ | | | | | | Add 5k support to hlc2asc.
| * | Add 5k support to hlc2asc.Keith Rothman2018-08-091-0/+3
|/ / | | | | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* / Also install text timing databasesClifford Wolf2018-07-301-0/+2
|/ | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge pull request #176 from elmsfu/hlc2asc/lut_keyword_fixClifford Wolf2018-07-201-1/+1
|\ | | | | icebox_hlc2asc: fix _lut_ keyword parsing
| * 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.
* | Merge pull request #175 from daveshah1/fix_lutcascadeClifford Wolf2018-07-201-0/+5
|\ \ | |/ |/| icetime: Remove non-existent paths from ce/sr to ltout
| * icetime: Remove non-existent paths from ce/sr to ltoutDavid Shah2018-07-191-0/+5
|/ | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Spelling fixes in messagesLarry Doolittle2018-07-192-8/+8
|
* Merge pull request #173 from osresearch/parallel-makeClifford Wolf2018-07-171-1/+5
|\ | | | | Allow parallel make all to build each subdir simultaneously
| * Allow parallel make all to build each subdir simultaneouslyTrammell Hudson2018-07-171-1/+5
|/
* Merge pull request #172 from mithro/hlc-glbClifford Wolf2018-07-171-14/+16
|\ | | | | hlc: Use glb_network for current device.
| * 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 #169 from mithro/patch-1Clifford Wolf2018-07-101-1/+2
|\ | | | | Update README to be clearer
| * Update README to be clearerTim Ansell2018-07-031-1/+2
| | | | | | The example doesn't work out of the box with the iCEblink40-lp1k board.
* | 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