summaryrefslogtreecommitdiff
path: root/ext/dsent/configs/photonic-link.cfg
blob: 755e38bbc3a019a753be5aec457a3ebe6b731aac (plain)
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
74
75

# Name of model to be built and evaluated
ModelName = SWSRLink

# Query string to choose what to evaluate (use '\' to enable multiline config)
QueryString = \
    Energy>>SWSRLink:Send@1 \
    NddPower>>SWSRLink:Leakage@0 \
    NddPower>>SWSRLink:RingTuning@0 \
    NddPower>>SWSRLink:Laser@0 \
    Area>>SWSRLink:Active@0 \
    Area>>SWSRLink:Photonic@0 \
    
# Injection rate (# words per core cycle)
InjectionRate                           = 1.0
# Evaluation string
EvaluateString                          = \
    dynamic         = $(InjectionRate) * $(CoreDataRate) * $(Energy>>SWSRLink:Send); \
    leakage         = $(NddPower>>SWSRLink:Leakage); \
    ring_heating    = $(NddPower>>SWSRLink:RingTuning); \
    laser           = $(NddPower>>SWSRLink:Laser); \
    total           = dynamic + leakage + ring_heating + laser; \
    energy_per_bit  = total / ($(InjectionRate) * $(CoreDataRate) * $(NumberBits)); \
    active_area     = $(Area>>SWSRLink:Active); \
    photonic_area   = $(Area>>SWSRLink:Photonic); \
    print "Photonic Clos Network:"; \
    print "    Dynamic power: " dynamic; \
    print "    Leakage power: " leakage; \
    print "    Laser power: " laser; \
    print "    Ring Heater Power: " ring_heating; \
    print "    Total power: " total; \
    print "    Energy per bit: " energy_per_bit; \
    print "    Active Area: " active_area; \
    print "    Photonic Area: " photonic_area; \
    
# Technology file (see other models in tech/models)
ElectricalTechModelFilename             = tech/tech_models/Bulk45LVT.model
PhotonicTechModelFilename               = tech/tech_models/Photonics.model

###############################################################################
# Model specifications
###############################################################################

# Clos Parameters
# Number of bits the link is responsible for delivering
NumberBits                                      = 64
# Core data rate
CoreDataRate                                    = 1e9
# Link data rate, if link data-rate > core data rate, SerDes will be applied
LinkDataRate                                    = 1e9

# Optimization parameters
# Whether link specs will be optimized for power
OptimizeLoss                                    = true
# Optimize the laser/modulator power balance for the given link utilization,
# ignored if optimize loss is set to false
OptUtil                                         = 0.5
# Insertion loss and extinction ratio (in dB), ignored if optimize loss is set
# to true
InsertionLoss                                   = 2.0
ExtinctionRatio                                 = 6.0

# Technology-based parameters
# Type of the laser. Current valid choices are: (Standard, Throttled)
# Note, if you change this to throttled, the laser gets lumped into dynamic
# power, so change the Ndd power query for laser appropriately
LaserType                                       = Standard
# Ring tuning method. Current valid choices are:
# (FullThermal, AthermalWithTrim, ThermalWithBitReshuffle, ElectricalAssistWithBitReshuffle)
RingTuningMethod                                = ThermalWithBitReshuffle 
    
# Physical organization properties
# Length of the link (in meters)
Length                                          = 10e-3