Skip to content
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

[Fletchgen] Specifing the -o option, breaks top level generation #176

Closed
EraYaN opened this issue Aug 8, 2019 · 0 comments · Fixed by #177
Closed

[Fletchgen] Specifing the -o option, breaks top level generation #176

EraYaN opened this issue Aug 8, 2019 · 0 comments · Fixed by #177
Labels
bug Something isn't working

Comments

@EraYaN
Copy link
Member

EraYaN commented Aug 8, 2019

Describe the bug
If the -o option is given, the AxiTop and SimTop_tc files are not created. If The path is hardcoded in fletchgen.cc@L104 from std::string axi_file_path = "vhdl/AxiTop.vhd"; to std::string axi_file_path = "/output/vhdl/AxiTop.vhd"; it does work. It also works without the -o option and saving to the current directory.

To Reproduce

fletchgen -o /output -i /source/ff_in.fbs /source/ff_out.fbs -l vhdl --axi --sim -r /source/Float_data.rb -s /source/Float_data.srec --force -n FletcherFloat

vs

cd /output && fletchgen -i /source/ff_in.fbs /source/ff_out.fbs -l vhdl --axi --sim -r /source/Float_data.rb -s /source/Float_data.srec --force -n FletcherFloat

Expected behavior
Both should result in the same output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant