VHDL generated NGC file was Verilog by the engineering call problem

Source: Internet
Author: User

1. The question was raised

Project A is a soft core, written in VHDL, the synthesis of the time to remove the "Add I/O buffers", and-IOB (Pack I/O registers into Iobs) set to No. The A.NGC file was finally generated for use by other projects. After NGC is generated, the appropriate call file can also be generated in the View HDL instantiation Template "Design Utilities".

Project B calls the A.NGC, but Engineering B uses Verilog to write, and at the time of invocation there was an error in finding the A module.

2. How to solve a problem

Use the Netgen command to convert the NGC to a VHDL or Verilog file, and then after invoking the converted File

Linux under

Netgen--ofmt VHDLFILENAME.NGC

Windows under

Netgen.exe--ofmt VHDLFILENAME.NGC

3. Solution to the problem B

The above approach is only a trickery approach, and a better approach is achieved through the use of wrapper files.

Assuming that the original NGC file is ABC.NGC, its wrapper file is named ABC.V or ABC.VHD. This wrapper file only declares the input and output ports of the ABC module and does not contain additional information.

A simple way to generate a wrapper file is to use the Netgen tool mentioned in solution A to delete other statements using Netgen generated Verilog files or vhdl files, leaving only their declarations.

You can then add both the wrapper file and the NGC file to the project.

VHDL generated NGC file was Verilog by the engineering call problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.