diff --git a/test-xcelium/__build.sh b/test-xcelium/__build.sh new file mode 100755 index 0000000..9a4c7d8 --- /dev/null +++ b/test-xcelium/__build.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -e + +rm -rf xcelium.d + +xmvlog -sv -f ../source/sources.f top.sv +xmelab -timescale 1ps/1ps top diff --git a/test-xcelium/__run.sh b/test-xcelium/__run.sh new file mode 100755 index 0000000..e8b9fd8 --- /dev/null +++ b/test-xcelium/__run.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +xmsim -status top diff --git a/test-xcelium/top.sv b/test-xcelium/top.sv new file mode 100644 index 0000000..9dc38d8 --- /dev/null +++ b/test-xcelium/top.sv @@ -0,0 +1,7 @@ +`timescale 1ps/1ps + +module top; + logic clock = 1'b0; + initial forever #(10ns/2) clock = ~clock; + testbench testbench (clock); +endmodule