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
5e84fce9
Commit
5e84fce9
authored
Jun 14, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for verilog define a pp token.
parent
4cddbc6c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
Manifest.py
testsuite/078err_vlg_define/Manifest.py
+7
-0
vlog.v
testsuite/078err_vlg_define/vlog.v
+5
-0
test_all.py
testsuite/test_all.py
+4
-0
No files found.
testsuite/078err_vlg_define/Manifest.py
0 → 100644
View file @
5e84fce9
action
=
"simulation"
sim_tool
=
"modelsim"
top_module
=
"gate"
files
=
[
"vlog.v"
]
testsuite/078err_vlg_define/vlog.v
0 → 100644
View file @
5e84fce9
`define
include
(
x
)
x
^
1
module
gate
;
wire
w3
;
endmodule
testsuite/test_all.py
View file @
5e84fce9
...
...
@@ -371,6 +371,10 @@ def test_err_vlog_include():
with
pytest
.
raises
(
SystemExit
)
as
_
:
run
([],
path
=
"077err_vlg_include"
)
def
test_err_vlog_define
():
with
pytest
.
raises
(
SystemExit
)
as
_
:
run
([],
path
=
"078err_vlg_define"
)
def
test_dep_level
():
run
([
'list-files'
],
path
=
"053vlog_dep_level"
)
run
([
'list-files'
,
'--delimiter'
,
','
],
path
=
"053vlog_dep_level"
)
...
...
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