Add Xcelium scripts
This commit is contained in:
parent
d2497dc331
commit
ff68e0a9f0
7
test-xcelium/__build.sh
Executable file
7
test-xcelium/__build.sh
Executable 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
3
test-xcelium/__run.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
xmsim -status top
|
||||
7
test-xcelium/top.sv
Normal file
7
test-xcelium/top.sv
Normal file
@ -0,0 +1,7 @@
|
||||
`timescale 1ps/1ps
|
||||
|
||||
module top;
|
||||
logic clock = 1'b0;
|
||||
initial forever #(10ns/2) clock = ~clock;
|
||||
testbench testbench (clock);
|
||||
endmodule
|
||||
Loading…
x
Reference in New Issue
Block a user