aboutsummaryrefslogtreecommitdiff
path: root/sim/mux2to1
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mux2to1')
-rw-r--r--sim/mux2to1/makefile67
-rw-r--r--sim/mux2to1/makefile.sources17
-rw-r--r--sim/mux2to1/makefile_equation.sources17
-rw-r--r--sim/mux2to1/makefile_rtl.sources17
-rw-r--r--sim/mux2to1/makefile_structure.sources20
-rw-r--r--sim/mux2to1/makefile_structure_errors.sources20
-rw-r--r--sim/mux2to1/makefile_truthtable.sources17
7 files changed, 175 insertions, 0 deletions
diff --git a/sim/mux2to1/makefile b/sim/mux2to1/makefile
new file mode 100644
index 0000000..c655d61
--- /dev/null
+++ b/sim/mux2to1/makefile
@@ -0,0 +1,67 @@
+## ----------------------------------------------------------------------------
+## Script : makefile
+## ----------------------------------------------------------------------------
+## Author : Johann Faerber, Friedrich Beckmann
+## Company : University of Applied Sciences Augsburg
+## ----------------------------------------------------------------------------
+## Description: This makefile allows automating design flow with ModelSim,
+## it is based on a design directory structure described in
+## ../makefile
+## ----------------------------------------------------------------------------
+
+###################################################################
+# Project Configuration:
+#
+# assign variable PROJECT with the top level project name
+#
+# Prerequisite:
+# - mandatory design directory structure (see end of file)
+# - assumes file name of testbench t_$(PROJECT).vhd
+###################################################################
+
+PROJECT = mux2to1
+
+include ./makefile.sources
+
+# Add here the testbench file
+SOURCE_FILES = $(SYN_SOURCE_FILES) \
+../../src/t_$(PROJECT).vhd
+
+include ../makefile
+
+## ----------------------------------------------------------------------------
+## Description:
+## ------------
+## assumes the following design directory structure as prerequisite
+##
+## DigitaltechnikPraktikum
+## |
+## +---src
+## | and2gate_equation.vhd
+## | invgate_equation.vhd
+## | mux2to1_structure.vhd
+## | or2gate_equation.vhd
+## | t_mux2to1.vhd
+## | de1_mux2to1_structure.vhd
+## |
+## +---sim
+## | | makefile
+## | |
+## | \---mux2to1
+## | makefile
+## | makefile.sources
+## |
+## +---pnr
+## | | makefile
+## | |
+## | \---de1_mux2to1
+## | de1_mux2to1_pins.tcl
+## | makefile
+## |
+## \---scripts
+## de1_pin_assignments_minimumio.csv
+## de1_pin_assignments_minimumio.tcl
+## modelsim.ini
+## quartus_project_settings.tcl
+## ----------------------------------------------------------------------------
+
diff --git a/sim/mux2to1/makefile.sources b/sim/mux2to1/makefile.sources
new file mode 100644
index 0000000..880fac4
--- /dev/null
+++ b/sim/mux2to1/makefile.sources
@@ -0,0 +1,17 @@
+## ----------------------------------------------------------------------------
+## Script : makefile.sources
+## ----------------------------------------------------------------------------
+## Author : Johann Faerber
+## Company : University of Applied Sciences Augsburg
+## ----------------------------------------------------------------------------
+## Description: provide all the VHDL source files in the variable SYN_SOURCE_FILES
+## Attention !!!
+## -------------
+## Do not forget a new line after the final source file !
+## ----------------------------------------------------------------------------
+
+SYN_SOURCE_FILES = \
+../../src/mux2to1_equation.vhd \
+
+# do not delete this line
+# -----------------------------------------------------------------------------
diff --git a/sim/mux2to1/makefile_equation.sources b/sim/mux2to1/makefile_equation.sources
new file mode 100644
index 0000000..880fac4
--- /dev/null
+++ b/sim/mux2to1/makefile_equation.sources
@@ -0,0 +1,17 @@
+## ----------------------------------------------------------------------------
+## Script : makefile.sources
+## ----------------------------------------------------------------------------
+## Author : Johann Faerber
+## Company : University of Applied Sciences Augsburg
+## ----------------------------------------------------------------------------
+## Description: provide all the VHDL source files in the variable SYN_SOURCE_FILES
+## Attention !!!
+## -------------
+## Do not forget a new line after the final source file !
+## ----------------------------------------------------------------------------
+
+SYN_SOURCE_FILES = \
+../../src/mux2to1_equation.vhd \
+
+# do not delete this line
+# -----------------------------------------------------------------------------
diff --git a/sim/mux2to1/makefile_rtl.sources b/sim/mux2to1/makefile_rtl.sources
new file mode 100644
index 0000000..7dd9c7d
--- /dev/null
+++ b/sim/mux2to1/makefile_rtl.sources
@@ -0,0 +1,17 @@
+## ----------------------------------------------------------------------------
+## Script : makefile.sources
+## ----------------------------------------------------------------------------
+## Author : Johann Faerber
+## Company : University of Applied Sciences Augsburg
+## ----------------------------------------------------------------------------
+## Description: provide all the VHDL source files in the variable SYN_SOURCE_FILES
+## Attention !!!
+## -------------
+## Do not forget a new line after the final source file !
+## ----------------------------------------------------------------------------
+
+SYN_SOURCE_FILES = \
+../../src/mux2to1_rtl.vhd \
+
+# do not delete this line
+# -----------------------------------------------------------------------------
diff --git a/sim/mux2to1/makefile_structure.sources b/sim/mux2to1/makefile_structure.sources
new file mode 100644
index 0000000..f797190
--- /dev/null
+++ b/sim/mux2to1/makefile_structure.sources
@@ -0,0 +1,20 @@
+## ----------------------------------------------------------------------------
+## Script : makefile.sources
+## ----------------------------------------------------------------------------
+## Author : Johann Faerber
+## Company : University of Applied Sciences Augsburg
+## ----------------------------------------------------------------------------
+## Description: provide all the VHDL source files in the variable SYN_SOURCE_FILES
+## Attention !!!
+## -------------
+## Do not forget a new line after the final source file !
+## ----------------------------------------------------------------------------
+
+SYN_SOURCE_FILES = \
+../../src/and2gate_equation.vhd \
+../../src/or2gate_equation.vhd \
+../../src/invgate_equation.vhd \
+../../src/mux2to1_structure.vhd \
+
+# do not delete this line
+# ----------------------------------------------------------------------------- \ No newline at end of file
diff --git a/sim/mux2to1/makefile_structure_errors.sources b/sim/mux2to1/makefile_structure_errors.sources
new file mode 100644
index 0000000..c412baf
--- /dev/null
+++ b/sim/mux2to1/makefile_structure_errors.sources
@@ -0,0 +1,20 @@
+## ----------------------------------------------------------------------------
+## Script : makefile.sources
+## ----------------------------------------------------------------------------
+## Author : Johann Faerber
+## Company : University of Applied Sciences Augsburg
+## ----------------------------------------------------------------------------
+## Description: provide all the VHDL source files in the variable SYN_SOURCE_FILES
+## Attention !!!
+## -------------
+## Do not forget a new line after the final source file !
+## ----------------------------------------------------------------------------
+
+SYN_SOURCE_FILES = \
+../../src/and2gate_equation.vhd \
+../../src/or2gate_equation.vhd \
+../../src/invgate_equation.vhd \
+../../src/mux2to1_structure_errors.vhd \
+
+# do not delete this line
+# -----------------------------------------------------------------------------
diff --git a/sim/mux2to1/makefile_truthtable.sources b/sim/mux2to1/makefile_truthtable.sources
new file mode 100644
index 0000000..e815b55
--- /dev/null
+++ b/sim/mux2to1/makefile_truthtable.sources
@@ -0,0 +1,17 @@
+## ----------------------------------------------------------------------------
+## Script : makefile.sources
+## ----------------------------------------------------------------------------
+## Author : Johann Faerber
+## Company : University of Applied Sciences Augsburg
+## ----------------------------------------------------------------------------
+## Description: provide all the VHDL source files in the variable SYN_SOURCE_FILES
+## Attention !!!
+## -------------
+## Do not forget a new line after the final source file !
+## ----------------------------------------------------------------------------
+
+SYN_SOURCE_FILES = \
+../../src/mux2to1_truthtable.vhd \
+
+# do not delete this line
+# -----------------------------------------------------------------------------