From 5e50deebf482776c5ed04343b7fcaf99bd5cb8cb Mon Sep 17 00:00:00 2001 From: Caleb Date: Thu, 9 May 2024 08:09:03 -0400 Subject: [PATCH] runt changes --- benchmarks/runt.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/benchmarks/runt.toml b/benchmarks/runt.toml index ac3b1d3..9db80c7 100644 --- a/benchmarks/runt.toml +++ b/benchmarks/runt.toml @@ -20,6 +20,18 @@ fud exec -s verilog.data {}.data \ """ expect_dir = "simulation/" +[[tests]] +name = "Correctness-One-Hot" +paths = ["polybench/*.fuse"] +cmd = """ +fud exec -s verilog.data {}.data \ + -s calyx.flags "-x one-hot-cutoff=64" \ + --through icarus-verilog \ + {} --to dat \ + -q | jq .memories +""" +expect_dir = "simulation/" + [[tests]] name = "Unrolled" paths = ["unrolled/*.fuse"] @@ -32,6 +44,18 @@ fud exec -s verilog.data {}.data \ """ expect_dir = "simulation/" +[[tests]] +name = "Unrolled-One-Hot" +paths = ["unrolled/*.fuse"] +cmd = """ +fud exec -s verilog.data {}.data \ + -s calyx.flags ' --disable-verify -x compile-static:one-hot-cutoff=64' \ + --through verilog \ + {} --to dat \ + -q | jq .memories +""" +expect_dir = "simulation/" + [[tests]] name = "Interpreter" paths = ["polybench/**/*.fuse"]