Commit afad70de by Zachary Snow

updated relong test folder README

parent 55aebec3
...@@ -5,10 +5,6 @@ repository](https://bitbucket.org/ReidLong/hdl-examples). That repository was ...@@ -5,10 +5,6 @@ repository](https://bitbucket.org/ReidLong/hdl-examples). That repository was
intended to provide examples for how the conversions in this project could be intended to provide examples for how the conversions in this project could be
done. done.
The `inline_concat` files were modified to remove a stray trailing semicolon.
`array.v` previously had a custom implementation of `$clog2`, which was removed.
Each test case (say, "foo") is comprised of the following files: Each test case (say, "foo") is comprised of the following files:
1. `foo.sv`: original SystemVerilog 1. `foo.sv`: original SystemVerilog
...@@ -19,3 +15,17 @@ The SystemVerilog source file is converted to Verilog using sv2v, and then both ...@@ -19,3 +15,17 @@ The SystemVerilog source file is converted to Verilog using sv2v, and then both
the converted file and the reference Verilog are simulated using Icarus Verilog. the converted file and the reference Verilog are simulated using Icarus Verilog.
This produces VCD files for each which are expected to match exactly, except for This produces VCD files for each which are expected to match exactly, except for
the timestamp. the timestamp.
## Modifications
The following differences exist between the tests in this folder and their
corresponding versions in the source repository.
1. The `inline_concat` files were modified to remove a stray trailing semicolon.
Though some tools allow for stray semicolons, `iverilog` does not.
2. `array.v` previously had a custom implementation of `$clog2`, which was
removed.
3. `cache_request.sv` was modified to include a plain decimal literal to ensure
coverage beyond the unbased-unsized literals.
4. The `cache_request2` test is omitted. It was only an example for debugging a
VCS-specific issue encountered with `cache_request`.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment