Files
TroubleElectrical d962a1b557 Added code to display current PC,
Removed Blanking from 7seg 4 digits,
Changed reset to a switch rather than button
Compiled working version for board
2026-10-16 14:27:29 +11:00

130 lines
7.0 KiB
Plaintext

# -------------------------------------------------------------------------- #
#
# Copyright (C) 2025 Altera Corporation. All rights reserved.
# Your use of Altera 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 Altera Program License
# Subscription Agreement, the Altera Quartus Prime License Agreement,
# the Altera 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
# Altera and sold by Altera or its authorized distributors. Please
# refer to the Altera Software License Subscription Agreements
# on the Quartus Prime software download page.
#
# -------------------------------------------------------------------------- #
#
# Quartus Prime
# Version 25.1std.0 Build 1129 10/21/2025 SC Lite Edition
# Date created = 12:03:16 October 13, 2026
#
# -------------------------------------------------------------------------- #
#
# Notes:
#
# 1) The default values for assignments are stored in the file:
# assignment2_assignment_defaults.qdf
# If this file doesn't exist, see file:
# assignment_defaults.qdf
#
# 2) Intel 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.
#
# -------------------------------------------------------------------------- #
set_global_assignment -name VERILOG_MACRO QUARTUS_SYNTH
set_global_assignment -name NUM_PARALLEL_PROCESSORS 2
set_global_assignment -name FAMILY "Cyclone V"
set_global_assignment -name DEVICE 5CGXFC5C6F27C7
set_global_assignment -name TOP_LEVEL_ENTITY assignment2
set_global_assignment -name ORIGINAL_QUARTUS_VERSION 25.1STD.0
set_global_assignment -name PROJECT_CREATION_TIME_DATE "12:03:16 OCTOBER 13, 2026"
set_global_assignment -name LAST_QUARTUS_VERSION "25.1std.0 Lite Edition"
set_global_assignment -name SYSTEMVERILOG_FILE ../../modules/assignment2.sv
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 256
set_global_assignment -name EDA_SIMULATION_TOOL "Questa Altera FPGA (SystemVerilog)"
set_global_assignment -name EDA_TIME_SCALE "1 ps" -section_id eda_simulation
set_global_assignment -name EDA_OUTPUT_DATA_FORMAT "SYSTEMVERILOG HDL" -section_id eda_simulation
set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_timing
set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_symbol
set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_signal_integrity
set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_boundary_scan
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_location_assignment PIN_AE19 -to HID_Register[4]
set_location_assignment PIN_Y11 -to HID_Register[3]
set_location_assignment PIN_AC10 -to HID_Register[2]
set_location_assignment PIN_V10 -to HID_Register[1]
set_instance_assignment -name IO_STANDARD "1.2 V" -to HID_Register[4]
set_instance_assignment -name IO_STANDARD "1.2 V" -to HID_Register[3]
set_instance_assignment -name IO_STANDARD "1.2 V" -to HID_Register[2]
set_instance_assignment -name IO_STANDARD "1.2 V" -to HID_Register[1]
set_location_assignment PIN_AB10 -to HID_Register[0]
set_instance_assignment -name IO_STANDARD "1.2 V" -to HID_Register[0]
set_instance_assignment -name IO_STANDARD "1.2 V" -to HID_Register
set_location_assignment PIN_W11 -to HID_PC[0]
set_location_assignment PIN_AC8 -to HID_Hi_Low[0]
set_instance_assignment -name IO_STANDARD "1.2 V" -to HID_Hi_Low[0]
set_instance_assignment -name IO_STANDARD "1.2 V" -to HID_PC[0]
set_location_assignment PIN_Y16 -to clk[0]
set_instance_assignment -name IO_STANDARD "1.2 V" -to clk[0]
set_location_assignment PIN_Y18 -to out_seg_0[7]
set_location_assignment PIN_Y19 -to out_seg_0[6]
set_location_assignment PIN_Y20 -to out_seg_0[5]
set_location_assignment PIN_W18 -to out_seg_0[4]
set_location_assignment PIN_V17 -to out_seg_0[3]
set_location_assignment PIN_V18 -to out_seg_0[2]
set_location_assignment PIN_V19 -to out_seg_0[1]
set_location_assignment PIN_AF24 -to out_seg_1[7]
set_location_assignment PIN_AC19 -to out_seg_1[6]
set_location_assignment PIN_AE25 -to out_seg_1[5]
set_location_assignment PIN_AE26 -to out_seg_1[4]
set_location_assignment PIN_AB19 -to out_seg_1[3]
set_location_assignment PIN_AD26 -to out_seg_1[2]
set_location_assignment PIN_AA18 -to out_seg_1[1]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_0[7]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_0[6]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_0[5]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_0[4]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_0[3]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_0[2]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_0[1]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_1[7]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_1[6]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_1[5]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_1[4]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_1[3]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_1[2]
set_instance_assignment -name IO_STANDARD "1.2 V" -to out_seg_1[1]
set_location_assignment PIN_AD7 -to out_seg_2[1]
set_location_assignment PIN_W20 -to out_seg_2[7]
set_location_assignment PIN_AD6 -to out_seg_2[2]
set_location_assignment PIN_U20 -to out_seg_2[3]
set_location_assignment PIN_V22 -to out_seg_2[4]
set_location_assignment PIN_V20 -to out_seg_2[5]
set_location_assignment PIN_W21 -to out_seg_2[6]
set_location_assignment PIN_AC22 -to out_seg_3[7]
set_location_assignment PIN_Y24 -to out_seg_3[1]
set_location_assignment PIN_Y23 -to out_seg_3[2]
set_location_assignment PIN_AA23 -to out_seg_3[3]
set_location_assignment PIN_AA22 -to out_seg_3[4]
set_location_assignment PIN_AC24 -to out_seg_3[5]
set_location_assignment PIN_AC23 -to out_seg_3[6]
set_location_assignment PIN_AC9 -to rst[0]
set_instance_assignment -name IO_STANDARD "1.2 V" -to rst[0]
set_location_assignment PIN_F7 -to out_seg_0[0]
set_location_assignment PIN_F6 -to out_seg_1[0]
set_location_assignment PIN_G6 -to out_seg_2[0]
set_location_assignment PIN_G7 -to out_seg_3[0]
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top