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
2
Merge Requests
2
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
18f7e682
Commit
18f7e682
authored
Mar 23, 2023
by
Benny Simonsen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into develop-specify_top_library
parents
2a98971e
b1c7ba85
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
vivado_sim.py
hdlmake/tools/vivado_sim.py
+3
-1
Makefile.ref
testsuite/019vsim/Makefile.ref
+4
-1
test_all.py
testsuite/test_all.py
+2
-2
No files found.
hdlmake/tools/vivado_sim.py
View file @
18f7e682
...
...
@@ -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
()
...
...
testsuite/019vsim/Makefile.ref
View file @
18f7e682
...
...
@@ -14,11 +14,14 @@ VHDL_SRC := ../files/gate.vhdl \
VHDL_OBJ
:=
work/gate/.gate_vhdl
\
LIBS
:=
work
LIB_IND
:=
work/.work
simulation
:
$(VERILOG_OBJ) $(VHDL_OBJ)
xelab
-debug
all
$(TOP_MODULE)
-s
$(TOP_MODULE)
work/gate/.gate_vhdl
:
../files/gate.vhdl
xvhdl
$<
xvhdl
--work
work
$<
@
mkdir
-p
$
(
dir
$@
)
&&
touch
$@
...
...
testsuite/test_all.py
View file @
18f7e682
...
...
@@ -190,10 +190,10 @@ def test_riviera017():
def
test_vivado018
():
run_compare
(
path
=
"018vivado"
)
def
test_vivado_props
():
def
test_vivado_props
054
():
run_compare
(
path
=
"054vivado_props"
)
def
test_vivado_sim
():
def
test_vivado_sim
019
():
run_compare
(
path
=
"019vsim"
)
def
test_git_fetch
():
...
...
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