-
Notifications
You must be signed in to change notification settings - Fork 52
/
complete.sby
41 lines (34 loc) · 879 Bytes
/
complete.sby
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[options]
mode bmc
depth 31
skip 30
[engines]
smtbmc boolector
[script]
read_verilog -noautowire -sv complete.sv
connect_rpc -exec env PYTHONPATH=../.. amaranth-rpc yosys icicle.cpu.CPU
--pycode-begin--
with open("../../insns/isa_rv32i.txt") as f:
for line in f:
output("read_verilog -noautowire -sv insn_%s.v" % line.strip())
--pycode-end--
prep -flatten -nordff -top testbench
chformal -early
[files]
complete.sv
../../checks/rvfi_macros.vh
../../insns/isa_rv32i.v
--pycode-begin--
with open("../../insns/isa_rv32i.txt") as f:
for line in f:
output("../../insns/insn_%s.v" % line.strip())
--pycode-end--
[file defines.sv]
`define RISCV_FORMAL
`define RISCV_FORMAL_NRET 1
`define RISCV_FORMAL_XLEN 32
`define RISCV_FORMAL_ILEN 32
`define RISCV_FORMAL_BLACKBOX_REGS
`define RISCV_FORMAL_ALIGNED_MEM
`include "rvfi_macros.vh"
`include "isa_rv32i.v"