Skip to content

Commit a2f8bf5

Browse files
ADC latency
1 parent 052b405 commit a2f8bf5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hwcomponents_adc/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def convert(self) -> tuple[float, float]:
180180
(energy, latency): Tuple in (Joules, seconds).
181181
"""
182182
# Assume leakage is 20% of the total energy
183-
return self.get_energy() * 0.8, 0.0
183+
return self.get_energy() * 0.8, 1 / self.throughput
184184

185185
@action
186186
def drive(self) -> tuple[float, float]:

0 commit comments

Comments
 (0)