GENERATE instruction
VHDL-AMS Power Electronics and VHDL-AMS language -Methodological Contribution
Article REF: D3068 V1
GENERATE instruction
VHDL-AMS Power Electronics and VHDL-AMS language -Methodological Contribution

Author : Yannick HERVÉ

Publication date: February 10, 2013 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

4. GENERATE instruction

The VHDL-AMS designer can describe in his code the iterative or conditional generation of instructions that will be integrated at design time according to static or generic parameter values using the instruction. GENERATE INSTRUCTION. This instruction is recursive and nestable.

The following sequence will conditionally generate instructions:

If generic_boolean_cond GENERATE

[Local declaration area

begin]

{instruction}

End ;

The next instruction will generate a certain number of instructions. This number will only be known at the time of processing:

For I in generic_range GENERATE

{instruction_i_dependant}

End ;

The following...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Article included in this offer

"Conversion of electrical energy"

( 273 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details