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
e21f2439
Commit
e21f2439
authored
Mar 23, 2023
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop-vivado-worklib' into 'develop'
Vivado: Compile to --work <library> See merge request
!26
parents
b73be282
00bba9b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vivado_sim.py
hdlmake/tools/vivado_sim.py
+3
-1
No files found.
hdlmake/tools/vivado_sim.py
View file @
e21f2439
...
...
@@ -50,7 +50,7 @@ class ToolVivadoSim(ToolXilinxProject, MakefileSim):
'mrproper'
:
[
"*.wdb"
,
"*.vcd"
]}
SIMULATOR_CONTROLS
=
{
'vlog'
:
'xvlog $<'
,
'vhdl'
:
'xvhdl $<'
,
'vhdl'
:
'xvhdl
--work {work}
$<'
,
'compiler'
:
'xelab -debug all $(TOP_MODULE) '
'-s $(TOP_MODULE)'
}
...
...
@@ -71,6 +71,8 @@ class ToolVivadoSim(ToolXilinxProject, MakefileSim):
def
_makefile_sim_compilation
(
self
):
"""Generate compile simulation Makefile target for Vivado Simulator"""
libs
=
self
.
get_all_libs
()
self
.
_makefile_sim_libs_variables
(
libs
)
self
.
writeln
(
"simulation: $(VERILOG_OBJ) $(VHDL_OBJ)"
)
self
.
writeln
(
"
\t\t
"
+
self
.
SIMULATOR_CONTROLS
[
'compiler'
])
self
.
writeln
()
...
...
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