Skip to content

Commit

Permalink
[PyCDE] Fix cocotb runner
Browse files Browse the repository at this point in the history
Icarus 3.12 doesn't like unterminated lines in command files.
  • Loading branch information
teqdruid committed Dec 19, 2024
1 parent bcc1e01 commit 348e82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/PyCDE/src/pycde/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def extra_compile_args(self, pycde_system: System):
# lives easier and create a minimum timescale through the command-line.
cmd_file = os.path.join(pycde_system.output_directory, "cmds.f")
with open(cmd_file, "w+") as f:
f.write("+timescale+1ns/1ps")
f.write("+timescale+1ns/1ps\n")

return [f"-f{cmd_file}"]

Expand Down

0 comments on commit 348e82a

Please sign in to comment.