| 1 |
63 |
olivier.gi |
# Copyright (C) 1991-2009 Altera Corporation
|
| 2 |
|
|
# Your use of Altera Corporation's design tools, logic functions
|
| 3 |
|
|
# and other software and tools, and its AMPP partner logic
|
| 4 |
|
|
# functions, and any output files from any of the foregoing
|
| 5 |
|
|
# (including device programming or simulation files), and any
|
| 6 |
|
|
# associated documentation or information are expressly subject
|
| 7 |
|
|
# to the terms and conditions of the Altera Program License
|
| 8 |
|
|
# Subscription Agreement, Altera MegaCore Function License
|
| 9 |
|
|
# Agreement, or other applicable license agreement, including,
|
| 10 |
|
|
# without limitation, that your use is for the sole purpose of
|
| 11 |
|
|
# programming logic devices manufactured by Altera and sold by
|
| 12 |
|
|
# Altera or its authorized distributors. Please refer to the
|
| 13 |
|
|
# applicable agreement for further details.
|
| 14 |
|
|
|
| 15 |
|
|
# Quartus II: Generate Tcl File for Project
|
| 16 |
|
|
# File: openMSP430_fpga.tcl
|
| 17 |
|
|
# Generated on: Tue Jan 19 23:11:05 2010
|
| 18 |
|
|
|
| 19 |
|
|
# Load Quartus II Tcl packages
|
| 20 |
|
|
package require ::quartus::project
|
| 21 |
|
|
package require ::quartus::flow
|
| 22 |
|
|
|
| 23 |
|
|
|
| 24 |
|
|
# Create project
|
| 25 |
|
|
project_new -revision openMSP430_fpga openMSP430_fpga
|
| 26 |
|
|
|
| 27 |
|
|
|
| 28 |
|
|
# Make assignments
|
| 29 |
|
|
set_global_assignment -name DEVICE <DEVICE_NAME>
|
| 30 |
|
|
set_global_assignment -name FAMILY "<DEVICE_FAMILY>"
|
| 31 |
|
|
|
| 32 |
|
|
set_global_assignment -name VERILOG_FILE ..\\design_files.v
|
| 33 |
|
|
set_global_assignment -name SEARCH_PATH ..\\src/
|
| 34 |
|
|
|
| 35 |
|
|
set_global_assignment -name FMAX_REQUIREMENT "240 MHz" -section_id main_clock
|
| 36 |
|
|
set_instance_assignment -name CLOCK_SETTINGS main_clock -to dco_clk
|
| 37 |
|
|
|
| 38 |
|
|
set_global_assignment -name OPTIMIZATION_TECHNIQUE <SPEED_AREA>
|
| 39 |
|
|
set_global_assignment -name CYCLONEII_OPTIMIZATION_TECHNIQUE <SPEED_AREA>
|
| 40 |
|
|
set_global_assignment -name STRATIX_OPTIMIZATION_TECHNIQUE <SPEED_AREA>
|
| 41 |
|
|
set_global_assignment -name STRATIXII_OPTIMIZATION_TECHNIQUE <SPEED_AREA>
|
| 42 |
|
|
set_global_assignment -name SYNTH_TIMING_DRIVEN_SYNTHESIS ON
|
| 43 |
|
|
|
| 44 |
|
|
set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
|
| 45 |
|
|
set_global_assignment -name RESERVE_ALL_UNUSED_PINS "AS INPUT TRI-STATED"
|
| 46 |
|
|
set_global_assignment -name RESERVE_ASDO_AFTER_CONFIGURATION "AS INPUT TRI-STATED"
|
| 47 |
|
|
set_global_assignment -name RESERVE_ALL_UNUSED_PINS_NO_OUTPUT_GND "AS INPUT TRI-STATED"
|
| 48 |
|
|
set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top
|
| 49 |
|
|
set_global_assignment -name CDF_FILE Chain1.cdf
|
| 50 |
|
|
set_global_assignment -name LL_ROOT_REGION ON -section_id "Root Region"
|
| 51 |
|
|
set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region"
|
| 52 |
|
|
|
| 53 |
|
|
|
| 54 |
|
|
set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
|
| 55 |
|
|
set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
|
| 56 |
|
|
|
| 57 |
|
|
set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "23 MM HEAT SINK WITH 200 LFPM AIRFLOW"
|
| 58 |
|
|
set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)"
|
| 59 |
|
|
|
| 60 |
|
|
|
| 61 |
|
|
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
|
| 62 |
|
|
|
| 63 |
|
|
# Commit assignments
|
| 64 |
|
|
export_assignments
|
| 65 |
|
|
|
| 66 |
|
|
# Run synthesis
|
| 67 |
|
|
execute_flow -compile
|