diff --git a/build/CYC1000_zpu.qsf b/build/CYC1000_zpu.qsf index 9510cb4..999b0d2 100644 --- a/build/CYC1000_zpu.qsf +++ b/build/CYC1000_zpu.qsf @@ -1,41 +1,41 @@ -# -------------------------------------------------------------------------- # -# -# Copyright (C) 2017 Intel Corporation. All rights reserved. -# Your use of Intel 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 Intel Program License -# Subscription Agreement, the Intel Quartus Prime License Agreement, -# the Intel 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 Intel and sold by Intel or its -# authorized distributors. Please refer to the applicable -# agreement for further details. -# -# -------------------------------------------------------------------------- # -# -# Quartus Prime -# Version 17.0.0 Build 595 04/25/2017 SJ Lite Edition -# Date created = 11:51:50 November 03, 2017 -# -# -------------------------------------------------------------------------- # -# -# Notes: -# -# 1) The default values for assignments are stored in the file: -# cyc1000_nios_assignment_defaults.qdf -# If this file doesn't exist, see file: -# assignment_defaults.qdf -# -# 2) Altera recommends that you do not modify this file. This -# file is updated automatically by the Quartus Prime software -# and any changes you make may be lost or overwritten. -# -# -------------------------------------------------------------------------- # - +# -------------------------------------------------------------------------- # +# +# Copyright (C) 2017 Intel Corporation. All rights reserved. +# Your use of Intel 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 Intel Program License +# Subscription Agreement, the Intel Quartus Prime License Agreement, +# the Intel 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 Intel and sold by Intel or its +# authorized distributors. Please refer to the applicable +# agreement for further details. +# +# -------------------------------------------------------------------------- # +# +# Quartus Prime +# Version 17.0.0 Build 595 04/25/2017 SJ Lite Edition +# Date created = 11:51:50 November 03, 2017 +# +# -------------------------------------------------------------------------- # +# +# Notes: +# +# 1) The default values for assignments are stored in the file: +# cyc1000_nios_assignment_defaults.qdf +# If this file doesn't exist, see file: +# assignment_defaults.qdf +# +# 2) Altera recommends that you do not modify this file. This +# file is updated automatically by the Quartus Prime software +# and any changes you make may be lost or overwritten. +# +# -------------------------------------------------------------------------- # + # Project-Wide Assignments # ======================== @@ -48,7 +48,7 @@ set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output_files # Analysis & Synthesis Assignments # ================================ set_global_assignment -name FAMILY "Cyclone 10 LP" -set_global_assignment -name TOP_LEVEL_ENTITY CYC1000_zpu +set_global_assignment -name TOP_LEVEL_ENTITY CYC1000_zpu # Fitter Assignments # ================== @@ -386,6 +386,7 @@ set_global_assignment -name VHDL_FILE ../cpu/zpu_core_small.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_medium.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo_L2.vhd +set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo_STcache.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_uart_debug.vhd set_global_assignment -name VHDL_FILE ../zpu_soc_pkg.vhd set_global_assignment -name VHDL_FILE ../zpu_soc.vhd @@ -412,7 +413,7 @@ set_global_assignment -name VHDL_FILE ../devices/WishBone/I2C/i2c_master_byte_ct set_global_assignment -name VHDL_FILE ../devices/WishBone/I2C/i2c_master_bit_ctrl.vhd #set_global_assignment -name QIP_FILE ../devices/WishBone/SDRAM/48LC16M16.qip #set_global_assignment -name QIP_FILE ../devices/WishBone/SDRAM/48LC16M16_cached.qip -#set_global_assignment -name QIP_FILE ../devices/WishBone/SDRAM/W9864G6.qip +set_global_assignment -name QIP_FILE ../devices/WishBone/SDRAM/W9864G6.qip #set_global_assignment -name QIP_FILE ../devices/WishBone/SDRAM/W9864G6_cached.qip set_global_assignment -name OPTIMIZATION_MODE "HIGH PERFORMANCE EFFORT" diff --git a/build/DE0_nano_zpu.qsf b/build/DE0_nano_zpu.qsf index 98e4764..7eaa5e4 100644 --- a/build/DE0_nano_zpu.qsf +++ b/build/DE0_nano_zpu.qsf @@ -1,19 +1,19 @@ -#============================================================ -# Build by Terasic System Builder -#============================================================ - +#============================================================ +# Build by Terasic System Builder +#============================================================ + set_global_assignment -name FAMILY "Cyclone V" set_global_assignment -name DEVICE 5CSEMA4U23C6 -set_global_assignment -name TOP_LEVEL_ENTITY "DE0_nano_zpu" +set_global_assignment -name TOP_LEVEL_ENTITY "DE0_nano_zpu" set_global_assignment -name ORIGINAL_QUARTUS_VERSION 14.0 set_global_assignment -name LAST_QUARTUS_VERSION "17.1.1 Standard Edition" set_global_assignment -name PROJECT_CREATION_TIME_DATE "14:58:03 DECEMBER 18,2014" set_global_assignment -name DEVICE_FILTER_SPEED_GRADE 6 - - -#============================================================ -# ADC -#============================================================ + + +#============================================================ +# ADC +#============================================================ set_location_assignment PIN_U9 -to ADC_CONVST set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_CONVST set_location_assignment PIN_V10 -to ADC_SCK @@ -22,10 +22,10 @@ set_location_assignment PIN_AC4 -to ADC_SDI set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_SDI set_location_assignment PIN_AD4 -to ADC_SDO set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_SDO - -#============================================================ -# ARDUINO -#============================================================ + +#============================================================ +# ARDUINO +#============================================================ set_location_assignment PIN_AG13 -to ARDUINO_IO[0] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ARDUINO_IO[0] set_location_assignment PIN_AF13 -to ARDUINO_IO[1] @@ -60,24 +60,24 @@ set_location_assignment PIN_AG11 -to ARDUINO_IO[15] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ARDUINO_IO[15] set_location_assignment PIN_AH7 -to ARDUINO_RESET_N set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ARDUINO_RESET_N - -#============================================================ -# CLOCK -#============================================================ -#set_location_assignment PIN_V11 -to FPGA_CLK1_50 -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to FPGA_CLK1_50 + +#============================================================ +# CLOCK +#============================================================ +#set_location_assignment PIN_V11 -to FPGA_CLK1_50 +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to FPGA_CLK1_50 set_location_assignment PIN_Y13 -to FPGA_CLK2_50 set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to FPGA_CLK2_50 set_location_assignment PIN_E11 -to FPGA_CLK3_50 set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to FPGA_CLK3_50 - -#set_location_assignment PIN_R8 -to CLOCK_50 + +#set_location_assignment PIN_R8 -to CLOCK_50 set_location_assignment PIN_V11 -to CLOCK_50 set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to CLOCK_50 - -#============================================================ -# HPS -#============================================================ + +#============================================================ +# HPS +#============================================================ set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HPS_CONV_USB_N set_instance_assignment -name IO_STANDARD "SSTL-15 CLASS I" -to HPS_DDR3_ADDR[0] set_instance_assignment -name IO_STANDARD "SSTL-15 CLASS I" -to HPS_DDR3_ADDR[1] @@ -198,18 +198,18 @@ set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HPS_USB_DATA[7] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HPS_USB_DIR set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HPS_USB_NXT set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HPS_USB_STP - -#============================================================ -# KEY -#============================================================ + +#============================================================ +# KEY +#============================================================ set_location_assignment PIN_AH17 -to KEY[0] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to KEY[0] set_location_assignment PIN_AH16 -to KEY[1] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to KEY[1] - -#============================================================ -# LED -#============================================================ + +#============================================================ +# LED +#============================================================ set_location_assignment PIN_W15 -to LED[0] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[0] set_location_assignment PIN_AA24 -to LED[1] @@ -226,10 +226,10 @@ set_location_assignment PIN_Y16 -to LED[6] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[6] set_location_assignment PIN_AA23 -to LED[7] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[7] - -#============================================================ -# SW -#============================================================ + +#============================================================ +# SW +#============================================================ set_location_assignment PIN_L10 -to SW[0] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[0] set_location_assignment PIN_L9 -to SW[1] @@ -238,10 +238,10 @@ set_location_assignment PIN_H6 -to SW[2] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[2] set_location_assignment PIN_H5 -to SW[3] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[3] - -#============================================================ -# GPIO_0, GPIO connect to GPIO Default -#============================================================ + +#============================================================ +# GPIO_0, GPIO connect to GPIO Default +#============================================================ set_location_assignment PIN_V12 -to GPIO_0[0] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[0] set_location_assignment PIN_AF7 -to GPIO_0[1] @@ -306,18 +306,18 @@ set_location_assignment PIN_AD11 -to GPIO_0[30] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[30] set_location_assignment PIN_AF10 -to GPIO_0[31] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[31] -#set_location_assignment PIN_AD12 -to GPIO_0[32] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[32] -#set_location_assignment PIN_AE11 -to GPIO_0[33] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[33] -#set_location_assignment PIN_AF11 -to GPIO_0[34] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[34] -#set_location_assignment PIN_AE12 -to GPIO_0[35] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[35] - -#============================================================ -# GPIO_1, GPIO connect to GPIO Default -#============================================================ +#set_location_assignment PIN_AD12 -to GPIO_0[32] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[32] +#set_location_assignment PIN_AE11 -to GPIO_0[33] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[33] +#set_location_assignment PIN_AF11 -to GPIO_0[34] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[34] +#set_location_assignment PIN_AE12 -to GPIO_0[35] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[35] + +#============================================================ +# GPIO_1, GPIO connect to GPIO Default +#============================================================ set_location_assignment PIN_Y15 -to GPIO_1[0] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[0] set_location_assignment PIN_AG28 -to GPIO_1[1] @@ -390,8 +390,8 @@ set_location_assignment PIN_AA18 -to GPIO_1[34] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[34] set_location_assignment PIN_AC22 -to GPIO_1[35] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[35] - - + + set_location_assignment PIN_AE12 -to UART_TX_0 set_location_assignment PIN_AE11 -to UART_RX_0 set_location_assignment PIN_AF11 -to UART_TX_1 @@ -402,13 +402,13 @@ set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to UART_TX_1 set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to UART_RX_1 set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to UART_TX_0 set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to UART_TX_1 - -#============================================================ -# End of pin assignments by Terasic System Builder -#============================================================ - - - + +#============================================================ +# End of pin assignments by Terasic System Builder +#============================================================ + + + 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 @@ -423,9 +423,9 @@ set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" - set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -fall set_global_assignment -name ACTIVE_SERIAL_CLOCK FREQ_100MHZ set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "2.5 V" - + set_instance_assignment -name SLEW_RATE 2 -to DRAM_DQ* - + set_global_assignment -name ALLOW_ANY_RAM_SIZE_FOR_RECOGNITION ON set_global_assignment -name SYNTH_MESSAGE_LEVEL HIGH @@ -439,6 +439,7 @@ set_global_assignment -name VHDL_FILE ../cpu/zpu_core_small.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_medium.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo_L2.vhd +set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo_STcache.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_uart_debug.vhd set_global_assignment -name VHDL_FILE ../zpu_soc_pkg.vhd set_global_assignment -name VHDL_FILE ../zpu_soc.vhd @@ -459,7 +460,7 @@ set_global_assignment -name VHDL_FILE ../devices/sysbus/ioctl/ioctl.vhd #set_global_assignment -name VHDL_FILE ../devices/sysbus/TCPU/tcpu.vhd #set_global_assignment -name QIP_FILE ../devices/sysbus/SDRAM/48LC16M16.qip #set_global_assignment -name QIP_FILE ../devices/sysbus/SDRAM/48LC16M16_cached.qip -#set_global_assignment -name QIP_FILE ../devices/sysbus/SDRAM/W9864G6.qip +set_global_assignment -name QIP_FILE ../devices/sysbus/SDRAM/W9864G6.qip #set_global_assignment -name QIP_FILE ../devices/sysbus/SDRAM/W9864G6_cached.qip set_global_assignment -name VHDL_FILE ../devices/WishBone/I2C/i2c_master_top.vhd set_global_assignment -name VHDL_FILE ../devices/WishBone/I2C/i2c_master_byte_ctrl.vhd diff --git a/build/DE10_nano_zpu.qsf b/build/DE10_nano_zpu.qsf index ef215d5..268868d 100644 --- a/build/DE10_nano_zpu.qsf +++ b/build/DE10_nano_zpu.qsf @@ -1,10 +1,10 @@ -#============================================================ -# Build by Terasic System Builder -#============================================================ - +#============================================================ +# Build by Terasic System Builder +#============================================================ + set_global_assignment -name DEVICE 5CSEBA6U23I7 set_global_assignment -name FAMILY "Cyclone V" -set_global_assignment -name TOP_LEVEL_ENTITY DE10_nano_zpu +set_global_assignment -name TOP_LEVEL_ENTITY DE10_nano_zpu set_global_assignment -name ORIGINAL_QUARTUS_VERSION 10.1 set_global_assignment -name LAST_QUARTUS_VERSION "17.1.1 Standard Edition" set_global_assignment -name PROJECT_CREATION_TIME_DATE "16:22:00 FEBRUARY 21,2011" @@ -16,15 +16,15 @@ set_global_assignment -name RESERVE_DATA0_AFTER_CONFIGURATION "USE AS REGULAR IO set_global_assignment -name RESERVE_DATA1_AFTER_CONFIGURATION "USE AS REGULAR IO" set_global_assignment -name RESERVE_DCLK_AFTER_CONFIGURATION "USE AS REGULAR IO" set_global_assignment -name GENERATE_RBF_FILE ON - - + + #============================================================ # UART #============================================================ -#set_location_assignment PIN_AA13 -to UART_TX_0 -#set_location_assignment PIN_AA11 -to UART_RX_0 -#set_location_assignment PIN_Y11 -to UART_TX_1 -#set_location_assignment PIN_AA26 -to UART_RX_1 +#set_location_assignment PIN_AA13 -to UART_TX_0 +#set_location_assignment PIN_AA11 -to UART_RX_0 +#set_location_assignment PIN_Y11 -to UART_TX_1 +#set_location_assignment PIN_AA26 -to UART_RX_1 set_location_assignment PIN_Y15 -to UART_TX_0 set_location_assignment PIN_AA15 -to UART_RX_0 set_location_assignment PIN_AG28 -to UART_TX_1 @@ -50,17 +50,17 @@ set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDCARD_CS[0] set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to SDCARD_MOSI[0] set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to SDCARD_CLK[0] set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to SDCARD_CS[0] - -#============================================================ -# CLOCK -#============================================================ -#set_location_assignment PIN_R8 -to CLOCK_50 + +#============================================================ +# CLOCK +#============================================================ +#set_location_assignment PIN_R8 -to CLOCK_50 set_location_assignment PIN_V11 -to CLOCK_50 set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to CLOCK_50 - -#============================================================ -# LED -#============================================================ + +#============================================================ +# LED +#============================================================ set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[0] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[1] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[2] @@ -77,18 +77,18 @@ set_location_assignment PIN_AF26 -to LED[4] set_location_assignment PIN_AE26 -to LED[5] set_location_assignment PIN_Y16 -to LED[6] set_location_assignment PIN_AA23 -to LED[7] - -#============================================================ -# KEY -#============================================================ + +#============================================================ +# KEY +#============================================================ set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to KEY[0] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to KEY[1] set_location_assignment PIN_AH17 -to KEY[0] set_location_assignment PIN_AH16 -to KEY[1] - -#============================================================ -# SW -#============================================================ + +#============================================================ +# SW +#============================================================ set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[0] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[1] set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[2] @@ -97,10 +97,10 @@ set_location_assignment PIN_Y24 -to SW[0] set_location_assignment PIN_W24 -to SW[1] set_location_assignment PIN_W21 -to SW[2] set_location_assignment PIN_W20 -to SW[3] - -#============================================================ -# SDIO -#============================================================ + +#============================================================ +# SDIO +#============================================================ #set_location_assignment PIN_AF25 -to SDIO_DAT[0] #set_location_assignment PIN_AF23 -to SDIO_DAT[1] #set_location_assignment PIN_AD26 -to SDIO_DAT[2] @@ -112,9 +112,9 @@ set_location_assignment PIN_W20 -to SW[3] #set_location_assignment PIN_AF28 -to TCS #set_location_assignment PIN_AF27 -to TDI #set_location_assignment PIN_AH26 -to TCK - + #set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to SDIO_* - + #set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to TDO #set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to TDI #set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to TCK @@ -123,9 +123,9 @@ set_location_assignment PIN_W20 -to SW[3] #set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to TCS #set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to TDI -#============================================================ -# SDRAM -#============================================================ +#============================================================ +# SDRAM +#============================================================ #set_location_assignment PIN_M7 -to SDRAM_BA[0] #set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_BA[0] #set_location_assignment PIN_M6 -to SDRAM_BA[1] @@ -204,236 +204,236 @@ set_location_assignment PIN_W20 -to SW[3] #set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[11] #set_location_assignment PIN_L4 -to SDRAM_ADDR[12] #set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SDRAM_ADDR[12] - -#============================================================ -# EPCS -#============================================================ -#set_location_assignment PIN_H2 -to EPCS_DATA0 -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to EPCS_DATA0 -#set_location_assignment PIN_H1 -to EPCS_DCLK -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to EPCS_DCLK -#set_location_assignment PIN_D2 -to EPCS_NCSO -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to EPCS_NCSO -#set_location_assignment PIN_C1 -to EPCS_ASDO -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to EPCS_ASDO - -#============================================================ -# Accelerometer and EEPROM -#============================================================ -#set_location_assignment PIN_F2 -to I2C_SCLK -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to I2C_SCLK -#set_location_assignment PIN_F1 -to I2C_SDAT -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to I2C_SDAT -#set_location_assignment PIN_G5 -to G_SENSOR_CS_N -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to G_SENSOR_CS_N -#set_location_assignment PIN_M2 -to G_SENSOR_INT -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to G_SENSOR_INT - -#============================================================ -# ADC -#============================================================ -#set_location_assignment PIN_A10 -to ADC_CS_N -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_CS_N -#set_location_assignment PIN_B10 -to ADC_SADDR -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_SADDR -#set_location_assignment PIN_B14 -to ADC_SCLK -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_SCLK -#set_location_assignment PIN_A9 -to ADC_SDAT -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_SDAT - -#============================================================ -# 2x13 GPIO Header -#============================================================ -#set_location_assignment PIN_A14 -to GPIO_2[0] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[0] -#set_location_assignment PIN_B16 -to GPIO_2[1] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[1] -#set_location_assignment PIN_C14 -to GPIO_2[2] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[2] -#set_location_assignment PIN_C16 -to GPIO_2[3] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[3] -#set_location_assignment PIN_C15 -to GPIO_2[4] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[4] -#set_location_assignment PIN_D16 -to GPIO_2[5] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[5] -#set_location_assignment PIN_D15 -to GPIO_2[6] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[6] -#set_location_assignment PIN_D14 -to GPIO_2[7] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[7] -#set_location_assignment PIN_F15 -to GPIO_2[8] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[8] -#set_location_assignment PIN_F16 -to GPIO_2[9] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[9] -#set_location_assignment PIN_F14 -to GPIO_2[10] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[10] -#set_location_assignment PIN_G16 -to GPIO_2[11] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[11] -#set_location_assignment PIN_G15 -to GPIO_2[12] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[12] -#set_location_assignment PIN_E15 -to GPIO_2_IN[0] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2_IN[0] -#set_location_assignment PIN_E16 -to GPIO_2_IN[1] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2_IN[1] -#set_location_assignment PIN_M16 -to GPIO_2_IN[2] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2_IN[2] - -#============================================================ -# GPIO_0, GPIO_0 connect to GPIO Default -#============================================================ -#set_location_assignment PIN_A8 -to GPIO_0_IN[0] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0_IN[0] -#set_location_assignment PIN_D3 -to GPIO_0[0] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[0] -#set_location_assignment PIN_B8 -to GPIO_0_IN[1] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0_IN[1] -#set_location_assignment PIN_C3 -to GPIO_0[1] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[1] -#set_location_assignment PIN_A2 -to GPIO_0[2] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[2] -#set_location_assignment PIN_A3 -to GPIO_0[3] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[3] -#set_location_assignment PIN_B3 -to GPIO_0[4] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[4] -#set_location_assignment PIN_B4 -to GPIO_0[5] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[5] -#set_location_assignment PIN_A4 -to GPIO_0[6] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[6] -#set_location_assignment PIN_B5 -to GPIO_0[7] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[7] -#set_location_assignment PIN_A5 -to GPIO_0[8] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[8] -#set_location_assignment PIN_D5 -to GPIO_0[9] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[9] -#set_location_assignment PIN_B6 -to GPIO_0[10] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[10] -#set_location_assignment PIN_A6 -to GPIO_0[11] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[11] -#set_location_assignment PIN_B7 -to GPIO_0[12] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[12] -#set_location_assignment PIN_D6 -to GPIO_0[13] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[13] -#set_location_assignment PIN_A7 -to GPIO_0[14] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[14] -#set_location_assignment PIN_C6 -to GPIO_0[15] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[15] -#set_location_assignment PIN_C8 -to GPIO_0[16] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[16] -#set_location_assignment PIN_E6 -to GPIO_0[17] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[17] -#set_location_assignment PIN_E7 -to GPIO_0[18] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[18] -#set_location_assignment PIN_D8 -to GPIO_0[19] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[19] -#set_location_assignment PIN_E8 -to GPIO_0[20] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[20] -#set_location_assignment PIN_F8 -to GPIO_0[21] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[21] -#set_location_assignment PIN_F9 -to GPIO_0[22] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[22] -#set_location_assignment PIN_E9 -to GPIO_0[23] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[23] -#set_location_assignment PIN_C9 -to GPIO_0[24] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[24] -#set_location_assignment PIN_D9 -to GPIO_0[25] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[25] -#set_location_assignment PIN_E11 -to GPIO_0[26] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[26] -#set_location_assignment PIN_E10 -to GPIO_0[27] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[27] -#set_location_assignment PIN_C11 -to GPIO_0[28] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[28] -#set_location_assignment PIN_B11 -to GPIO_0[29] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[29] -#set_location_assignment PIN_A12 -to GPIO_0[30] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[30] -#set_location_assignment PIN_D11 -to GPIO_0[31] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[31] -#set_location_assignment PIN_D12 -to GPIO_0[32] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[32] -#set_location_assignment PIN_B12 -to GPIO_0[33] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[33] - -#============================================================ -# GPIO_1, GPIO_1 connect to GPIO Default -#============================================================ -#set_location_assignment PIN_T9 -to GPIO_1_IN[0] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1_IN[0] -#set_location_assignment PIN_F13 -to GPIO_1[0] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[0] -#set_location_assignment PIN_R9 -to GPIO_1_IN[1] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1_IN[1] -#set_location_assignment PIN_T15 -to GPIO_1[1] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[1] -#set_location_assignment PIN_T14 -to GPIO_1[2] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[2] -#set_location_assignment PIN_T13 -to GPIO_1[3] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[3] -#set_location_assignment PIN_R13 -to GPIO_1[4] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[4] -#set_location_assignment PIN_T12 -to GPIO_1[5] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[5] -#set_location_assignment PIN_R12 -to GPIO_1[6] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[6] -#set_location_assignment PIN_T11 -to GPIO_1[7] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[7] -#set_location_assignment PIN_T10 -to GPIO_1[8] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[8] -#set_location_assignment PIN_R11 -to GPIO_1[9] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[9] -#set_location_assignment PIN_P11 -to GPIO_1[10] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[10] -#set_location_assignment PIN_R10 -to GPIO_1[11] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[11] -#set_location_assignment PIN_N12 -to GPIO_1[12] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[12] -#set_location_assignment PIN_P9 -to GPIO_1[13] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[13] -#set_location_assignment PIN_N9 -to GPIO_1[14] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[14] -#set_location_assignment PIN_N11 -to GPIO_1[15] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[15] -#set_location_assignment PIN_L16 -to GPIO_1[16] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[16] -#set_location_assignment PIN_K16 -to GPIO_1[17] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[17] -#set_location_assignment PIN_R16 -to GPIO_1[18] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[18] -#set_location_assignment PIN_L15 -to GPIO_1[19] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[19] -#set_location_assignment PIN_P15 -to GPIO_1[20] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[20] -#set_location_assignment PIN_P16 -to GPIO_1[21] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[21] -#set_location_assignment PIN_R14 -to GPIO_1[22] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[22] -#set_location_assignment PIN_N16 -to GPIO_1[23] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[23] -#set_location_assignment PIN_N15 -to GPIO_1[24] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[24] -#set_location_assignment PIN_P14 -to GPIO_1[25] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[25] -#set_location_assignment PIN_L14 -to GPIO_1[26] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[26] -#set_location_assignment PIN_N14 -to GPIO_1[27] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[27] -#set_location_assignment PIN_M10 -to GPIO_1[28] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[28] -#set_location_assignment PIN_L13 -to GPIO_1[29] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[29] -#set_location_assignment PIN_J16 -to GPIO_1[30] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[30] -#set_location_assignment PIN_K15 -to GPIO_1[31] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[31] -#set_location_assignment PIN_J13 -to GPIO_1[32] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[32] -#set_location_assignment PIN_J14 -to GPIO_1[33] -#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[33] - -#============================================================ -# End of pin assignments by Terasic System Builder -#============================================================ - - + +#============================================================ +# EPCS +#============================================================ +#set_location_assignment PIN_H2 -to EPCS_DATA0 +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to EPCS_DATA0 +#set_location_assignment PIN_H1 -to EPCS_DCLK +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to EPCS_DCLK +#set_location_assignment PIN_D2 -to EPCS_NCSO +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to EPCS_NCSO +#set_location_assignment PIN_C1 -to EPCS_ASDO +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to EPCS_ASDO + +#============================================================ +# Accelerometer and EEPROM +#============================================================ +#set_location_assignment PIN_F2 -to I2C_SCLK +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to I2C_SCLK +#set_location_assignment PIN_F1 -to I2C_SDAT +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to I2C_SDAT +#set_location_assignment PIN_G5 -to G_SENSOR_CS_N +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to G_SENSOR_CS_N +#set_location_assignment PIN_M2 -to G_SENSOR_INT +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to G_SENSOR_INT + +#============================================================ +# ADC +#============================================================ +#set_location_assignment PIN_A10 -to ADC_CS_N +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_CS_N +#set_location_assignment PIN_B10 -to ADC_SADDR +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_SADDR +#set_location_assignment PIN_B14 -to ADC_SCLK +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_SCLK +#set_location_assignment PIN_A9 -to ADC_SDAT +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_SDAT + +#============================================================ +# 2x13 GPIO Header +#============================================================ +#set_location_assignment PIN_A14 -to GPIO_2[0] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[0] +#set_location_assignment PIN_B16 -to GPIO_2[1] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[1] +#set_location_assignment PIN_C14 -to GPIO_2[2] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[2] +#set_location_assignment PIN_C16 -to GPIO_2[3] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[3] +#set_location_assignment PIN_C15 -to GPIO_2[4] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[4] +#set_location_assignment PIN_D16 -to GPIO_2[5] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[5] +#set_location_assignment PIN_D15 -to GPIO_2[6] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[6] +#set_location_assignment PIN_D14 -to GPIO_2[7] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[7] +#set_location_assignment PIN_F15 -to GPIO_2[8] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[8] +#set_location_assignment PIN_F16 -to GPIO_2[9] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[9] +#set_location_assignment PIN_F14 -to GPIO_2[10] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[10] +#set_location_assignment PIN_G16 -to GPIO_2[11] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[11] +#set_location_assignment PIN_G15 -to GPIO_2[12] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[12] +#set_location_assignment PIN_E15 -to GPIO_2_IN[0] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2_IN[0] +#set_location_assignment PIN_E16 -to GPIO_2_IN[1] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2_IN[1] +#set_location_assignment PIN_M16 -to GPIO_2_IN[2] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2_IN[2] + +#============================================================ +# GPIO_0, GPIO_0 connect to GPIO Default +#============================================================ +#set_location_assignment PIN_A8 -to GPIO_0_IN[0] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0_IN[0] +#set_location_assignment PIN_D3 -to GPIO_0[0] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[0] +#set_location_assignment PIN_B8 -to GPIO_0_IN[1] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0_IN[1] +#set_location_assignment PIN_C3 -to GPIO_0[1] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[1] +#set_location_assignment PIN_A2 -to GPIO_0[2] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[2] +#set_location_assignment PIN_A3 -to GPIO_0[3] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[3] +#set_location_assignment PIN_B3 -to GPIO_0[4] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[4] +#set_location_assignment PIN_B4 -to GPIO_0[5] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[5] +#set_location_assignment PIN_A4 -to GPIO_0[6] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[6] +#set_location_assignment PIN_B5 -to GPIO_0[7] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[7] +#set_location_assignment PIN_A5 -to GPIO_0[8] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[8] +#set_location_assignment PIN_D5 -to GPIO_0[9] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[9] +#set_location_assignment PIN_B6 -to GPIO_0[10] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[10] +#set_location_assignment PIN_A6 -to GPIO_0[11] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[11] +#set_location_assignment PIN_B7 -to GPIO_0[12] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[12] +#set_location_assignment PIN_D6 -to GPIO_0[13] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[13] +#set_location_assignment PIN_A7 -to GPIO_0[14] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[14] +#set_location_assignment PIN_C6 -to GPIO_0[15] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[15] +#set_location_assignment PIN_C8 -to GPIO_0[16] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[16] +#set_location_assignment PIN_E6 -to GPIO_0[17] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[17] +#set_location_assignment PIN_E7 -to GPIO_0[18] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[18] +#set_location_assignment PIN_D8 -to GPIO_0[19] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[19] +#set_location_assignment PIN_E8 -to GPIO_0[20] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[20] +#set_location_assignment PIN_F8 -to GPIO_0[21] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[21] +#set_location_assignment PIN_F9 -to GPIO_0[22] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[22] +#set_location_assignment PIN_E9 -to GPIO_0[23] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[23] +#set_location_assignment PIN_C9 -to GPIO_0[24] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[24] +#set_location_assignment PIN_D9 -to GPIO_0[25] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[25] +#set_location_assignment PIN_E11 -to GPIO_0[26] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[26] +#set_location_assignment PIN_E10 -to GPIO_0[27] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[27] +#set_location_assignment PIN_C11 -to GPIO_0[28] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[28] +#set_location_assignment PIN_B11 -to GPIO_0[29] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[29] +#set_location_assignment PIN_A12 -to GPIO_0[30] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[30] +#set_location_assignment PIN_D11 -to GPIO_0[31] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[31] +#set_location_assignment PIN_D12 -to GPIO_0[32] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[32] +#set_location_assignment PIN_B12 -to GPIO_0[33] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[33] + +#============================================================ +# GPIO_1, GPIO_1 connect to GPIO Default +#============================================================ +#set_location_assignment PIN_T9 -to GPIO_1_IN[0] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1_IN[0] +#set_location_assignment PIN_F13 -to GPIO_1[0] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[0] +#set_location_assignment PIN_R9 -to GPIO_1_IN[1] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1_IN[1] +#set_location_assignment PIN_T15 -to GPIO_1[1] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[1] +#set_location_assignment PIN_T14 -to GPIO_1[2] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[2] +#set_location_assignment PIN_T13 -to GPIO_1[3] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[3] +#set_location_assignment PIN_R13 -to GPIO_1[4] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[4] +#set_location_assignment PIN_T12 -to GPIO_1[5] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[5] +#set_location_assignment PIN_R12 -to GPIO_1[6] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[6] +#set_location_assignment PIN_T11 -to GPIO_1[7] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[7] +#set_location_assignment PIN_T10 -to GPIO_1[8] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[8] +#set_location_assignment PIN_R11 -to GPIO_1[9] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[9] +#set_location_assignment PIN_P11 -to GPIO_1[10] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[10] +#set_location_assignment PIN_R10 -to GPIO_1[11] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[11] +#set_location_assignment PIN_N12 -to GPIO_1[12] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[12] +#set_location_assignment PIN_P9 -to GPIO_1[13] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[13] +#set_location_assignment PIN_N9 -to GPIO_1[14] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[14] +#set_location_assignment PIN_N11 -to GPIO_1[15] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[15] +#set_location_assignment PIN_L16 -to GPIO_1[16] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[16] +#set_location_assignment PIN_K16 -to GPIO_1[17] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[17] +#set_location_assignment PIN_R16 -to GPIO_1[18] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[18] +#set_location_assignment PIN_L15 -to GPIO_1[19] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[19] +#set_location_assignment PIN_P15 -to GPIO_1[20] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[20] +#set_location_assignment PIN_P16 -to GPIO_1[21] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[21] +#set_location_assignment PIN_R14 -to GPIO_1[22] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[22] +#set_location_assignment PIN_N16 -to GPIO_1[23] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[23] +#set_location_assignment PIN_N15 -to GPIO_1[24] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[24] +#set_location_assignment PIN_P14 -to GPIO_1[25] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[25] +#set_location_assignment PIN_L14 -to GPIO_1[26] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[26] +#set_location_assignment PIN_N14 -to GPIO_1[27] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[27] +#set_location_assignment PIN_M10 -to GPIO_1[28] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[28] +#set_location_assignment PIN_L13 -to GPIO_1[29] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[29] +#set_location_assignment PIN_J16 -to GPIO_1[30] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[30] +#set_location_assignment PIN_K15 -to GPIO_1[31] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[31] +#set_location_assignment PIN_J13 -to GPIO_1[32] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[32] +#set_location_assignment PIN_J14 -to GPIO_1[33] +#set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[33] + +#============================================================ +# End of pin assignments by Terasic System Builder +#============================================================ + + 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 @@ -449,13 +449,13 @@ set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to DRAM_ADDR[*] set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to DRAM_CAS_N set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to DRAM_RAS_N set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to DRAM_WE_N - + set_instance_assignment -name SLEW_RATE 2 -to DRAM_DQ* - + set_global_assignment -name ALLOW_ANY_RAM_SIZE_FOR_RECOGNITION ON set_global_assignment -name SYNTH_MESSAGE_LEVEL HIGH - - + + set_global_assignment -name VHDL_FILE ../DE10_nano_zpu_Toplevel.vhd set_global_assignment -name QIP_FILE Clock_50to100.qip set_global_assignment -name SDC_FILE DE10_nano_zpu_constraints.sdc @@ -465,6 +465,7 @@ set_global_assignment -name VHDL_FILE ../cpu/zpu_core_small.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_medium.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo_L2.vhd +set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo_STcache.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_uart_debug.vhd set_global_assignment -name VHDL_FILE ../zpu_soc_pkg.vhd set_global_assignment -name VHDL_FILE ../zpu_soc.vhd diff --git a/build/QMV_zpu.qsf b/build/QMV_zpu.qsf index 467f8a3..b514f8a 100644 --- a/build/QMV_zpu.qsf +++ b/build/QMV_zpu.qsf @@ -425,6 +425,7 @@ set_global_assignment -name VHDL_FILE ../cpu/zpu_core_small.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_medium.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo_L2.vhd +set_global_assignment -name VHDL_FILE ../cpu/zpu_core_evo_STcache.vhd set_global_assignment -name VHDL_FILE ../cpu/zpu_uart_debug.vhd set_global_assignment -name VHDL_FILE ../zpu_soc_pkg.vhd set_global_assignment -name VHDL_FILE ../zpu_soc.vhd