Skip to content

Commit

Permalink
Merge pull request #279 from phanrahan/verilog_inline
Browse files Browse the repository at this point in the history
Verilog inline
  • Loading branch information
leonardt committed Sep 7, 2018
2 parents 301cc9d + 43f01e1 commit 1c99426
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions magma/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def __compile_to_coreir(main, file_name, opts):
cmd += f" -o \"{split}/*.v\" -s"
else:
cmd += f" -o {file_name}.v"
if opts.get("inline", False):
cmd += " --inline"
subprocess.run(cmd, shell=True)


Expand Down

0 comments on commit 1c99426

Please sign in to comment.