Skip to content

Commit

Permalink
bench: add axi stream projec toml and to btor
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Jan 6, 2024
1 parent d00cdc2 commit 436e1d7
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
14 changes: 14 additions & 0 deletions benchmarks/fpga-debugging/axi-stream-s2/project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[project]
directory = "."
sources = ["xlnxstream_2018_3.v"]
toplevel = "xlnxstream_2018_3"

[[bugs]]
name = "s2"
original = "xlnxstream_2018_3.v"
buggy = "xlnxstream_2018_3_bug_s2.v"


[[testbenches]]
name = "csv"
table = "tb.csv"
17 changes: 17 additions & 0 deletions benchmarks/fpga-debugging/axi-stream-s2/to_btor2.ys
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# read_sources
read_verilog xlnxstream_2018_3.v

hierarchy -top xlnxstream_2018_3

# minimal btor
proc -noopt

# extra
opt

async2sync
flatten
dffunmap


write_btor -x xlnxstream_2018_3_axi_stream.btor

0 comments on commit 436e1d7

Please sign in to comment.