Sign in

username:

password:



Not a member?

Search Comp.Arch.FPGA



Search tips

fpga by Keywords

Altera | ASIC | CPLD | Cyclone | DCM | DDR | DSP | Ethernet | ISE | JTAG | Linux | LVDS | Microblaze | ML310 | Modelsim | NIOS | OPB | PCI | Quartus | RocketIO | SDRAM | Spartan | Spartan3 | SRAM | Stratix | Verilog | VHDL | Virtex | Virtex-4 | Virtex-II | Xilinx | XST

Ads

See Also

DSPEmbedded SystemsElectronics

Comp.Arch.FPGA | XST 9.1 hates VHDL character types

There are 2 messages in this thread.

You are currently looking at messages 0 to 2.

XST 9.1 hates VHDL character types - Andy Peters - 2007-03-09 14:53:00

Under ISE 7.1, I did a simple UART module that
has a "terminating
character" generic, which is of type character.  (When the receiver
sees that terminating character, it asserts a "got terminator" output
flag.)  XST compiled it and the design works well.

I moved to 9.1, and now XST hates the code and craps out:

=========================================================================
*                     Design Hierarchy
Analysis                         *
=========================================================================
Analyzing hierarchy for entity <atesttop> in library <work>
(architecture <toplevel>) with generics.
	BAUDDIV = 27

Analyzing hierarchy for entity <processor> in library <work>
(architecture <proc>) with generics.
	BAUDDIV = 27
ERROR:Xst - Xst_HdlConst_Utility::BitVector2Const : invalid type
(char).
ERROR:Xst - Xst_Graph2Hdl::CreateConstSource : not implemented yet for
no-type.
ERROR:Xst:2683 - Unexpected error found while building hierarchy.
-->
=========================================================================

So ... why the step backwards?

Arrrrrrgh.

-a




Re: XST 9.1 hates VHDL character types - Andy Peters - 2007-03-09 15:01:00

On Mar 9, 12:53 pm, "Andy Peters"
<goo...@latke.net> wrote:
> Under ISE 7.1, I did a simple UART module that has a "terminating
> character" generic, which is of type character.  (When the receiver
> sees that terminating character, it asserts a "got terminator" output
> flag.)  XST compiled it and the design works well.
>
> I moved to 9.1, and now XST hates the code and craps out:
>
> =========================================================================
> *                     Design Hierarchy
> Analysis                         *
> =========================================================================
> Analyzing hierarchy for entity <atesttop> in library <work>
> (architecture <toplevel>) with generics.
>         BAUDDIV = 27
>
> Analyzing hierarchy for entity <processor> in library <work>
> (architecture <proc>) with generics.
>         BAUDDIV = 27
> ERROR:Xst - Xst_HdlConst_Utility::BitVector2Const : invalid type
> (char).
> ERROR:Xst - Xst_Graph2Hdl::CreateConstSource : not implemented yet for
> no-type.
> ERROR:Xst:2683 - Unexpected error found while building hierarchy.
> -->
> =========================================================================
>
> So ... why the step backwards?
>
> Arrrrrrgh.
>
> -a

Replying to myself:

OK, so I went through and removed all of the generics of type
character, and in the module where the generic is actually used, I
created a constant of type character.  XST accepts that and the code
built.

So, once upon a time (7.1i) you could use a character type as a
generic.  Now (9.1i), you can't.  Still a step backwards.  Arrrrgh.

-a