-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot specify a command file for Icarus from compile_args - Needed for setting timescale #95
Comments
Try : Should probably split this in code before passing to subprocess. |
This worked fine, thanks! Related to this, would it make sense to add a default cmds.f file with decent timescale directive? I believe Icarus is mostly not usable as it is for most people and they will all have to figure out the funny way to set the timescale... Something along those lines, but I'm sure there is a better way.
|
I am closing it. |
This is one of the things I imagine every Icarus user has to solve when moving from The Cocotb Makefile takes care of writing a default timescale to Setting
It's especially odd given all the support to handle |
To set the icarus timescale, a cmds.f file with the following content is created:
+timescale+1ns/1ns
Then compile_args is set to:
compile_args = ["-f /home/cmds.f"]
However, icarus complains that the file cannot be read:
Interestingly, if I then manually go in /sim_build and type the exact same command, there are no errors and subsequent run work fine...
iverilog -o /home/sim_build/toplevel.vvp -D COCOTB_SIM=1 -s toplevel -g2012 -f /home/cmds.f /home/toplevel.sv
The text was updated successfully, but these errors were encountered: