-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsim-rtl.yml
executable file
·49 lines (45 loc) · 1.06 KB
/
sim-rtl.yml
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
42
43
44
45
46
47
48
# Specify Global Variables
simClockPeriod : &SIM_CLK_PERIOD "CLOCK_PERIOD=20.00"
simOptions: &SIM_OPTIONS
- "-notice"
- "-line"
- "+lint=all,noVCDE,noONGS,noUI"
- "+warn=noTMR"
- "-error=PCWM-L"
- "+v2k"
- "-debug"
- "+vcs+lic+wait"
- "+vcs+initreg+random"
- "+define+no_cache_mem"
- "+rad"
- "-quiet"
- "+define+DEBUG"
- "+incdir+../../src"
- "-sverilog"
simVerilogSrc: &SIM_VERILOG_SRC
- "src/ALU.v"
- "src/ALUdec.v"
- "src/Riscv151.v"
- "src/Memory151.v"
- "src/ExtMemModel.v"
- "src/no_cache_mem.v"
- "src/Cache.v"
- "src/riscv_top.v"
- "src/riscv_arbiter.v"
- "src/ALUTestbench.v"
- "src/ALUTestVectorTestbench.v"
- "src/riscv_test_harness.v"
# Add more files here if you need
tb_name: &TB_NAME "ALUTestbench"
#tb_name: &TB_NAME "ALUTestVectorTestbench"
#tb_name: &TB_NAME "rocketTestHarness"
# RTL Simulation Variables
sim.inputs:
input_files: *SIM_VERILOG_SRC
timescale: "1ns/1ps"
options: *SIM_OPTIONS
top_module: *TB_NAME
tb_name: *TB_NAME
defines:
- *SIM_CLK_PERIOD
execute_sim: false