-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsim-gl-par.yml
executable file
·49 lines (45 loc) · 1.08 KB
/
sim-gl-par.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
49
# Specify Global Variables
simClockPeriod : &SIM_CLK_PERIOD "CLOCK_PERIOD=20.00"
simOptions: &SIM_OPTIONS
- "-notice"
- "-line"
- "+lint=all,noVCDE"
- "+v2k"
- "-debug"
- "+vcs+lic+wait"
- "+vcs+initreg+random"
- "+udpsched"
- "+neg_tchk"
- "+sdfverbose"
- "-negdelay"
- "+evalorder"
# - "+define+no_cache_mem"
- "+define+DEBUG"
- "+incdir+../../src"
- "-sverilog"
simVerilogSrc: &SIM_VERILOG_SRC
- "src/ExtMemModel.v"
- "src/riscv_test_harness.v"
tb_name: &TB_NAME "rocketTestHarness"
# Post-PAR Gate-Level Simulation Variables
sim.inputs:
input_files: *SIM_VERILOG_SRC
input_files_meta: append
timing_annotated: true
level: "par"
saif:
mode: "full"
timescale: "1ns/1ps"
options: *SIM_OPTIONS
top_module: *TB_NAME
tb_name: *TB_NAME
defines:
- *SIM_CLK_PERIOD
execute_sim: false
# Below is for power analysis. See the spec for instructions!
# execution_flags_append:
# - "+loadmem=../../tests/asm/addi.hex"
# - "+max-cycles=10000"
power.inputs:
database: "build/par-rundir/riscv_top_FINAL"
tb_name: *TB_NAME