Nuand/bladeRF

fx3_gpif entity error

feyzaozdemir opened this issue · 17 comments

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.

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

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

Do you see any RBF files in output_files?

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

Is there a .sof?

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

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

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

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

I did and didnt generated any of.

Can the hosted variant generate an RBF?

What do you mean by the hosted variant?

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.

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

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

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

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