hdl.ast: fix typo.
authorwhitequark <cz@m-labs.hk>
Mon, 25 Mar 2019 10:49:29 +0000 (10:49 +0000)
committerwhitequark <cz@m-labs.hk>
Mon, 25 Mar 2019 10:50:39 +0000 (10:50 +0000)
Fixes #49.

nmigen/hdl/ast.py

index e7fc288134ff40b9d3f30249a95c6878af429fe9..75dad9b9768257f7e8254630028094c3119c9c9c 100644 (file)
@@ -984,7 +984,7 @@ class Delay(Statement):
         if self.interval is None:
             return "(delay ε)"
         else:
-            return "(delay {:.3}us)".format(self.interval * 10e6)
+            return "(delay {:.3}us)".format(self.interval * 1e6)
 
 
 class Tick(Statement):