mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
lattice/icestorm: Add toolchain_path so it doesn't end up kwargs.
Fixes the following error; ``` make[1]: Leaving directory `/home/travis/build/mithro/litex-buildenv/build/ice40_hx8k_b_evn_base_lm32.lite/software/stub' Traceback (most recent call last): File "./make.py", line 164, in <module> main() File "./make.py", line 148, in main vns = builder.build(**dict(args.build_option)) File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/soc/integration/builder.py", line 171, in build toolchain_path=toolchain_path, **kwargs) File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/soc/integration/soc_core.py", line 389, in build return self.platform.build(self, *args, **kwargs) File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/build/lattice/platform.py", line 29, in build return self.toolchain.build(self, *args, **kwargs) File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/build/lattice/icestorm.py", line 139, in build v_output = platform.get_verilog(fragment, name=build_name, **kwargs) File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/build/lattice/platform.py", line 26, in get_verilog **kwargs) File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/build/generic_platform.py", line 368, in get_verilog create_clock_domains=False, **kwargs) TypeError: convert() got an unexpected keyword argument 'toolchain_path' ```
This commit is contained in:
parent
af25bf2bc0
commit
b1425ba85f
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class LatticeIceStormToolchain:
|
|||
|
||||
# platform.device should be of the form "ice40-{lp384, hx1k, etc}-{tq144, etc}"
|
||||
def build(self, platform, fragment, build_dir="build", build_name="top",
|
||||
use_nextpnr=True, run=True, **kwargs):
|
||||
toolchain_path=None, use_nextpnr=True, run=True, **kwargs):
|
||||
os.makedirs(build_dir, exist_ok=True)
|
||||
cwd = os.getcwd()
|
||||
os.chdir(build_dir)
|
||||
|
|
Loading…
Reference in a new issue