Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
490ec5b6
Commit
490ec5b6
authored
May 20, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the O.S. specific touch command in the Makefile for vsim-like tools
parent
7fbdcc42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sim_makefile_support.py
hdlmake/tools/sim_makefile_support.py
+4
-4
No files found.
hdlmake/tools/sim_makefile_support.py
View file @
490ec5b6
...
...
@@ -126,8 +126,8 @@ class VsimMakefileWriter(ToolSim):
self
.
write
(
lib
+
path_mod
.
slash_char
()
+
"."
+
lib
+
":
\n
"
)
vmap_command
=
"vmap $(VMAP_FLAGS)"
self
.
write
(
' '
.
join
([
"
\t
(vlib"
,
lib
,
"&&"
,
vmap_command
,
lib
,
"&&"
,
"touch"
,
lib
+
path_mod
.
slash_char
()
+
"."
+
lib
,
")"
]))
path_mod
.
touch_command
()
,
lib
+
path_mod
.
slash_char
()
+
"."
+
lib
,
")"
]))
self
.
write
(
' '
.
join
([
"||"
,
path_mod
.
del_command
(),
lib
,
"
\n
"
]))
self
.
write
(
'
\n\n
'
)
# rules for all _primary.dat files for sv
...
...
@@ -164,7 +164,7 @@ class VsimMakefileWriter(ToolSim):
if
isinstance
(
vlog
,
SVFile
)
else
""
)
self
.
writeln
(
compile_line
)
self
.
write
(
"
\t\t
@"
+
path_mod
.
mkdir_command
()
+
" $(dir $@)"
)
self
.
writeln
(
" &&
touch
$@
\n\n
"
)
self
.
writeln
(
" &&
"
+
path_mod
.
touch_command
()
+
"
$@
\n\n
"
)
self
.
writeln
()
# list rules for all _primary.dat files for vhdl
for
vhdl
in
fileset
.
filter
(
VHDLFile
):
...
...
@@ -188,4 +188,4 @@ class VsimMakefileWriter(ToolSim):
self
.
writeln
(
' '
.
join
([
"
\t\t
vcom $(VCOM_FLAGS)"
,
vhdl
.
vcom_opt
,
"-work"
,
lib
,
"$< "
]))
self
.
writeln
(
"
\t\t
@"
+
path_mod
.
mkdir_command
()
+
" $(dir $@) && touch
$@
\n\n
"
)
" $(dir $@) && "
+
path_mod
.
touch_command
()
+
"
$@
\n\n
"
)
Write
Preview
Markdown
is supported
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