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
11ebf1d0
Commit
11ebf1d0
authored
Mar 02, 2020
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for previous commit.
parent
c8be2839
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
78 additions
and
1 deletion
+78
-1
Makefile.ref
testsuite/099vlog_parser/Makefile.ref
+54
-0
Manifest.py
testsuite/099vlog_parser/Manifest.py
+7
-0
gate1.v
testsuite/099vlog_parser/gate1.v
+4
-0
vlog.sv
testsuite/099vlog_parser/vlog.sv
+9
-0
test_all.py
testsuite/test_all.py
+4
-1
No files found.
testsuite/099vlog_parser/Makefile.ref
0 → 100644
View file @
11ebf1d0
########################################
# This file was generated by hdlmake #
# http://ohwr.org/projects/hdl-make/ #
########################################
TOP_MODULE
:=
gate
MODELSIM_INI_PATH
:=
../linux_fakebin/..
VCOM_FLAGS
:=
-quiet
-modelsimini
modelsim.ini
VSIM_FLAGS
:=
VLOG_FLAGS
:=
-quiet
-modelsimini
modelsim.ini
VMAP_FLAGS
:=
-modelsimini
modelsim.ini
#target for performing local simulation
local
:
sim_pre_cmd simulation sim_post_cmd
VERILOG_SRC
:=
vlog.sv
\
VERILOG_OBJ
:=
work/hdlmake/vlog_sv
\
VHDL_SRC
:=
VHDL_OBJ
:=
INCLUDE_DIRS
:=
LIBS
:=
work
LIB_IND
:=
work/hdlmake/work-stamp
simulation
:
modelsim.ini $(LIB_IND) $(VERILOG_OBJ) $(VHDL_OBJ)
$(VERILOG_OBJ)
:
modelsim.ini
$(VHDL_OBJ)
:
$(LIB_IND) modelsim.ini
modelsim.ini
:
$(MODELSIM_INI_PATH)/modelsim.ini
cp
$<
.
2>&1
work/hdlmake/work-stamp
:
(
vlib work
&&
vmap
$(VMAP_FLAGS)
work
&&
mkdir
-p
work/hdlmake
&&
touch
work/hdlmake/work-stamp
)
||
rm
-rf
work
work/hdlmake/vlog_sv
:
vlog.sv
vlog
-work
work
$(VLOG_FLAGS)
-sv
$(INCLUDE_DIRS)
$<
@
touch
$@
# USER SIM COMMANDS
sim_pre_cmd
:
sim_post_cmd
:
CLEAN_TARGETS
:=
$(LIBS)
modelsim.ini transcript
clean
:
rm
-rf
$(CLEAN_TARGETS)
mrproper
:
clean
rm
-rf
*
.vcd
*
.wlf
.PHONY
:
mrproper clean sim_pre_cmd sim_post_cmd simulation
testsuite/099vlog_parser/Manifest.py
0 → 100644
View file @
11ebf1d0
action
=
"simulation"
sim_tool
=
"modelsim"
top_module
=
"gate"
files
=
[
"vlog.sv"
,
"gate1.v"
]
testsuite/099vlog_parser/gate1.v
0 → 100644
View file @
11ebf1d0
module
gate3
(
input
a
)
;
endmodule
testsuite/099vlog_parser/vlog.sv
0 → 100644
View file @
11ebf1d0
module
gate1
(
input
a
)
;
endmodule
module
gate
(
input
a
)
;
endmodule
module
gate2
(
input
a
)
;
gate1
g
(
a
)
;
endmodule
testsuite/test_all.py
View file @
11ebf1d0
...
...
@@ -268,12 +268,15 @@ def test_err_fetch():
def
test_xci
():
run_compare
(
path
=
"023xci"
)
def
test_vlog_parser
():
def
test_vlog_parser
024
():
run_compare
(
path
=
"024vlog_parser"
)
def
test_vlog_parser025
():
run_compare
(
path
=
"025vlog_parser"
)
def
test_vlog_parser099
():
run_compare
(
path
=
"099vlog_parser"
)
def
test_gitsm_fetch026
():
with
Config
(
path
=
"026gitsm_fetch"
)
as
_
:
hdlmake
.
main
.
hdlmake
([
'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