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

fx3_gpif entity error #956

Closed
feyzaozdemir opened this issue Nov 30, 2023 · 17 comments
Closed

fx3_gpif entity error #956

feyzaozdemir opened this issue Nov 30, 2023 · 17 comments

Comments

@feyzaozdemir
Copy link

feyzaozdemir commented Nov 30, 2023

Hi,
I'm trying to build the project by following bladeRF/hdl/readme.md.
When I use the ./build_bladerf.sh -r adsb -b bladeRF -s 40 command then I'm getting this error;

Error (10346): VHDL error at bladerf-adsb.vhd(329): formal port or parameter "packet_enable" must have actual or default value File: /home/user/bladeRF/hdl/fpga/platforms/bladerf/vhdl/bladerf-adsb.vhd Line: 329
Error (10784): HDL error at fx3_gpif.vhd(46): see declaration for object "packet_enable" File: /home/user/bladeRF/hdl/fpga/platforms/common/bladerf/vhdl/fx3_gpif.vhd Line: 46

I looked at the vhdl files and saw that the packet_enable pin was not defined in the entity in the bladerf-adsb.vhd file. I thought defining manually but I looked other bladerf-adsb.vhd files and saw that its not defined at any of file. I was wondering thats why and if it has to be like that how can we build the project.

@rghilduta
Copy link
Collaborator

To synthesize ADSB without packet mode support, please go back to FPGA version v0.11.1 ( b02acdd)

@feyzaozdemir
Copy link
Author

Thank you for answer. It solved the problem. Rn I'm just getting this error:

cp: cannot stat 'work/bladerf-40-adsb/output_files/adsb.rbf': No such file or directory

@rghilduta
Copy link
Collaborator

Do you see any RBF files in output_files?

@feyzaozdemir
Copy link
Author

No, there are rpt, done, smsg, pin and summary files only

@rghilduta
Copy link
Collaborator

Is there a .sof?

@feyzaozdemir
Copy link
Author

feyzaozdemir commented Nov 30, 2023

no here is the file names

adsb.asm.rpt adsb.fit.rpt adsb.fit.summary adsb.map.rpt adsb.map.summary adsb.sta.rpt
adsb.done adsb.fit.smsg adsb.flow.rpt adsb.map.smsg adsb.pin adsb.sta.summary

@rghilduta
Copy link
Collaborator

That is odd... can you please open the qpf file work/bladerf-40-adsb with Quartus and rerun the synthesis with Quartus?

@feyzaozdemir
Copy link
Author

feyzaozdemir commented Nov 30, 2023

I started Analysis&Synthesis and it finished with no errors. output files did not change. what must i look?

@rghilduta
Copy link
Collaborator

Try generating programming files and see if either .sof or .rbf come out in the work/bladerf-40-adsb directory

@feyzaozdemir
Copy link
Author

I did and didnt generated any of.

@rghilduta
Copy link
Collaborator

Can the hosted variant generate an RBF?

@feyzaozdemir
Copy link
Author

What do you mean by the hosted variant?

@rghilduta
Copy link
Collaborator

When you launch ./build_bladerf.sh the -r argument specifies the revision/variant: e.g. adsb or hosted. Just want to make sure hosted can generate an RBF successfully.

@feyzaozdemir
Copy link
Author

No, it generated these files;
hosted.asm.rpt hosted.fit.smsg hosted.map.rpt hosted.pin
hosted.done hosted.fit.summary hosted.map.smsg hosted.sta.rpt
hosted.fit.rpt hosted.flow.rpt hosted.map.summary hosted.sta.summary

@feyzaozdemir
Copy link
Author

I'm trying different size rn, after it finished I know its default but I will try adding -l full parameter.

@feyzaozdemir
Copy link
Author

Didnt generated again but i saw warning about my quartus version I'll check that

@feyzaozdemir
Copy link
Author

Ok, problem was quartus. Thank you for all your help and time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants