-
Notifications
You must be signed in to change notification settings - Fork 0
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
Integrate with FuseSoC and Edalize #13
Comments
I think FLGen can output
How can I export macro definitions and include direcotries? Using |
@olofk, |
You could use tool_options for both these, but then you would need to implement that for every tool. And some tools don't support setting that as tool options. The EDAM format has abstractions for both these already. For macro definitions you should be looking at the parameter section where you can define plusargs, generics, verilog parameters and verilog defines. The EDAM format doesn't use include directories but instead does things like IP-XACT by marking files with the attribute |
Here is an example of and EDAM file that FuseSoC has produced for Servant, the reference platform for the SERV CPU. Many of these fields are optional so you don't need to care about them, but you can see an example of how e.g. parameters work
|
@olofk , A SystemVerilog package may be implemented like below. package foo_bar_pkg;
`include "foo.svh"
`include "bar.svh"
endpackage In this case, do I need to add |
This is an feedback from @olofk.
The text was updated successfully, but these errors were encountered: