-
Notifications
You must be signed in to change notification settings - Fork 142
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
Parameterize SCons file based on apio settings #176
Comments
I also find this request useful. It would be also nice if there is a way to specify the source files order. The current order seems to be alphabetical, which may not work in some cases. An example is building picosoc. One needs to list picosoc.v before picorv32.v so one cannot use |
@roman3017, I moved your request to a new issue here #452 |
@s-ol, here are some info, based on the next apio release (currently in dev stage).
|
Closing this issue. If you have further questions or comments please reopen. |
The SCons file is quite "magical" and undocumented at the moment. I needed to find it to understand these points for example:
IMO the second two should be documented in the docs for
apio sim
andapio build
respectively.These informations are crucial for newcomers to start using apio, whether they have worked with FPGAs or icestorm before or not.
For solving the first issue, I would propose parameterizing the SCons file as follows:
pcf
- path to PCF file, default: glob*.pcf
, error if multipletestbench
- path to main testbench file, default: glob*_tb.v
, error if multiplethese settings should be documented for and set in
apio.ini
. (btw: there is no documentation aboutapio.ini
settings currently)The text was updated successfully, but these errors were encountered: