Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv2v
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
sv2v
Commits
2d32fe9c
Commit
2d32fe9c
authored
Jun 22, 2023
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor help text updates
parent
04d65bb3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
README.md
+3
-3
src/Job.hs
+4
-3
No files found.
README.md
View file @
2d32fe9c
...
...
@@ -92,13 +92,13 @@ Below is the current usage printout.
sv2v [OPTIONS] [FILES]
Preprocessing:
-I --incdir=DIR Add
directory to
include search path
-I --incdir=DIR Add
a directory to the
include search path
-y --libdir=DIR Add a directory to the library search path used
when looking for undefined modules and interfaces
-D --define=NAME[=VALUE] Define a macro for preprocessing
--siloed Lex input files separately, so macros from
earlier files are not defined in later files
--skip-preprocessor Disable preprocess
or
--skip-preprocessor Disable preprocess
ing of macros, comments, etc.
Conversion:
--pass-through Dump input without converting
-E --exclude=CONV Exclude a particular conversion (Always, Assert,
...
...
@@ -116,7 +116,7 @@ Other:
number literals (e.g., 'h1_ffff_ffff, 4294967296)
--dump-prefix=PATH Create intermediate output files with the given
path prefix; used for internal debugging
--help Display help message
--help Display
this
help message
--version Print version information
--numeric-version Print just the version number
```
...
...
src/Job.hs
View file @
2d32fe9c
...
...
@@ -61,7 +61,7 @@ defaultJob :: Job
defaultJob
=
Job
{
files
=
def
&=
args
&=
typ
"FILES"
,
incdir
=
nam_
"I"
&=
name
"incdir"
&=
typDir
&=
help
"Add
directory to
include search path"
&=
help
"Add
a directory to the
include search path"
&=
groupname
"Preprocessing"
,
libdir
=
nam_
"y"
&=
name
"libdir"
&=
typDir
&=
help
(
"Add a directory to the library search path used when looking"
...
...
@@ -70,7 +70,8 @@ defaultJob = Job
&=
help
"Define a macro for preprocessing"
,
siloed
=
nam_
"siloed"
&=
help
(
"Lex input files separately, so"
++
" macros from earlier files are not defined in later files"
)
,
skipPreprocessor
=
nam_
"skip-preprocessor"
&=
help
"Disable preprocessor"
,
skipPreprocessor
=
nam_
"skip-preprocessor"
&=
help
"Disable preprocessing of macros, comments, etc."
,
passThrough
=
nam_
"pass-through"
&=
help
"Dump input without converting"
&=
groupname
"Conversion"
,
exclude
=
nam_
"exclude"
&=
name
"E"
&=
typ
"CONV"
...
...
@@ -100,7 +101,7 @@ defaultJob = Job
&=
details
[
"sv2v converts SystemVerilog to Verilog."
,
"More info: https://github.com/zachjs/sv2v"
,
"(C) 2019-2023 Zachary Snow, 2011-2015 Tom Hawkins"
]
&=
helpArg
[
explicit
,
name
"help"
]
&=
helpArg
[
explicit
,
name
"help"
,
help
"Display this help message"
]
&=
versionArg
[
explicit
,
name
"version"
]
&=
verbosityArgs
[
ignore
]
[
ignore
]
where
...
...
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