Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • soclabs/soctools_flow
1 result
Select Git revision
Show changes
Commits on Source (4)
......@@ -72,11 +72,11 @@ def read_list(filelist):
if file.endswith(verilog_extensions):
compiled_filelist.append(env_var_substitute(line_list[1])+"/"+str(file))
elif line_list[0].startswith("+incdir+"):
elif line_list[0].startswith("-incdir "):
# Append to filelist
for file in os.listdir(env_var_substitute(line_list[0].lstrip("+incdir+"))):
for file in os.listdir(env_var_substitute(line_list[0].lstrip("-incdir "))):
if file.endswith(verilog_extensions):
compiled_filelist.append(env_var_substitute(line_list[0].lstrip("+incdir+"))+"/"+str(file))
compiled_filelist.append(env_var_substitute(line_list[0].lstrip("-incdir "))+"/"+str(file))
# If file list a verilog file
elif line_list[0].endswith(verilog_extensions):
......
......@@ -547,7 +547,7 @@ Verilog like options:
+define: Specify a define for use when processing, can be either:
+define+NAME or +define+NAME=VALUE
+incdir: Specify a directory to search for includes +incdir+DIR_NAME
+incdir: Specify a directory to search for includes -incdir DIR_NAME
-y : Specify a library to search for modules eg: -y DIR_NAME
+libext: Specify a the extension for libraries eg: +libext+.v or +libext+.v+.V
-v : Specify a library file (same as putting the file without -v)
......@@ -599,7 +599,7 @@ Ignored options:
example:
v2html -hc "Our Chip" -o /users/www/p/html -m Joe_Blogs\@jb.com
+incdir+/p/includes -y /p/verilog +libext+.v+.V /p/verilog/chip_top.v
-incdir /p/includes -y /p/verilog +libext+.v+.V /p/verilog/chip_top.v
See http://www.burbleland.com/v2html/v2html.html for more details
......
......@@ -199,8 +199,8 @@ Pre-define a value. This is just the same as putting:
at the top of each of your input files. The rather strange syntax is the
same as VerilogXL's. This option is useful for controlling which ifdefs appear
true to \fBv2html\fR.
.IP "\fB+incdir+DIR\fR" 5
.IX Item "+incdir+DIR"
.IP "\fB-incdir DIR\fR" 5
.IX Item "-incdir DIR"
Specify a directory to search for include files (just like VerilogXL).
.IP "\fB\-y\fR\ \s-1DIR\s0" 5
.IX Item "-yDIR"
......
......@@ -95,7 +95,7 @@ it is doing.</p>
same as VerilogXL's. This option is useful for controlling which ifdefs appear
true to <strong>v2html</strong>.</p>
</dd>
<dt><strong><a name="item__2bincdir_2bdir"><strong>+incdir+DIR</strong></a></strong></dt>
<dt><strong><a name="item__2bincdir_2bdir"><strong>-incdir DIR</strong></a></strong></dt>
<dd>
<p>Specify a directory to search for include files (just like VerilogXL).</p>
......
#-----------------------------------------------------------------------------
# SoCLabs List of Hal Checks to Disable for Linitng
# A joint work commissioned on behalf of SoC Labs, under Arm Academic Access license.
#
# Contributors
#
# David Mapstone (d.a.mapstone@soton.ac.uk)
#
# Copyright (C) 2021-3, SoC Labs (www.soclabs.org)
#-----------------------------------------------------------------------------
# Capitalised Names used for Wires
LINT_NOCHECK = -nocheck LCVARN
# Constant values used in signal widths
LINT_NOCHECK += -nocheck STYVAL
# Maximum Length of HDL Lines exceeded (Don't care)
LINT_NOCHECK += -nocheck MAXLEN
# Outputs Assigned Asynchronously (Multiple layers of wiring)
LINT_NOCHECK += -nocheck SYNPRT
# Bitwidth not specified for Parameters
LINT_NOCHECK += -nocheck PRMVAL
# Base not specified for Parameters
LINT_NOCHECK += -nocheck PRMBSE
# Constants Used in Port Expressions (To tie them off)
LINT_NOCHECK += -nocheck IPRTEX
# Compiler Directives Used in RTL
LINT_NOCHECK += -nocheck CDWARN
# TODO: Control Characters (May need to be investigated!)
LINT_NOCHECK += -nocheck CTLCHR
# Large Arithmetic isn't Illegal
LINT_NOCHECK += -nocheck LRGOPR
# Begin/End Blocks don't have names
LINT_NOCHECK += -nocheck NOBLKN
# Numerical Value Suffix on wires (not an issue)
LINT_NOCHECK += -nocheck NUMSUF
# Active Low Naming Convention Not Used
LINT_NOCHECK += -nocheck ALOWID
# Parameter Naming Length Conventions not used
LINT_NOCHECK += -nocheck IDLENG
# Parameter Naming Length Conventions not used
LINT_NOCHECK += -nocheck BLKERR
\ No newline at end of file