From 4762ef9b7238f67d065775b752ebf51289c1f437 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 15 Jun 2014 15:28:10 +0200 Subject: Clean project --- FPGA/commande/commande.bdf | 16 ++++++-- FPGA/commande/commande.qws | Bin 1694 -> 1415 bytes FPGA/commande/commande.tcl | 84 +++++++++++++++++++++++++++++++++++++++++ FPGA/commande/commande_pin.tcl | 17 --------- 4 files changed, 97 insertions(+), 20 deletions(-) create mode 100644 FPGA/commande/commande.tcl delete mode 100644 FPGA/commande/commande_pin.tcl (limited to 'FPGA/commande') diff --git a/FPGA/commande/commande.bdf b/FPGA/commande/commande.bdf index 3e52632..da0633a 100644 --- a/FPGA/commande/commande.bdf +++ b/FPGA/commande/commande.bdf @@ -34,6 +34,7 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 0 16 56 32)) ) (pin (input) @@ -50,6 +51,7 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect -8 32 56 48)) ) (pin (input) @@ -66,6 +68,7 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect -8 64 56 80)) ) (pin (input) @@ -82,6 +85,7 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect -8 80 56 96)) ) (pin (input) @@ -98,6 +102,7 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 0 96 56 112)) ) (pin (input) @@ -114,6 +119,7 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 0 112 56 128)) ) (pin (input) @@ -130,6 +136,7 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect -8 48 56 64)) ) (pin (output) @@ -146,6 +153,7 @@ applicable agreement for further details. (line (pt 82 8)(pt 78 12)) (line (pt 78 12)(pt 82 8)) ) + (annotation_block (location)(rect 824 16 888 32)) ) (pin (output) @@ -162,6 +170,7 @@ applicable agreement for further details. (line (pt 82 8)(pt 78 12)) (line (pt 78 12)(pt 82 8)) ) + (annotation_block (location)(rect 824 32 888 48)) ) (pin (output) @@ -178,6 +187,7 @@ applicable agreement for further details. (line (pt 82 8)(pt 78 12)) (line (pt 78 12)(pt 82 8)) ) + (annotation_block (location)(rect 824 48 888 64)) ) (symbol (rect 384 0 512 128) @@ -225,7 +235,7 @@ applicable agreement for further details. (symbol (rect 344 192 544 320) (text "fan" (rect 5 0 22 13)(font "Arial" (font_size 8))) - (text "inst" (rect 8 113 25 124)(font "Arial" )) + (text "fan_block" (rect 8 113 55 124)(font "Arial" )) (port (pt 0 32) (input) @@ -275,7 +285,7 @@ applicable agreement for further details. (symbol (rect 424 144 472 176) (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) - (text "inst2" (rect 3 21 26 32)(font "Arial" )) + (text "not_block" (rect 3 21 50 32)(font "Arial" )) (port (pt 0 16) (input) @@ -287,7 +297,7 @@ applicable agreement for further details. (pt 48 16) (output) (text "OUT" (rect 32 7 52 18)(font "Courier New" (bold))(invisible)) - (text "OUT" (rect 32 7 48 18)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 52 18)(font "Courier New" (bold))(invisible)) (line (pt 39 16)(pt 48 16)) ) (drawing diff --git a/FPGA/commande/commande.qws b/FPGA/commande/commande.qws index ca66277..da57b8d 100644 Binary files a/FPGA/commande/commande.qws and b/FPGA/commande/commande.qws differ diff --git a/FPGA/commande/commande.tcl b/FPGA/commande/commande.tcl new file mode 100644 index 0000000..959859e --- /dev/null +++ b/FPGA/commande/commande.tcl @@ -0,0 +1,84 @@ +# Copyright (C) 1991-2013 Altera Corporation +# Your use of Altera Corporation's design tools, logic functions +# and other software and tools, and its AMPP partner logic +# functions, and any output files from any of the foregoing +# (including device programming or simulation files), and any +# associated documentation or information are expressly subject +# to the terms and conditions of the Altera Program License +# Subscription Agreement, Altera MegaCore Function License +# Agreement, or other applicable license agreement, including, +# without limitation, that your use is for the sole purpose of +# programming logic devices manufactured by Altera and sold by +# Altera or its authorized distributors. Please refer to the +# applicable agreement for further details. + +# Quartus II: Generate Tcl File for Project +# File: commande.tcl +# Generated on: Sun Jun 15 14:47:20 2014 + +# Load Quartus II Tcl Project package +package require ::quartus::project + +set need_to_close_project 0 +set make_assignments 1 + +# Check that the right project is open +if {[is_project_open]} { + if {[string compare $quartus(project) "commande"]} { + puts "Project commande is not open" + set make_assignments 0 + } +} else { + # Only open if not already open + if {[project_exists commande]} { + project_open -revision commande commande + } else { + project_new -revision commande commande + } + set need_to_close_project 1 +} + +# Make assignments +if {$make_assignments} { + set_global_assignment -name FAMILY "Cyclone II" + set_global_assignment -name DEVICE EP2C35F672C6 + set_global_assignment -name ORIGINAL_QUARTUS_VERSION "13.0 SP1" + set_global_assignment -name PROJECT_CREATION_TIME_DATE "19:58:12 APRIL 11, 2014" + set_global_assignment -name LAST_QUARTUS_VERSION "13.0 SP1" + set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output_files + set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0 + set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85 + set_global_assignment -name ERROR_CHECK_FREQUENCY_DIVISOR 1 + set_global_assignment -name USE_CONFIGURATION_DEVICE ON + set_global_assignment -name RESERVE_ALL_UNUSED_PINS "AS INPUT TRI-STATED" + set_global_assignment -name BDF_FILE commande.bdf + set_global_assignment -name BDF_FILE alarm.bdf + set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top + set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top + set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top + set_global_assignment -name BDF_FILE fan.bdf + set_global_assignment -name TCL_SCRIPT_FILE commande_pin.tcl + set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "3.3-V LVTTL" + set_global_assignment -name RESERVE_ALL_UNUSED_PINS_NO_OUTPUT_GND "AS INPUT TRI-STATED" + set_location_assignment PIN_N2 -to clk + set_location_assignment PIN_G26 -to resetn + set_location_assignment PIN_AE14 -to speed_user[1] + set_location_assignment PIN_P25 -to speed_user[0] + set_location_assignment PIN_N26 -to fan_auto_user + set_location_assignment PIN_N25 -to alarm_user + set_location_assignment PIN_V2 -to hot + set_location_assignment PIN_V1 -to sound_high_level + set_location_assignment PIN_AC22 -to speed[1] + set_location_assignment PIN_AB21 -to speed[0] + set_location_assignment PIN_AF23 -to fan_auto + set_location_assignment PIN_AE23 -to alarm + set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top + + # Commit assignments + export_assignments + + # Close project + if {$need_to_close_project} { + project_close + } +} diff --git a/FPGA/commande/commande_pin.tcl b/FPGA/commande/commande_pin.tcl deleted file mode 100644 index c28dbc8..0000000 --- a/FPGA/commande/commande_pin.tcl +++ /dev/null @@ -1,17 +0,0 @@ -set_location_assignment PIN_N2 -to clk -set_location_assignment PIN_G26 -to resetn - -set_location_assignment PIN_AE14 -to speed_user[1] -set_location_assignment PIN_P25 -to speed_user[0] - -set_location_assignment PIN_N26 -to fan_auto_user -set_location_assignment PIN_N25 -to alarm_user - -set_location_assignment PIN_V2 -to hot -set_location_assignment PIN_V1 -to sound_high_level - -set_location_assignment PIN_AC22 -to speed[1] -set_location_assignment PIN_AB21 -to speed[0] - -set_location_assignment PIN_AF23 -to fan_auto -set_location_assignment PIN_AE23 -to alarm \ No newline at end of file -- cgit v1.2.3