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
66d9f8e8
Commit
66d9f8e8
authored
Sep 07, 2016
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ISim not getting the right 'ini' file
parent
32141242
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
isim.py
hdlmake/tools/isim.py
+5
-4
No files found.
hdlmake/tools/isim.py
View file @
66d9f8e8
...
...
@@ -70,10 +70,11 @@ class ToolISim(ToolSim):
"""Print the top section of the Makefile for Xilinx ISim"""
top_module
=
self
.
top_module
def
__get_xilinxsim_ini_dir
(
env
):
def
__get_xilinxsim_ini_dir
():
"""Get Xilinx ISim ini simulation file"""
if
env
[
"isim_path"
]:
xilinx_dir
=
str
(
os
.
path
.
join
(
env
[
"isim_path"
],
".."
,
".."
))
if
top_module
.
manifest_dict
[
"sim_path"
]:
xilinx_dir
=
str
(
os
.
path
.
join
(
top_module
.
manifest_dict
[
"sim_path"
],
".."
,
".."
))
else
:
logging
.
error
(
"Cannot calculate xilinx tools base directory"
)
quit
()
...
...
@@ -97,7 +98,7 @@ PWD := $(shell pwd)
TOP_MODULE := """
+
top_module
.
manifest_dict
[
"sim_top"
]
+
"""
FUSE_OUTPUT ?= isim_proj
XILINX_INI_PATH := """
+
__get_xilinxsim_ini_dir
(
top_module
.
pool
.
env
)
+
XILINX_INI_PATH := """
+
__get_xilinxsim_ini_dir
()
+
"""
"""
)
...
...
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