Skip to content

Commit

Permalink
simple D-flop
Browse files Browse the repository at this point in the history
  • Loading branch information
NestorDP committed Feb 12, 2023
1 parent 4de9ce6 commit 6db19b5
Show file tree
Hide file tree
Showing 20 changed files with 2,089 additions and 0 deletions.
31 changes: 31 additions & 0 deletions bus_breakout/bus_breakout.qpf
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# -------------------------------------------------------------------------- #
#
# Copyright (C) 2022 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 22.1std.0 Build 915 10/25/2022 SC Lite Edition
# Date created = 22:13:25 February 05, 2023
#
# -------------------------------------------------------------------------- #

QUARTUS_VERSION = "22.1"
DATE = "22:13:25 February 05, 2023"

# Revisions

PROJECT_REVISION = "bus_breakout"
359 changes: 359 additions & 0 deletions bus_breakout/bus_breakout.qsf

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions bus_breakout/bus_breakout.qsf.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# -------------------------------------------------------------------------- #
#
# Copyright (C) 2022 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 22.1std.0 Build 915 10/25/2022 SC Lite Edition
# Date created = 22:13:25 February 05, 2023
#
# -------------------------------------------------------------------------- #
#
# Notes:
#
# 1) The default values for assignments are stored in the file:
# bus_breakout_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 FAMILY "MAX 10"
set_global_assignment -name DEVICE 10M50DAF484C7G
set_global_assignment -name TOP_LEVEL_ENTITY bus_breakout
set_global_assignment -name ORIGINAL_QUARTUS_VERSION 22.1STD.0
set_global_assignment -name PROJECT_CREATION_TIME_DATE "22:13:25 FEBRUARY 05, 2023"
set_global_assignment -name LAST_QUARTUS_VERSION "22.1std.0 Lite Edition"
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 Intel FPGA (Verilog)"
set_global_assignment -name EDA_TIME_SCALE "1 ps" -section_id eda_simulation
set_global_assignment -name EDA_OUTPUT_DATA_FORMAT "VERILOG 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
Binary file added bus_breakout/bus_breakout.qws
Binary file not shown.
21 changes: 21 additions & 0 deletions bus_breakout/bus_breakout.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module bus_breakout
(
// Inputs
SW,
// Outputs
LEDR
);

// Port definitions
input [7:0] SW;
output [5:0] LEDR;

// ---------------- Design implementaton ----------

assign LEDR[5:0] = { SW[3:2],
(SW[7] & SW[1]),
(SW[6] & SW[0]),
SW[5:4]
};

endmodule
1 change: 1 addition & 0 deletions bus_breakout/simulation/questa/bus_breakout.sft
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set tool_name "Questa Intel FPGA (Verilog)"
Loading

0 comments on commit 6db19b5

Please sign in to comment.