File size: 2,044 Bytes
be0239b
 
 
 
 
 
7dd3ffd
 
65de7c4
 
 
 
 
 
 
 
 
7dd3ffd
 
 
be0239b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
RESULTS_DIR = "results"
ICARUS_RESULTS = f"{RESULTS_DIR}/results_icarus.json"
VERILATOR_RESULTS = f"{RESULTS_DIR}/results_verilator.json"
ICARUS_AGG = f"{RESULTS_DIR}/aggregated_scores_icarus.csv"
VERILATOR_AGG = f"{RESULTS_DIR}/aggregated_scores_verilator.csv"


DISCARDED_MODELS = {
    "CodeV-CL-7B": "23/10/2025",
    "CodeV-DS-6.7B": "23/10/2025",
    "CodeV R1 Distill Qwen 7B": "23/10/2025",
    "QwenCoder 2.5 7B": "23/10/2025",
    "DeepSeek Coder 33B": "23/10/2025",
    "RTLCoder Mistral": "23/10/2025",
    "CodeLlama 70B": "23/10/2025",
    "Llama 3.(1-3) 70B": "23/10/2025",
    "DeepCoder 14B": "23/10/2025",

}

TASKS = ["Spec-to-RTL", "Code Completion", "Line Completion †"]
S2R_BENCHMARKS = ["VerilogEval S2R", "RTLLM"]
CC_BENCHMARKS = ["VerilogEval MC", "VeriGen"]
LC_BENCHMARKS = ["RTL-Repo"]

MODEL_TYPES = ["All", "General 🟢", "Coding 🔵", "RTL-Specific 🔴"]
TYPE_EMOJI = {"RTL-Specific": "🔴", "General": "🟢", "Coding": "🔵"}

NON_RTL_METRICS = ["Syntax (STX)", "Functionality (FNC)", "Synthesis (SYN)", "Power", "Performance", "Area"]
RTL_METRICS = ["Exact Matching (EM)"]

COLUMN_MAPPINGS = {
    "Params": "Parameters (B)",
    "Syntax (STX)": "Syntax",
    "Functionality (FNC)": "Functionality",
    "Synthesis (SYN)": "Synthesis",
    "Post-Synthesis (PSQ)": "Post-Synthesis",
}

COLUMN_ORDER = [
    "Type",
    "Model",
    "Parameters (B)",
    "Syntax",
    "Functionality",
    "Synthesis",
    "Post-Synthesis",
]

TYPE_COLORS = {"General": "green", "Coding": "yellow", "RTL-Specific": "blue"}

Y_AXIS_LIMITS = {
    "Functionality (FNC)": [5, 90],
    "Syntax (STX)": [20, 100],
    "Synthesis (SYN)": [5, 90],
    "Power": [0, 50],
    "Performance": [0, 50],
    "Area": [0, 50],
    "Exact Matching (EM)": [0, 50],
}

SCATTER_PLOT_X_TICKS = {
    "tickvals": [8, 14, 32, 72, 200, 700],
    "ticktext": ["8", "14", "32", "72", "200", "700"],
}

DEFAULT_MAX_PARAMS = 700
DEFAULT_TASK = "Spec-to-RTL"
DEFAULT_BENCHMARK = "All"
DEFAULT_MODEL_TYPE = "All"

SIMULATORS = ["Icarus", "Verilator"]