Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17258 Discussions

Converting AHDL -> VHDL of existing LPM functions

Altera_Forum
Honored Contributor II
2,292 Views

I have a design which I started in 9.1sp2 using bdf files and a bunch of LPM generated AHDL (minority) and VHDL (majority) instantations. 

I'd like to regenerate and/or convert the AHDL instantations of these LPM functions into their VHDL equivalent (as if I had specified that all along from the beginning). 

 

I can now either arduously go in and convert every one of them by hand (painful), or there could be some magic button or a script can be created to do it for me. If anyone knows about the existance of the "magic button" to fix this, please let me know. In case that magic button doesn't exist, any hints on how to script this? Is there a cmdline tool which can be used for the conversion (or better yet, regeneration) of a single file?
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
1,344 Views

Hi BuGless, 

 

I took xport.exe for converting AHDL to VHDL. Command line usage: 

* chdir to the dir of your AHDL-file 

* <complete_path_to_xport.exe> -ahdl -vhdl <ahdl_file_name> 

 

Hope it helps, 

Axel
0 Kudos
Altera_Forum
Honored Contributor II
1,344 Views

I happen to have the Quartus II 10.1 Linux version here at the moment, it doesn't seem to have the xport command. Did that get renamed somehow, or is it only present in the Windows versions? Which version of Quartus II did you find it in?

0 Kudos
Altera_Forum
Honored Contributor II
1,344 Views

xport is a Xilinx utility for the AHDL-> VHDL/Verilog conversion.

0 Kudos
Altera_Forum
Honored Contributor II
1,344 Views

I see. One would have expected it to be named import then... 

 

Thanks for the pointer though.
0 Kudos
Reply