File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ def _configure(self):
2121 self .conf ['tool' ] = tool
2222 self .conf ['make_cmd' ] = f'{ tool } SCRIPT:{ tool } .tcl'
2323 self .conf ['make_ext' ] = 'tcl'
24- self .conf ['prog_bit' ] = 'pdd '
25- self .conf ['prog_cmd' ] = f'{ tool } SCRIPT:{ tool } -prog.tcl'
24+ self .conf ['prog_bit' ] = 'ppd '
25+ self .conf ['prog_cmd' ] = f'FPExpress SCRIPT:{ tool } -prog.tcl'
2626 self .conf ['prog_ext' ] = 'tcl'
2727
2828 def _make_custom (self ):
Original file line number Diff line number Diff line change 66#
77#}
88
9- if { [catch {open_project {{ project }}/{{ project }}.prjx} ] } {
10- open_project {{ project }}.prjx
11- }
12- run_tool -name {PROGRAMDEVICE}
9+ file delete -force -- libero-prog
10+ new_project -name libero -location libero-prog -mode single
11+
12+ set_programming_file -file {{ bitstream }}
13+ set_programming_action -action {PROGRAM}
14+
15+ run_selected_actions
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ run_tool -name {VERIFYTIMING}
113113{% if hooks %} {{ hooks.prebit | join('\n') }}{% endif %}
114114
115115run_tool -name {GENERATEPROGRAMMINGFILE}
116+ catch { file copy -force {{ project }}/designer/{{ top }}/{{ top }}.ppd {{ project }}.ppd }
116117
117118{% if hooks %} {{ hooks.postbit | join('\n') }}{% endif %}
118119
You can’t perform that action at this time.
0 commit comments