1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-27 20:47:52 +00:00

pybindings: make errors in Python scripts stop nextpnr execution

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah
2019-04-17 11:12:58 +01:00
parent ede81dc095
commit 9fa13b5adc
2 changed files with 7 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ ParameterConfig.__new__.__defaults__ = (False, True, 1, None)
Write a design as FASM
ctx: nextpnr context
paramCfg: ParameterConfig describing how to write parameters
paramCfg: map from (celltype, parametername) -> ParameterConfig describing how to write parameters
f: output file
"""
def write_fasm(ctx, paramCfg, f):