Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Can't open .BDF file

Hi everybody,

I have a problem with a .bdf file; Quartus v.8.1 refuses to open it

--- Quote Start ---

Error: Can't open file C:/.../Decoder_32.bdf

--- Quote End ---

It was a very important block diagram (970 Kb) with a lot of blocks (over 250). During a compilation (Ctrl+K) the software crashed and now I'm unable to open the file. Do you know any method to recover my work?

If you are interested, I can attach the file...

Thank you for the attention.

9 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi everybody,

    I have a problem with a .bdf file; Quartus v.8.1 refuses to open it

    It was a very important block diagram (970 Kb) with a lot of blocks (over 250). During a compilation (Ctrl+K) the software crashed and now I'm unable to open the file. Do you know any method to recover my work?

    If you are interested, I can attach the file...

    Thank you for the attention.

    --- Quote End ---

    Hi,

    post your project if possible. Did you move the project ? Check the paths to your design files. Sometimes it helps when yon delete the db folder in the project.

    Kind regards

    GPK
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Try reinstalling quartus. I've seen cases where a reinstall will fix issues you describe. As GPK stated, deleting the db directory can also help.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Had the same problem. Solved it as follows:

    open .BDF file with text-editor ... search "" ... insert text as follows "Hello" ... save file ... open file in schematic-editor an search/replace Hello with the apropriate test.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks so much grafsamuel! If it hadn't been for your post I don't know how long it would have taken me to find the error. It started when I tried to delete the name of a node, from which point I could not open the .bdf file again.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Had the same problem. Solved it as follows:

    open .BDF file with text-editor ... search "" ... insert text as follows "Hello" ... save file ... open file in schematic-editor an search/replace Hello with the apropriate test.

    --- Quote End ---

    Hi. I am facing the same problem. I tried replacing one of the pin names "A[7]" with "Hello" in notepad, then saved the file. Then tried to open it in the schematic. But it still wont open. Can you please help me out here.

    That schematic contained an entire day of work.

    Thanks in advance
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Perhaps you could try making a copy of the file, and delete one item after another until you find the offending component? Having opened the file in Notepad++, I see that elements in the schematic are defined by 'pin', 'symbol', 'connector' and 'junction'. Start with the component you think is causing the trouble. Make sure though to delete the entire component from bracket to bracket, no more, no less, otherwise it certainly won't work!

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for your reply chnaideur. But I have decided to redo the schematic. Since it was the first time I was using quartus, it took me a long time to churn out the schematic. But now I should be able to redo it a lot quicker.

    I will check the other .bdf file for errors later when I have time. I gotta assignment to submit tomorrow :)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Perhaps you could try making a copy of the file, and delete one item after another until you find the offending component? Having opened the file in Notepad++, I see that elements in the schematic are defined by 'pin', 'symbol', 'connector' and 'junction'. Start with the component you think is causing the trouble. Make sure though to delete the entire component from bracket to bracket, no more, no less, otherwise it certainly won't work!

    --- Quote End ---

    This worked for me - I would suggest looking in the .BDF file for quote marks without any content. I mean like this "" as this is so easy to happen in schematic as the CTRL C does not work and deletes the net name!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Had the same problem. Solved it as follows:

    open .BDF file with text-editor ... search "" ... insert text as follows "Hello" ... save file ... open file in schematic-editor an search/replace Hello with the apropriate test.

    --- Quote End ---

    Worked for me! Thanks so much grafsamuel!