Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
4ae807ea
Commit
4ae807ea
authored
Feb 09, 2018
by
Jens Korinth
Browse files
Fix bugs in optimzation debug mode 42
parent
bc7c9676
Pipeline
#250
passed with stage
in 4 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
common/evaluate_ip.tcl.template
View file @
4ae807ea
...
...
@@ -59,16 +59,16 @@ foreach saif [glob -nocomplain *.saif] {
set period @@PERIOD@@
if {@@OPTIMIZATION@@ == 42} {
set results_file [open [file join [file dirname "@@REPORT
S
_TIMING@@"] "synthesis_results.tsv"] "w+"]
puts $result_file "Target Period\tTarget F(MHz)\t\Opt\tWNS (ns)\tT (ns)\tF (ns)"
set runtimes_file [open [file join [file dirname "@@REPORT
S
_TIMING@@"] "synthesis_runtimes.tsv"] "w+"]
set results_file [open [file join [file dirname "@@REPORT_TIMING@@"] "synthesis_results.tsv"] "w+"]
puts $result
s
_file "Target Period\tTarget F(MHz)\t\Opt\tWNS (ns)\tT (ns)\tF (ns)"
set runtimes_file [open [file join [file dirname "@@REPORT_TIMING@@"] "synthesis_runtimes.tsv"] "w+"]
puts $runtimes_file "Target Period\tTarget F(Mhz)\tOpt\tPhase\tStart\t\End\tDuration (s)"
for {set period 0.5} {$period <= 5.0} {set period [expr $period + 0.125]} {
for {set opt 3} {$opt >= 0} {incr opt -1} {
set synth_start [clock seconds]
set synth_options [list
{-part} {@@PART@@} {-top} $top {-mode} {out_of_context}
]
lappend synth_options
@@SYNTH_OPTIONS@@
set synth_options [list
@@SYNTH_OPTIONS@@
]
lappend synth_options
{-part} {@@PART@@} {-top} $top {-mode} {out_of_context}
# synthesize and optimize netlist
if {$opt >= 1} {
...
...
@@ -85,10 +85,10 @@ if {@@OPTIMIZATION@@ == 42} {
opt_design
set synth_finish [clock seconds]
set ur [file join [file dirname "@@REPORT
S
_UTILIZATION@@"] "synth_utilization_period${period}_opt${opt}.rpt"]
set ur [file join [file dirname "@@REPORT_UTILIZATION@@"] "synth_utilization_period${period}_opt${opt}.rpt"]
puts "writing utilization report $ur ..."
report_utilization -quiet -file $ur
set tr [file join [file dirname "@@REPORT
S
_TIMING@@"] "synth_timing_period${period}_opt${opt}.rpt"]
set tr [file join [file dirname "@@REPORT_TIMING@@"] "synth_timing_period${period}_opt${opt}.rpt"]
puts "writing timing report summary $tr ..."
report_timing_summary -quiet -file $tr
...
...
@@ -165,7 +165,7 @@ if {@@OPTIMIZATION@@ == 42} {
puts $runtimes_file "$period\t[expr 1000.0/$period]\t$opt\tphys_opt_design\t$place_design_finish\t$physopt1_finish\t[expr $physopt1_finish - $place_design_finish]"
puts $runtimes_file "$period\t[expr 1000.0/$period]\t$opt\troute_design\t$physopt1_finish\t$route_design_finish\t[expr $route_design_finish - $physopt1_finish]"
if {$opt >= 2} {
puts $runtimes_file "$period\t[expr 1000.0/$period]\t$opt\tphys_opt_design2\t$route_design_finish\t$physop2_finish\t[expr $physopt2_finish - $route_design_finish]"
puts $runtimes_file "$period\t[expr 1000.0/$period]\t$opt\tphys_opt_design2\t$route_design_finish\t$physop
t
2_finish\t[expr $physopt2_finish - $route_design_finish]"
}
puts $runtimes_file "$period\t[expr 1000.0/$period]\t$opt\ttotal_pnr\t$pnr_start\t$pnr_finish\t[expr $pnr_finish - $pnr_start]"
}
...
...
Jens Korinth
@jk
mentioned in commit
786777b1
·
Feb 23, 2018
mentioned in commit
786777b1
mentioned in commit 786777b12cd7d84cb7b8fba48a52dd5d8f322840
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment