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
Oran Garrity
vlsilab21_garrity_mikschl
Commits
0066c6d8
Commit
0066c6d8
authored
Mar 13, 2021
by
Friedrich Beckmann
Browse files
added matlab audio_tone - now with matlab subprojects
parent
9afaa73c
Changes
4
Hide whitespace changes
Inline
Side-by-side
matlab/audio/audio.slx
→
matlab/audio/audio
_first
.slx
View file @
0066c6d8
No preview for this file type
matlab/audio/audio_tone.slx
0 → 100644
View file @
0066c6d8
File added
matlab/audio/makefile
View file @
0066c6d8
PROJECT
=
audio
PROJECT
=
audio
_first
TOPLEVEL
=
$(PROJECT)
/ml_audio
include
../makefile
pnr/de1_matlab_audio/makefile
View file @
0066c6d8
MATLAB_PROJECT_NAME
=
audio
PROJECT
=
de1_matlab_
$(MATLAB_PROJECT_NAME)
MATLAB_DIR_NAME
=
audio
MATLAB_PROJECT_NAME
=
audio_first
PROJECT
=
de1_matlab_
$(MATLAB_DIR_NAME)
# Matlab produces a xxx_compile.do file which contains the vhdl files belonging to the project
# Here I produce a list of these source files with full relative path to the matlab project
SIMULINK_PATH
=
../../matlab/
$(MATLAB_
PROJECT
_NAME)
/hdl_prj/hdlsrc/
$(MATLAB_PROJECT_NAME)
SIMULINK_PATH
=
../../matlab/
$(MATLAB_
DIR
_NAME)
/hdl_prj/hdlsrc/
$(MATLAB_PROJECT_NAME)
MATLAB_SOURCE_FILE_NAMES
=
$(
shell
grep
vcom
$(SIMULINK_PATH)
/
*
_compile.do |
sed
"s/vcom
\(
.*
\)
/
\1
/g"
)
MATLAB_SOURCE_FILES
=
$(
foreach
file,
$(MATLAB_SOURCE_FILE_NAMES)
,
$(SIMULINK_PATH)
/
$(file)
)
...
...
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