diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-10-11 15:02:23 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-10-11 15:02:23 -0500 |
commit | e8ed7b1d1b5bef31e9874f679a5797c2e00d06f1 (patch) | |
tree | 421c9c50377aa664958685914f5504c4c019e21f /ext/dsent/configs/electrical-link.cfg | |
parent | a098fad174d8559037602b248b8e6f7f46bfebbb (diff) | |
download | gem5-e8ed7b1d1b5bef31e9874f679a5797c2e00d06f1.tar.xz |
ext: add the source code for DSENT
This patch adds a tool called DSENT to the ext/ directory. DSENT
is a tool that models power and area for on-chip networks. The next
patch adds a script for using the tool.
Diffstat (limited to 'ext/dsent/configs/electrical-link.cfg')
-rw-r--r-- | ext/dsent/configs/electrical-link.cfg | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/ext/dsent/configs/electrical-link.cfg b/ext/dsent/configs/electrical-link.cfg new file mode 100644 index 000000000..8369b8633 --- /dev/null +++ b/ext/dsent/configs/electrical-link.cfg @@ -0,0 +1,57 @@ + +# Name of model to be built and evaluated +ModelName = RepeatedLink + +# Query string to choose what to evaluate (use '\' to enable multiline config) +QueryString = \ + Energy>>RepeatedLink:Send@0 \ + NddPower>>RepeatedLink:Leakage@0 \ + Area>>RepeatedLink:Active@0 \ + +# Injection rate +InjectionRate = 0.3 +# Evaluation string +EvaluateString = \ + link_dynamic = $(Energy>>RepeatedLink:Send) * $(Frequency); \ + link_static = $(NddPower>>RepeatedLink:Leakage); \ + print "Link:"; \ + print " Dynamic power: " link_dynamic * $(InjectionRate); \ + print " Leakage power: " link_static; \ + +# Technology file (see models in tech/models) +ElectricalTechModelFilename = tech/tech_models/Bulk45LVT.model + +############################################################################### +# Timing optimization +############################################################################### + +# True if want to perform timing optimization; otherwise, false. +# NOTE: for links it should never be turned on for timing optimization, the +# link model is already doing timing optimization to insert buffers based on +# the 'Delay' specified +IsPerformTimingOptimization = false +# Nets that the timing optimizer starts from +TimingOptimization->StartNetNames = [] +# Operating frequency (Hz) +# 'Frequency' has no effect to the RepeatedLink model. Use 'Delay' to +# constraint the links timing. +Frequency = 1e9 + +############################################################################### +# Model specifications +############################################################################### + +# Data width of the repeated link/bus +NumberBits = 64 +# Wire layer +WireLayer = Global +# Wire width multiplier +WireWidthMultiplier = 1.0 +# Wire spacing multiplier +WireSpacingMultiplier = 1.0 + +# Wire length (m) +WireLength = 1e-3 +# Delay of the wire (may not be 1.0 / Frequency) +Delay = 1e-9 + |