Altera_Forum
Honored Contributor
16 years agoconvert bdf file to vhd using maxplus2 library
Hi,
I am new to Altera and would simply like to convert a .bdf file to .vhd. Using primatives works but specifying generic chips such as 7404, 7408, 7432, etc seems to have problems because the names of entities and ports start with a numeral rather than a letter. My inputs and outputs to the chips begin with a letter in the name but the chips are defined in the library .../altera/10.0sp1/quartus/libraries/others/maxplus2/ with only numbers for the port and entity names. I have used "File->Create/Update->Create HDL design file from current file" to convert from bdf to vhd and it recognizes some of these problems and puts a "\" in front of some of the names but never any of the ports. The .bdf and the generated .vhd files are attached Using the linux version of altera 10.0sp1 on SUSE 11.3 (Linux 2.6.34.7-0.3-desktop x86_64) Messages from "Create/Update->Create HDL design file from current file"# Warning: Found Altera-specific megafunction, primitive or component "7404" p, li { white-space: pre-wrap;# Warning: Design name for "7404_0" contains a number -- illegal for Verilog HDL and VHDL -- adding "\" in front of name# Error: Name "2" in design file .../testproj2.vhd contains illegal character for VHDL# Error: Name "1" in design file .../testproj2.vhd contains illegal character for VHD#Error: Can't elaborate top-level user hierarchy I'm sure there must be a simple fix for this. Grateful for any advice. Regards, jake