| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ |
|
| |\
| | |
| | | |
Added NextPNR deps and install instructions to docs.
|
| |/ |
|
|/
|
|
| |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|\
| |
| | |
icetime: Add support for searching for chipdb relative to binary
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
Fix compile warning in icetime.cc
|
|/ /
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | | |
hlc: parse '.sym>' to track signal names from HLC to ASC
|
| | | |
|
| |/
|/|
| |
| | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| |
| |
| |
| | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| |
| |
| |
| | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|\ \
| | |
| | | |
Add support for cm36 and swg25tr lm4k packages.
|
|/ / |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
Very useful for debugging purposes. ;)
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
I missed those the first time around.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Add 5k support to hlc2asc.
|
|/ /
| |
| |
| | |
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
|
|/
|
|
| |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|\
| |
| | |
icebox_hlc2asc: fix _lut_ keyword parsing
|
| |
| |
| |
| | |
'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.
|
|\ \
| |/
|/| |
icetime: Remove non-existent paths from ce/sr to ltout
|
|/
|
|
| |
Signed-off-by: David Shah <davey1576@gmail.com>
|
| |
|
|\
| |
| | |
Allow parallel make all to build each subdir simultaneously
|
|/ |
|
|\
| |
| | |
hlc: Use glb_network for current device.
|
|/
|
|
|
| |
Previously the 1k global networks were hard coded. This now uses the
values from the given part.
|
|\
| |
| | |
Update README to be clearer
|
| |
| |
| | |
The example doesn't work out of the box with the iCEblink40-lp1k board.
|
|\ \
| | |
| | | |
icebox_hlc2asc: Allow data of ram to use verilog literal format
|
| |/ |
|
|\ \
| | |
| | | |
icebox_vlog: Better information about drivers for nets.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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']
```
|
| |/ |
|
|\ \
| | |
| | | |
Fix spelling and io_X/GLOBAL_OUTPUT_NETWORK
|
| | | |
|
| |/ |
|
|\ \
| |/
|/| |
icebox_vlog: Fix constant LUT output.
|
|/ |
|
|\
| |
| | |
icebox_hcl2asc: select device class
|