Skip to content

Commit

Permalink
remove sequential magma fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuree committed Dec 9, 2019
1 parent 69d29c2 commit bd6f68c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions magma/syntax/sequential.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,6 @@ def __init__(self):
# TODO: Should we deal with multiple assignments? For now we take the
# last one
m.DefineCircuit("tmp")

# this is a fix when python is loaded with a third-party debugging
# tool such as pydev debugger, 'm' is not defined
import magma as __m
defn_env["m"] = __m
defn_env["__main__"] = __m
eval_type = eval(astor.to_source(stmt.annotation).rstrip(), defn_env)
eval_value = eval(astor.to_source(stmt.value).rstrip(), defn_env)
m.EndCircuit()
Expand Down

0 comments on commit bd6f68c

Please sign in to comment.