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
27be18a6
Commit
27be18a6
authored
Nov 01, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
isim.py: minor rewrite.
parent
e4a947fd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
14 deletions
+6
-14
isim.py
hdlmake/tools/isim.py
+6
-14
No files found.
hdlmake/tools/isim.py
View file @
27be18a6
...
...
@@ -142,20 +142,12 @@ fuse:
# ISim does not have a vmap command to insert additional libraries in
#.ini file.
for
lib
in
libs
:
self
.
write
(
lib
+
shell
.
makefile_slash_char
()
+
"."
+
lib
+
":
\n
"
)
self
.
write
(
' '
.
join
([
"
\t
("
+
shell
.
mkdir_command
(),
lib
,
"&&"
,
shell
.
touch_command
(),
lib
+
shell
.
makefile_slash_char
()
+
"."
+
lib
+
" "
]))
# self.write(' '.join(["&&", "echo", "\""+lib+"="+lib+"/."+lib+"\"
# ", ">>", "xilinxsim.ini) "]))
self
.
write
(
' '
.
join
([
"&&"
,
"echo"
,
lib
+
"="
+
lib
,
" >>"
,
"xilinxsim.ini) "
]))
self
.
write
(
' '
.
join
([
"||"
,
shell
.
del_command
(),
lib
,
"
\n
"
]))
libfile
=
lib
+
shell
.
makefile_slash_char
()
+
"."
+
lib
self
.
write
(
"{}:
\n
"
.
format
(
libfile
))
self
.
write
(
"
\t
({mkdir} {lib} && {touch} {libfile}"
.
format
(
lib
=
lib
,
libfile
=
libfile
,
mkdir
=
shell
.
mkdir_command
(),
touch
=
shell
.
touch_command
()))
self
.
write
(
" && echo {lib}={lib} >> xilinxsim.ini) "
.
format
(
lib
=
lib
))
self
.
write
(
"|| {rm} {lib}
\n
"
.
format
(
lib
=
lib
,
rm
=
shell
.
del_command
()))
self
.
write
(
'
\n
'
)
# Modify xilinxsim.ini file by including the extra local libraries
# self.write(' '.join(["\t(echo """, lib+"="+lib+"/."+lib, ">>",
...
...
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