-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This runs vlindex on the Hazard3 Verilog.
- Loading branch information
Showing
3 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/sh | ||
|
||
# abort on error | ||
set -e | ||
|
||
# clone Hazard3 repo if not done yet | ||
if [ ! -e Hazard3/.git ] ; then | ||
git clone https://github.com/Wren6991/Hazard3 --branch v1.0 --depth 1 | ||
fi | ||
|
||
cd Hazard3 | ||
|
||
vlindex -I hdl | tee vlindex-output | ||
|
||
grep "Number of" vlindex-output > vlindex-output-filtered | ||
|
||
# This errors when there's a diff | ||
diff vlindex-output-filtered - << EOM | ||
Number of files...........: 46 | ||
Number of symlinked files.: 0 | ||
Number of lines...........: 12093 | ||
Number of modules.........: 46 | ||
Number of UDPs............: 0 | ||
Number of checkers........: 0 | ||
Number of classes.........: 0 | ||
Number of packages........: 0 | ||
Number of interfaces......: 0 | ||
Number of functions.......: 7 | ||
Number of tasks...........: 0 | ||
Number of properties......: 0 | ||
Number of sequences.......: 0 | ||
Number of module instances: 71 | ||
Number of configurations..: 0 | ||
EOM |