Add Xcelium scripts

This commit is contained in:
Nikolay Puzanov 2023-06-11 22:23:23 +03:00
parent d2497dc331
commit ff68e0a9f0
3 changed files with 17 additions and 0 deletions

7
test-xcelium/__build.sh Executable file
View File

@ -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

3
test-xcelium/__run.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
xmsim -status top

7
test-xcelium/top.sv Normal file
View File

@ -0,0 +1,7 @@
`timescale 1ps/1ps
module top;
logic clock = 1'b0;
initial forever #(10ns/2) clock = ~clock;
testbench testbench (clock);
endmodule