123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- # 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: de2_70.tcl
- # Generated on: Sat Sep 6 02:27:17 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) "de2_70"]} {
- puts "Project de2_70 is not open"
- set make_assignments 0
- }
- } else {
- # Only open if not already open
- if {[project_exists de2_70]} {
- project_open -revision de2_70 de2_70
- } else {
- project_new -revision de2_70 de2_70
- }
- set need_to_close_project 1
- }
- # Make assignments
- if {$make_assignments} {
- set_global_assignment -name FAMILY "Cyclone II"
- set_global_assignment -name DEVICE EP2C70F896C6
- set_global_assignment -name TOP_LEVEL_ENTITY top_level
- set_global_assignment -name ORIGINAL_QUARTUS_VERSION 13.1
- set_global_assignment -name PROJECT_CREATION_TIME_DATE "19:30:55 AUGUST 28, 2014"
- set_global_assignment -name LAST_QUARTUS_VERSION 13.1
- set_global_assignment -name EDA_SIMULATION_TOOL "ModelSim-Altera (VHDL)"
- set_global_assignment -name EDA_OUTPUT_DATA_FORMAT VHDL -section_id eda_simulation
- 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 MIN_CORE_JUNCTION_TEMP 0
- set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
- set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "23 MM HEAT SINK WITH 200 LFPM AIRFLOW"
- set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)"
- set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "2.5 V"
- set_global_assignment -name VHDL_FILE ../../vhdl/board/de2_70/SDRAM_Controller.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/DRAM.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/gpio.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/T80.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/board/de2_70/top_level_de2_70.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/Z80cpu.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/T80_Pack.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/T80_ALU.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/T80_MCode.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/T80_Reg.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/T80se.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/MMU.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/MonZ80.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/SSRAM.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/uart_interface.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/fifo.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/uart.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/timer.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/board/de2_70/pll_de2_70.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/clkscale.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/RAM4K36.vhd
- set_global_assignment -name VHDL_FILE ../../vhdl/RAM4K9.vhd
- set_location_assignment PIN_T29 -to rst_n_pad_i
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to rst_n_pad_i
- set_location_assignment PIN_AD15 -to sys_clk_pad_i
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sys_clk_pad_i
- set_location_assignment PIN_D21 -to serial_rx
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to serial_rx
- set_location_assignment PIN_E21 -to serial_tx
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to serial_tx
- set_location_assignment PIN_AJ6 -to leds[0]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to leds[0]
- set_location_assignment PIN_AK5 -to leds[1]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to leds[1]
- set_location_assignment PIN_AJ5 -to leds[2]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to leds[2]
- set_location_assignment PIN_AJ4 -to leds[3]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to leds[3]
- set_location_assignment PIN_AK3 -to leds[4]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to leds[4]
- set_location_assignment PIN_AA4 -to SDRAM_ADDR[0]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[0]
- set_location_assignment PIN_AA5 -to SDRAM_ADDR[1]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[1]
- set_location_assignment PIN_AA6 -to SDRAM_ADDR[2]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[2]
- set_location_assignment PIN_AB5 -to SDRAM_ADDR[3]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[3]
- set_location_assignment PIN_AB7 -to SDRAM_ADDR[4]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[4]
- set_location_assignment PIN_AC4 -to SDRAM_ADDR[5]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[5]
- set_location_assignment PIN_AC5 -to SDRAM_ADDR[6]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[6]
- set_location_assignment PIN_AC6 -to SDRAM_ADDR[7]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[7]
- set_location_assignment PIN_AD4 -to SDRAM_ADDR[8]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[8]
- set_location_assignment PIN_AC7 -to SDRAM_ADDR[9]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[9]
- set_location_assignment PIN_Y8 -to SDRAM_ADDR[10]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[10]
- set_location_assignment PIN_AE4 -to SDRAM_ADDR[11]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[11]
- set_location_assignment PIN_AF4 -to SDRAM_ADDR[12]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[12]
- set_location_assignment PIN_AC1 -to SDRAM_DQ[0]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[0]
- set_location_assignment PIN_AC2 -to SDRAM_DQ[1]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[1]
- set_location_assignment PIN_AC3 -to SDRAM_DQ[2]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[2]
- set_location_assignment PIN_AD1 -to SDRAM_DQ[3]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[3]
- set_location_assignment PIN_AD2 -to SDRAM_DQ[4]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[4]
- set_location_assignment PIN_AD3 -to SDRAM_DQ[5]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[5]
- set_location_assignment PIN_AE1 -to SDRAM_DQ[6]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[6]
- set_location_assignment PIN_AE2 -to SDRAM_DQ[7]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[7]
- set_location_assignment PIN_AE3 -to SDRAM_DQ[8]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[8]
- set_location_assignment PIN_AF1 -to SDRAM_DQ[9]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[9]
- set_location_assignment PIN_AF2 -to SDRAM_DQ[10]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[10]
- set_location_assignment PIN_AF3 -to SDRAM_DQ[11]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[11]
- set_location_assignment PIN_AG2 -to SDRAM_DQ[12]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[12]
- set_location_assignment PIN_AG3 -to SDRAM_DQ[13]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[13]
- set_location_assignment PIN_AH1 -to SDRAM_DQ[14]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[14]
- set_location_assignment PIN_AH2 -to SDRAM_DQ[15]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQ[15]
- set_location_assignment PIN_V9 -to SDRAM_DQM[0]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQM[0]
- set_location_assignment PIN_AB6 -to SDRAM_DQM[1]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_DQM[1]
- set_location_assignment PIN_AA9 -to SDRAM_BA[0]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_BA[0]
- set_location_assignment PIN_AA10 -to SDRAM_BA[1]
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_BA[1]
- set_location_assignment PIN_W10 -to SDRAM_nCAS
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_nCAS
- set_location_assignment PIN_AA8 -to SDRAM_CKE
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_CKE
- set_location_assignment PIN_Y10 -to SDRAM_CS
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_CS
- set_location_assignment PIN_Y9 -to SDRAM_nRAS
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_nRAS
- set_location_assignment PIN_W9 -to SDRAM_nWE
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_nWE
- set_location_assignment PIN_AD6 -to SDRAM_CLK
- set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_CLK
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to "DRAM:dram|SDRAM_Controller:sdram_ctrl|iob_command"
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to "DRAM:dram|SDRAM_Controller:sdram_ctrl|iob_address"
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to "DRAM:dram|SDRAM_Controller:sdram_ctrl|iob_dqm"
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to "DRAM:dram|SDRAM_Controller:sdram_ctrl|iob_cke"
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to "DRAM:dram|SDRAM_Controller:sdram_ctrl|iob_bank"
- set_instance_assignment -name FAST_INPUT_REGISTER ON -to "DRAM:dram|SDRAM_Controller:sdram_ctrl|iob_data"
- set_instance_assignment -name FAST_INPUT_REGISTER ON -to "DRAM:dram|SDRAM_Controller:sdram_ctrl|captured_data"
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_ADDR
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_BA
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_CKE
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_CLK
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_CS
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQM
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_nCAS
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_nRAS
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_nWE
- set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ
- set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ
- 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
- }
- }
|