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):
21
21
self .conf ['tool' ] = tool
22
22
self .conf ['make_cmd' ] = f'{ tool } SCRIPT:{ tool } .tcl'
23
23
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'
26
26
self .conf ['prog_ext' ] = 'tcl'
27
27
28
28
def _make_custom (self ):
Original file line number Diff line number Diff line change 6
6
#
7
7
#}
8
8
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}
113
113
{% if hooks %} {{ hooks.prebit | join('\n') }}{% endif %}
114
114
115
115
run_tool -name {GENERATEPROGRAMMINGFILE}
116
+ catch { file copy -force {{ project }}/designer/{{ top }}/{{ top }}.ppd {{ project }}.ppd }
116
117
117
118
{% if hooks %} {{ hooks.postbit | join('\n') }}{% endif %}
118
119
You can’t perform that action at this time.
0 commit comments