Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Platform-independent core collection
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Platform-independent core collection
Commits
f2726c60
Commit
f2726c60
authored
7 years ago
by
Dimitris Lampridis
Browse files
Options
Downloads
Patches
Plain Diff
tools: fix comments in sdb_desc_gen.tcl
parent
c4cc1c3f
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/sdb_desc_gen.tcl
+7
-7
7 additions, 7 deletions
tools/sdb_desc_gen.tcl
with
7 additions
and
7 deletions
tools/sdb_desc_gen.tcl
+
7
−
7
View file @
f2726c60
...
...
@@ -52,7 +52,7 @@ proc str_procrustes {str limit {pad_char " "}} {
}
#-------------------------------------------------------------------------------
# STEP
/
: Check that the synthesis tool is supported
# STEP
1/7
: Check that the synthesis tool is supported
#-------------------------------------------------------------------------------
if
{[
lsearch -exact $supported_tools $syn_tool
]
== -1
}
{
report ERROR
"
$syn
_tool is not (yet) supported, exiting."
...
...
@@ -60,7 +60,7 @@ if {[lsearch -exact $supported_tools $syn_tool] == -1} {
}
#-------------------------------------------------------------------------------
# STEP
/
: Check that project file exists
# STEP
2/7
: Check that project file exists
#-------------------------------------------------------------------------------
if
{
!
[
file exists $project_file
]}
{
...
...
@@ -69,7 +69,7 @@ if {![file exists $project_file]} {
}
#-------------------------------------------------------------------------------
# STEP
/
: Open project file
# STEP
3/7
: Open project file
#-------------------------------------------------------------------------------
if
{
$syn
_tool ==
"ise"
}
{
...
...
@@ -81,7 +81,7 @@ if {$syn_tool == "ise"} {
report INFO
"Opened project
$project
_file."
#-------------------------------------------------------------------------------
# STEP
/
: Get necessary info from
ISE project and Git repository
# STEP
4/7
: Get necessary info from
synthesis tool and Git
#-------------------------------------------------------------------------------
if
{
$syn
_tool ==
"ise"
}
{
...
...
@@ -101,7 +101,7 @@ set inf_user [exec git config user.name]
set inf_repo_url
[
exec git remote get-url origin
]
#-------------------------------------------------------------------------------
# STEP
/
: Generate the output file
# STEP
5/7
: Generate the output file
#-------------------------------------------------------------------------------
set fp
[
open $out_file w
]
...
...
@@ -141,7 +141,7 @@ puts $fp "end package synthesis_descriptor;"
close $fp
#-------------------------------------------------------------------------------
# Step
/
: Add the output file to the project
# Step
6/7
: Add the output file to the project
#-------------------------------------------------------------------------------
if
{
$syn
_tool ==
"ise"
}
{
...
...
@@ -150,7 +150,7 @@ if {$syn_tool == "ise"} {
report
"INFO"
"Added
$out
_file to
$project
_file."
#-------------------------------------------------------------------------------
# Step
/
: Close
ISE
project file
# Step
7/7
: Close project file
#-------------------------------------------------------------------------------
if
{
$syn
_tool ==
"ise"
}
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment