Skip to content

Commit

Permalink
Fix *unconstrained in LPF* for ecp5 boards with the new oss cad suite
Browse files Browse the repository at this point in the history
  • Loading branch information
cavearr committed Oct 6, 2023
1 parent 9a0f655 commit 4ee8237
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apio/resources/ecp5/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ PROG = ARGUMENTS.get('prog', '')
FPGA_SIZE = ARGUMENTS.get('fpga_size', '')
FPGA_TYPE = ARGUMENTS.get('fpga_type', '')
FPGA_PACK = ARGUMENTS.get('fpga_pack', '')
YOSYS_TOP = ARGUMENTS.get('top_module', '')
FPGA_IDCODE = ARGUMENTS.get('fpga_idcode', '')
VERBOSE_ALL = ARGUMENTS.get('verbose_all', False)
VERBOSE_YOSYS = ARGUMENTS.get('verbose_yosys', False)
Expand Down Expand Up @@ -169,6 +170,7 @@ except IndexError:
# -- Define the Sintesizing Builder
synth = Builder(
action='yosys -p \"synth_ecp5 -json $TARGET\" {} $SOURCES'.format(
('-top '+YOSYS_TOP) if YOSYS_TOP else '',
'' if VERBOSE_ALL or VERBOSE_YOSYS else '-q'
),
suffix='.json',
Expand Down

0 comments on commit 4ee8237

Please sign in to comment.