Answers Database


2.1i COREGEN, VIEWLOGIC: CORE Generator writes out Viewlogic symbol pins in reverse order for Coregen module


Record #7461

Product Family: Software

Product Line: Coregen

Product Part: Coregen

Product Version: 2.1

Problem Title:

2.1i COREGEN, VIEWLOGIC: CORE Generator writes out Viewlogic symbol pins in reverse order for Coregen module



Problem Description:
Urgency: standard

General Description:
The Viewlogic symbols generated by the CORE Generator in the
2.1i release may have symbol pins attached in reverse order on the

The .vhx file lists the pins as follows:

entity mlt32x8 is
   port (
    a : in std_logic_vector(31 downto 0);
    b : in std_logic_vector(15 downto 0);
    clk : in std_logic;
    p : out std_logic_vector(47 downto 0) );
end mlt32x8;

However, the input pins on the symbol appear in the
reverse order with the	CLK pin on top.

This is a new problem observed on the Solaris platform with
the version of VHDL2SYM shipped with Fusion 1.4.

When Viewlogic is specified as the Vendor in the CORE
Generator "Project Options" menu, the CORE Generator creates
a temporary .VHD file containing only module ports in it and runs the Viewlogic utility VHDL2SYM to generate a Viewlogic symbol for the CORE
Generator module. After generating the symbol, it then renames the
.VHD file to module_name.VHX.


Solution 1:

- Copy the .VHX file produced by Coregen to modulename.VHD and reorder the port list in reverse in the new .VHD file
- Run VHDL2SYM manually on this .VHD file as described in (Xilinx Solution #7462)



Solution 2:

Manually edit the pins on the generated symbol using the
Viewlogic symbol editor




End of Record #7461 - Last Modified: 09/14/99 14:48

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!