Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
d2d1a402
Commit
d2d1a402
authored
10 years ago
by
Kenneth Hiemstra
Browse files
Options
Downloads
Patches
Plain Diff
better svn revision capture based on $RADIOHDL_SVN_REVISION
parent
f72f102b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
boards/uniboard2/libraries/unb2_board/quartus/unb2_board.qsf
+2
-4
2 additions, 4 deletions
boards/uniboard2/libraries/unb2_board/quartus/unb2_board.qsf
tools/quartus/quartus_generic.sh
+1
-0
1 addition, 0 deletions
tools/quartus/quartus_generic.sh
with
3 additions
and
4 deletions
boards/uniboard2/libraries/unb2_board/quartus/unb2_board.qsf
+
2
−
4
View file @
d2d1a402
...
...
@@ -61,9 +61,6 @@ set_global_assignment -name EDA_IBIS_SPECIFICATION_VERSION 5P0 -section_id eda_b
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
# Compilation flow:
set_global_assignment -name SMART_RECOMPILE ON
# Optimize for performance:
set_global_assignment -name OPTIMIZATION_TECHNIQUE SPEED
set_global_assignment -name SYNTH_TIMING_DRIVEN_SYNTHESIS ON
...
...
@@ -84,6 +81,7 @@ set_global_assignment -name SDC_FILE $::env(RADIOHDL)/boards/uniboard2/libraries
if { [info exists ::env(UNB_COMPILE_STAMPS) ] } {
set_parameter -name g_stamp_date [clock format [clock seconds] -format {%Y%m%d}]
set_parameter -name g_stamp_time [clock format [clock seconds] -format {%H%M%S}]
set_parameter -name g_stamp_svn [regsub -all {[^0-9]} [exec svn info $::env(RADIOHDL) | grep Revision] ""]
post_message -type info "RADIOHDL: using SVN revision $::env(RADIOHDL_SVN_REVISION)"
set_parameter -name g_stamp_svn [regsub -all {[^0-9]} [exec echo $::env(RADIOHDL_SVN_REVISION)] ""]
}
This diff is collapsed.
Click to expand it.
tools/quartus/quartus_generic.sh
+
1
−
0
View file @
d2d1a402
...
...
@@ -42,3 +42,4 @@ export ALTERA_HW_TCL_KEEP_TEMP_FILES=1
# User synthesis timestamp in FPGA image
export
UNB_COMPILE_STAMPS
=
1
export
RADIOHDL_SVN_REVISION
=
`
svn info
${
RADIOHDL
}
|
grep
Revision
`
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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