Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Friedrich Beckmann
eds1
Commits
a4a39105
Commit
a4a39105
authored
Jun 23, 2022
by
Friedrich Beckmann
Browse files
add sdc file generation to pnr/makefile
parent
cfd09752
Changes
1
Hide whitespace changes
Inline
Side-by-side
pnr/makefile
View file @
a4a39105
## ----------------------------------------------------------------------------
## Script : makefile
## ----------------------------------------------------------------------------
## Author : Johann Faerber, Friedrich Beckmann
## Company : University of Applied Sciences Augsburg
## ----------------------------------------------------------------------------
## Description: This makefile allows automating design flow with Quartus,
## it is based on a design directory structure shown at
## the end of this file.
## ----------------------------------------------------------------------------
###################################################################
# Main Targets
#
###################################################################
help
:
@
echo
'"make" does intentionally nothing. Type:'
...
...
@@ -22,10 +7,15 @@ help:
@
echo
' "make quartus" to start quartus graphical user interface'
@
echo
' "make clean" to remove all generated files'
$(PROJECT).sdc
:
# create a default timing constraint file assuming CLOCK_50
echo
"create_clock -period 20.000 -name CLOCK_50 CLOCK_50"
>
$(PROJECT)
.sdc
echo
"set_input_delay -clock CLOCK_50 2 [all_inputs]"
>>
$(PROJECT)
.sdc
echo
"set_output_delay -clock CLOCK_50 2 [all_outputs]"
>>
$(PROJECT)
.sdc
qproject
:
$(PROJECT).qpf
$(PROJECT).qpf
:
$(SOURCE_FILES) ../../scripts/create_quartus_project_settings.tcl $(PROJECT)_pins.tcl ../../sim/$(SIM_PROJECT_NAME)/makefile.sources
$(PROJECT).qpf
:
$(SOURCE_FILES) ../../scripts/create_quartus_project_settings.tcl $(PROJECT)_pins.tcl ../../sim/$(SIM_PROJECT_NAME)/makefile.sources
$(PROJECT).sdc
# assign VHDL design files
rm
-rf
quartus_vhdl_source_files.tcl
for
source_file
in
$(SOURCE_FILES)
;
do
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment