Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions examples/xilinx/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Xilinx Examples

The Xilinx examples use the shared [`xilinx.py`](xilinx.py) formal primitive
models through the YAML `py_tech_files` option.

| Directory | Contents |
| --- | --- |
| [`register_slice`](register_slice) | Small mapped-versus-compact SEC equivalence example. |
| [`vexriscv`](vexriscv) | Large VexRiscv GenFull LEC self-check and intentional-difference examples. |

`xilinx.py` models the combinational, parameterized LUT, sequential, carry,
DSP, distributed RAM, and block RAM primitives used by these netlists.
11 changes: 11 additions & 0 deletions examples/xilinx/register_slice/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Xilinx Register-Slice SEC

This compares a Xilinx-mapped register slice with a compact equivalent model.
SEC is expected to prove equivalence.

Run from `examples/xilinx/register_slice`:

```bash
../../../build/src/bin/kepler-formal \
--config test_config_verilog_xilinx_sec.yaml
```
19 changes: 19 additions & 0 deletions examples/xilinx/vexriscv/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Xilinx VexRiscv LEC

Run these commands from `examples/xilinx/vexriscv`.

The self-check compares the 4,995-cell VexRiscv GenFull netlist with itself and
is expected to report no difference.

```bash
../../../build/src/bin/kepler-formal \
--config test_config_verilog_vexriscv_genfull_xilinx_lec.yaml
```

The negative case compares it with an intentionally changed netlist and is
expected to report a difference.

```bash
../../../build/src/bin/kepler-formal \
--config test_config_verilog_vexriscv_genfull_xilinx_lec_different.yaml
```
Loading