Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

.bdf to .vhd

Altera_Forum
Honored Contributor II
6,598 Views

I'm very new to coding in VHDL, and I'm not even sure how to convert this .bdf file into a .vdh file. I have all of the symbols coded already, but I'm having trouble debugging it in schematic form. If you could give me an example of how to do part of it, or tell me how to do it, or anything I would be grateful. Or (this will become apparent if you look at the file) if you could tell me how to infer a register that would be helpful as well. Thank you very much to anyone who replies. -J

0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
3,983 Views

With your VHDL file open in Quartus, go to Edit -> Insert Template and find the Register examples. In reality, I recommend buying at least one book, and/or search the internet for VHDL examples/training guides. You really are going to need examples that are explained to get going. It's not overly difficult, but there are plenty of places to go wrong without some hints to point you in the right direction.

0 Kudos
Altera_Forum
Honored Contributor II
3,983 Views

Quartus II can convert many BDFs to Verilog or VHDL. Open your BDF in the GUI, then go to file->create/update->create hdl design file for current file. You can select Verilog or VHDL.  

 

The tool can't convert all BDFs into Verilog or VHDL due to semantics limitations in the target language. For example, you can have multi-dimensional ports in BDF but not in Verilog.  

 

What's your goal? Do you want to start developing in VHDL? Do you want to simulate your design in Modelsim?
0 Kudos
Altera_Forum
Honored Contributor II
3,983 Views

file->create/update->create hdl design file for current file 

 

is correct but just a few comments: 

-new crreated .vhd file is in root directory of opened project. 

-If you want to see this new .vhd file you must go to this directory and find it.
0 Kudos
Altera_Forum
Honored Contributor II
3,983 Views

It can't be converted.

0 Kudos
Reply