Skip to content

Commit b24a78e

Browse files
arjenroodselaarnathanaelhuffman
authored andcommitted
Ignition: tweak Target synthesis parameters to improve P&R
1 parent 9e37e9d commit b24a78e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

BUILD.conf

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,23 @@ environment('icestick', base = 'ice40', contents = {
117117
],
118118
'nextpnr_constraints': ROOT + '/hdl/projects/icestick/icestick.pcf',
119119
})
120-
environment('ignition_target', base = 'ice40', contents = {
120+
environment('ignition_target', base = 'default', contents = {
121121
'bsc_flags': [
122122
'-opt-undetermined-vals',
123123
'-unspecified-to', 'X',
124124
],
125+
'yosys_cmds': [
126+
'synth_ice40 -top $$top_module -dffe_min_ce_use 4',
127+
],
128+
'yosys_backend': 'json', # nextpnr assumes JSON input.
129+
'nextpnr_ice40': VARS.get('nextpnr', 'ice40', default='nextpnr-ice40'),
125130
'nextpnr_ice40_flags': [
131+
'-q',
126132
'--lp1k',
127133
'--package qn84',
128134
'--freq 50',
129135
],
136+
'nextpnr_ice40_pack': VARS.get('nextpnr', 'ice40_pack', default='icepack'),
130137
'nextpnr_constraints': ROOT + '/hdl/ip/bsv/ignition/ignition_target.pcf',
131138
})
132139
environment('gimlet', base = 'ice40', contents = {

0 commit comments

Comments
 (0)