Vector VEC139 Specifications Page 37

  • Download
  • Add to my manuals
  • Print
  • Page
    / 268
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 36
CHAPTER 1: DESIGN FLOW
COMMAND-LINE DESIGN FLOW
ALTERA CORPORATION INTRODUCTION TO QUARTUS II 27
Creating Makefile Scripts
The Quartus II software supports makefile scripts that use the Quartus II
executables, which allow you to integrate your scripts with a wide variety of
scripting languages. Figure 13 shows an excerpt from a standard makefile
script.
#------ Make a clock assignment with the Fmax requirement ------#
create_base_clock clock -fmax $required_fmax
#------ Make global assignments ------#
set_global_assignment -name family STRATIX
set_global_assignment -name device EP1S10F484C5
set_global_assignment -name tsu_requirement 7.55ns
#------ Make instance assignments ------#
# The following is the same as doing:
# "set_instance_assignment -name location -to clock Pin_M20"
set_location_assignment -to clock Pin_M20
#------ Compile using ::quartus::flow ------#
execute_flow -compile
#------ Report Fmax from report ------#
set actual_fmax [get_fmax_from_report]
puts ""
puts "-----------------------------------------------------"
puts "Required Fmax: $required_fmax Actual Fmax: $actual_fmax"
puts "-----------------------------------------------------"
Figure 12. Example of a Tcl Script (Part 2 of 2)
f
For Information About Refer To
Tcl Scripting “Tcl Scripting” in the Quartus II Handbook,
vol. 2 on the Altera web site
“Overview: Using Tcl Scripting” and “API
Functions for Tcl” in Quartus II Help
Quartus II Scripting Reference Manual on
the Altera web site
Page view 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 267 268

Comments to this Manuals

No comments