mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-22 14:09:16 +01:00
332 lines
17 KiB
Plaintext
332 lines
17 KiB
Plaintext
# -------------------------------------------------------------------------- #
|
|
#
|
|
# Copyright (C) 2020 Intel Corporation. All rights reserved.
|
|
# Your use of Intel Corporation's design tools, logic functions
|
|
# and other software and tools, and any 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 FPGA IP 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, at
|
|
# https://fpgasoftware.intel.com/eula.
|
|
#
|
|
# -------------------------------------------------------------------------- #
|
|
#
|
|
# Quartus Prime
|
|
# Version 20.1.1 Build 720 11/11/2020 SJ Lite Edition
|
|
# Date created = 00:28:50 September 07, 2021
|
|
#
|
|
# -------------------------------------------------------------------------- #
|
|
#
|
|
# Notes:
|
|
#
|
|
# 1) The default values for assignments are stored in the file:
|
|
# SummerCart64_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
|
|
# ========================
|
|
set_global_assignment -name ORIGINAL_QUARTUS_VERSION 20.1.1
|
|
set_global_assignment -name PROJECT_CREATION_TIME_DATE "10:53:32 AUGUST 01, 2021"
|
|
set_global_assignment -name LAST_QUARTUS_VERSION "20.1.1 Lite Edition"
|
|
set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output_files
|
|
set_global_assignment -name NUM_PARALLEL_PROCESSORS ALL
|
|
set_global_assignment -name FLOW_ENABLE_POWER_ANALYZER ON
|
|
set_global_assignment -name QSYS_FILE rtl/intel/flash/intel_flash.qsys
|
|
set_global_assignment -name QSYS_FILE rtl/intel/snp/intel_snp.qsys
|
|
set_global_assignment -name QIP_FILE rtl/intel/fifo/intel_fifo_8.qip
|
|
set_global_assignment -name QIP_FILE rtl/intel/gpio/intel_gpio_ddro.qip
|
|
set_global_assignment -name QIP_FILE rtl/intel/pll/intel_pll.qip
|
|
set_global_assignment -name SDC_FILE SummerCart64.sdc
|
|
set_global_assignment -name SIGNALTAP_FILE stp.stp
|
|
set_global_assignment -name SYSTEMVERILOG_FILE cpu/picorv32/picorv32.v
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_bootloader.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_bus.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_cfg.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_dma.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_flashram.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_gpio.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_i2c.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_ram.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_sdram.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_si.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_soc.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_uart.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_usb.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/cpu/cpu_wrapper.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/memory/memory_flash.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/memory/memory_sdram.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/n64/n64_bootloader.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/n64/n64_bus.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/n64/n64_cfg.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/n64/n64_dd.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/n64/n64_flashram.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/n64/n64_pi.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/n64/n64_pi_fifo.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/n64/n64_sdram.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/n64/n64_si.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/n64/n64_soc.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/SummerCart64.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/system/config.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/system/sc64.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/system/system.sv
|
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/usb/usb_ft1248.sv
|
|
set_global_assignment -name SIGNALTAP_FILE output_files/signaltap.stp
|
|
set_global_assignment -name SLD_FILE db/signaltap_auto_stripped.stp
|
|
|
|
# Pin & Location Assignments
|
|
# ==========================
|
|
set_location_assignment PIN_6 -to o_usb_clk
|
|
set_location_assignment PIN_7 -to io_usb_miosi[2]
|
|
set_location_assignment PIN_8 -to io_usb_miosi[3]
|
|
set_location_assignment PIN_10 -to io_usb_miosi[0]
|
|
set_location_assignment PIN_11 -to io_usb_miosi[1]
|
|
set_location_assignment PIN_12 -to i_uart_rxd
|
|
set_location_assignment PIN_13 -to o_uart_txd
|
|
set_location_assignment PIN_14 -to i_uart_cts
|
|
set_location_assignment PIN_15 -to o_uart_rts
|
|
set_location_assignment PIN_17 -to o_led
|
|
set_location_assignment PIN_21 -to o_rtc_scl
|
|
set_location_assignment PIN_22 -to io_rtc_sda
|
|
set_location_assignment PIN_24 -to io_n64_si_dq
|
|
set_location_assignment PIN_25 -to i_n64_nmi
|
|
set_location_assignment PIN_26 -to i_clk
|
|
set_location_assignment PIN_27 -to i_n64_reset
|
|
set_location_assignment PIN_28 -to i_n64_si_clk
|
|
set_location_assignment PIN_29 -to io_n64_cic_clk
|
|
set_location_assignment PIN_30 -to io_n64_cic_dq
|
|
set_location_assignment PIN_32 -to io_n64_pi_ad[7]
|
|
set_location_assignment PIN_33 -to io_n64_pi_ad[8]
|
|
set_location_assignment PIN_38 -to io_n64_pi_ad[6]
|
|
set_location_assignment PIN_39 -to io_n64_pi_ad[9]
|
|
set_location_assignment PIN_41 -to io_n64_pi_ad[5]
|
|
set_location_assignment PIN_43 -to io_n64_pi_ad[10]
|
|
set_location_assignment PIN_44 -to io_n64_pi_ad[4]
|
|
set_location_assignment PIN_45 -to io_n64_pi_ad[11]
|
|
set_location_assignment PIN_46 -to i_n64_pi_aleh
|
|
set_location_assignment PIN_47 -to i_n64_pi_read
|
|
set_location_assignment PIN_48 -to i_n64_pi_write
|
|
set_location_assignment PIN_50 -to i_n64_pi_alel
|
|
set_location_assignment PIN_52 -to io_n64_pi_ad[12]
|
|
set_location_assignment PIN_54 -to io_n64_pi_ad[3]
|
|
set_location_assignment PIN_55 -to io_n64_pi_ad[13]
|
|
set_location_assignment PIN_56 -to io_n64_pi_ad[2]
|
|
set_location_assignment PIN_57 -to io_n64_pi_ad[14]
|
|
set_location_assignment PIN_58 -to io_n64_pi_ad[1]
|
|
set_location_assignment PIN_59 -to io_n64_pi_ad[15]
|
|
set_location_assignment PIN_60 -to io_n64_pi_ad[0]
|
|
set_location_assignment PIN_61 -to o_sdram_a[4]
|
|
set_location_assignment PIN_62 -to o_sdram_a[5]
|
|
set_location_assignment PIN_64 -to o_sdram_a[6]
|
|
set_location_assignment PIN_65 -to o_sdram_a[7]
|
|
set_location_assignment PIN_66 -to o_sdram_a[8]
|
|
set_location_assignment PIN_69 -to o_sdram_a[9]
|
|
set_location_assignment PIN_70 -to o_sdram_a[11]
|
|
set_location_assignment PIN_74 -to o_sdram_a[12]
|
|
set_location_assignment PIN_75 -to o_sdram_clk
|
|
set_location_assignment PIN_76 -to o_sdram_a[3]
|
|
set_location_assignment PIN_77 -to o_sdram_a[2]
|
|
set_location_assignment PIN_78 -to o_sdram_a[1]
|
|
set_location_assignment PIN_79 -to o_sdram_a[0]
|
|
set_location_assignment PIN_80 -to o_sdram_a[10]
|
|
set_location_assignment PIN_81 -to o_sdram_ba[1]
|
|
set_location_assignment PIN_84 -to o_sdram_ba[0]
|
|
set_location_assignment PIN_85 -to o_sdram_cs
|
|
set_location_assignment PIN_86 -to o_sdram_ras
|
|
set_location_assignment PIN_87 -to o_sdram_cas
|
|
set_location_assignment PIN_88 -to o_sdram_we
|
|
set_location_assignment PIN_89 -to io_sdram_dq[7]
|
|
set_location_assignment PIN_90 -to io_sdram_dq[6]
|
|
set_location_assignment PIN_91 -to io_sdram_dq[5]
|
|
set_location_assignment PIN_92 -to io_sdram_dq[4]
|
|
set_location_assignment PIN_93 -to io_sdram_dq[3]
|
|
set_location_assignment PIN_96 -to io_sdram_dq[2]
|
|
set_location_assignment PIN_97 -to io_sdram_dq[1]
|
|
set_location_assignment PIN_98 -to io_sdram_dq[0]
|
|
set_location_assignment PIN_99 -to io_sdram_dq[8]
|
|
set_location_assignment PIN_100 -to io_sdram_dq[9]
|
|
set_location_assignment PIN_101 -to io_sdram_dq[10]
|
|
set_location_assignment PIN_102 -to io_sdram_dq[11]
|
|
set_location_assignment PIN_105 -to io_sdram_dq[12]
|
|
set_location_assignment PIN_106 -to io_sdram_dq[13]
|
|
set_location_assignment PIN_110 -to io_sdram_dq[14]
|
|
set_location_assignment PIN_111 -to io_sdram_dq[15]
|
|
set_location_assignment PIN_112 -to io_sd_dat[1]
|
|
set_location_assignment PIN_113 -to io_sd_dat[0]
|
|
set_location_assignment PIN_114 -to o_sd_clk
|
|
set_location_assignment PIN_118 -to io_sd_cmd
|
|
set_location_assignment PIN_119 -to io_sd_dat[3]
|
|
set_location_assignment PIN_120 -to io_sd_dat[2]
|
|
set_location_assignment PIN_123 -to o_n64_irq
|
|
set_location_assignment PIN_127 -to io_avr_mosi
|
|
set_location_assignment PIN_130 -to io_flash_dq[0]
|
|
set_location_assignment PIN_131 -to o_flash_clk
|
|
set_location_assignment PIN_132 -to io_flash_dq[3]
|
|
set_location_assignment PIN_134 -to o_flash_cs
|
|
set_location_assignment PIN_135 -to io_flash_dq[1]
|
|
set_location_assignment PIN_136 -to io_flash_dq[2]
|
|
set_location_assignment PIN_138 -to i_usb_pwren
|
|
set_location_assignment PIN_140 -to o_usb_cs
|
|
set_location_assignment PIN_141 -to i_usb_miso
|
|
|
|
# Classic Timing Assignments
|
|
# ==========================
|
|
set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
|
|
set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
|
|
set_global_assignment -name TIMING_ANALYZER_MULTICORNER_ANALYSIS ON
|
|
|
|
# Compiler Assignments
|
|
# ====================
|
|
set_global_assignment -name OPTIMIZATION_MODE "HIGH PERFORMANCE EFFORT"
|
|
|
|
# Analysis & Synthesis Assignments
|
|
# ================================
|
|
set_global_assignment -name FAMILY "MAX 10"
|
|
set_global_assignment -name DEVICE_FILTER_PACKAGE EQFP
|
|
set_global_assignment -name DEVICE_FILTER_PIN_COUNT 144
|
|
set_global_assignment -name DEVICE_FILTER_SPEED_GRADE 8
|
|
set_global_assignment -name PROJECT_IP_REGENERATION_POLICY ALWAYS_REGENERATE_IP
|
|
set_global_assignment -name VHDL_INPUT_VERSION VHDL_2008
|
|
set_global_assignment -name VHDL_SHOW_LMF_MAPPING_MESSAGES OFF
|
|
set_global_assignment -name VERILOG_INPUT_VERSION SYSTEMVERILOG_2005
|
|
set_global_assignment -name VERILOG_SHOW_LMF_MAPPING_MESSAGES OFF
|
|
set_global_assignment -name TOP_LEVEL_ENTITY SummerCart64
|
|
|
|
# Fitter Assignments
|
|
# ==================
|
|
set_global_assignment -name DEVICE 10M08SCE144C8G
|
|
set_global_assignment -name ERROR_CHECK_FREQUENCY_DIVISOR 256
|
|
set_global_assignment -name ENABLE_CONFIGURATION_PINS OFF
|
|
set_global_assignment -name ENABLE_BOOT_SEL_PIN OFF
|
|
set_global_assignment -name INTERNAL_FLASH_UPDATE_MODE "SINGLE COMP IMAGE"
|
|
set_global_assignment -name CRC_ERROR_OPEN_DRAIN OFF
|
|
set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "3.3-V LVTTL"
|
|
|
|
# Assembler Assignments
|
|
# =====================
|
|
set_global_assignment -name ENABLE_OCT_DONE OFF
|
|
set_global_assignment -name EXTERNAL_FLASH_FALLBACK_ADDRESS 00000000
|
|
set_global_assignment -name USE_CONFIGURATION_DEVICE OFF
|
|
|
|
# Signal Tap Assignments
|
|
# ======================
|
|
set_global_assignment -name ENABLE_SIGNALTAP ON
|
|
set_global_assignment -name USE_SIGNALTAP_FILE output_files/signaltap.stp
|
|
|
|
# Power Estimation Assignments
|
|
# ============================
|
|
set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "NO HEAT SINK WITH STILL AIR"
|
|
set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)"
|
|
set_global_assignment -name POWER_DEFAULT_INPUT_IO_TOGGLE_RATE "12.5 %"
|
|
|
|
# Advanced I/O Timing Assignments
|
|
# ===============================
|
|
set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -rise
|
|
set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -fall
|
|
set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -rise
|
|
set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -fall
|
|
|
|
# --------------------------
|
|
# start ENTITY(SummerCart64)
|
|
|
|
# Pin & Location Assignments
|
|
# ==========================
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to io_usb_miosi[*]
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to i_uart_rxd
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to i_uart_cts
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to io_rtc_sda
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to io_n64_si_dq
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to i_n64_nmi
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to i_n64_reset
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to i_n64_si_clk
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to io_n64_pi_ad[*]
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to i_n64_pi_aleh
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to i_n64_pi_read
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to i_n64_pi_write
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to i_n64_pi_alel
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to io_sdram_dq[*]
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to io_sd_*
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to i_usb_pwren
|
|
set_instance_assignment -name FAST_INPUT_REGISTER ON -to i_usb_miso
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to o_usb_clk
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to io_usb_miosi[*]
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to o_uart_txd
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to o_uart_rts
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to o_rtc_scl
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to io_rtc_sda
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to io_n64_pi_ad[*]
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to o_sdram_*
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to io_sdram_dq[*]
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to o_sd_clk
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to io_sd_*
|
|
set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to o_usb_cs
|
|
set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to io_usb_miosi[*]
|
|
set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to io_n64_pi_ad[*]
|
|
set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to io_sdram_dq[*]
|
|
set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to io_sd_*
|
|
set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to io_rtc_sda
|
|
|
|
# Fitter Assignments
|
|
# ==================
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to io_usb_miosi[*]
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to i_n64_nmi
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to i_uart_rxd
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to i_uart_cts
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to io_n64_si_dq
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to i_n64_reset
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to i_n64_si_clk
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to i_n64_pi_aleh
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to i_n64_pi_read
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to i_n64_pi_write
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to i_n64_pi_alel
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to o_n64_irq
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to i_usb_pwren
|
|
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to i_usb_miso
|
|
|
|
# start DESIGN_PARTITION(Top)
|
|
# ---------------------------
|
|
|
|
# Incremental Compilation Assignments
|
|
# ===================================
|
|
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_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
|
|
|
|
# end DESIGN_PARTITION(Top)
|
|
# -------------------------
|
|
|
|
# end ENTITY(SummerCart64)
|
|
# ------------------------
|
|
|
|
# ------------------------------
|
|
# start ENTITY(altera_gpio_lite)
|
|
|
|
# Project-Wide Assignments
|
|
# ========================
|
|
|
|
# end ENTITY(altera_gpio_lite)
|
|
# ----------------------------
|
|
|
|
# -----------------------------
|
|
# start ENTITY(intel_gpio_ddro)
|
|
|
|
# Project-Wide Assignments
|
|
# ========================
|
|
|
|
# end ENTITY(intel_gpio_ddro)
|
|
# --------------------------- |