VHDL Supported and Unsupported Constructs
The following is a comprehensive list of VHDL constructs translated by VHDL2Verilog.
Entity Declaration
Supported:
| • | Design with a single entity with architecture |
| • | Entity ports: IN , OUT , INOUT , BUFFER , LINKAGE |
| • | Interface element types: |
Not supported:
| • | Interface element types: |
| • | Design with no architecture |
Architecture Declaration
Supported:
| • | Multiple architectures for single entity declaration |
| • | (Simple) Configuration declaration |
Not supported:
| • | Design with an architecture and no entity |
| • | Configuration specification |
Packages and Package Bodies
Supported:
| • | Signal, Variable, Constant declaration |
| • | Enumerated type declaration |
| • | Subprogram body (requires additional manual translation) |
NOTE: Packages are translated only when used in a design!
Data Types
Supported:
| • | Signals/Variables/Constants of BASE subtype: |
| • | Signal/Variable initialization |
| • | Subtype declarations with range constraint |
Limited Support: 2D arrays of supported types
| • | 1D arrays of supported types equivalent to arrays of bits up to 2D |
| • | NOTE: for the above two cases, array types have to be CONSTRAINED. |
| • | Enumerated type declaration |
| • | Signal of enumerated type (state variable) translated to reg |
| • | Enumerated types declared in a: |
| • | Based literals (only base 2, 8, 10, 16) |
Not supported:
Generics
Supported:
| • | Generics of base type as described in Data Types with default expression |
Not supported:
| • | Generics without default expression |
Expressions
Supported:
| • | Expressions using signal and variables of types described in Data Types. |
| • | Expressions with all VHDL supported operators: |
| • | AND, OR, XOR, NAND, NOR, XNOR (93) |
| • | ** (power) operator (Only when used in a GENERATE statement) |
| • | Aggregate primaries in an expression |
Not supported:
| • | * * (power) operator (Except in generates) |
Sequential Statements
Supported:
| • | Wait statement (only in a process sequential body) |
| • | Assignment to an aggregate |
| • | Loop statement (FOR WHILE) |
| • | Procedure call statement |
Not supported:
Concurrent Statements
Supported:
| • | Conditional signal assignments |
| • | Selected signal assignments |
| • | Component instantiation statements |
Not supported:
| • | Concurrent procedure calls |
| • | Concurrent assertion statements |
| • | Guarded signal assignments |
Block statements
Supported:
Not supported:
| • | Generics and generic maps |
Process Statement
Supported:
| • | Process variable declaration |
| • | Process with sensitivity list |
| • | Process without sensitivity list |
| • | Process with a WAIT as the first or last sequential statement |
| • | Process with an infinite wait at the end of a sequential body |
| • | Process with a WAIT UNTIL at any place in the sequential body |
| • | Edge-sensitive processes equivalent to Dffs |
| • | rising/falling_edge function |
Concurrent Signal Assignments
Supported:
| • | Concurrent assignment with delay |
| • | Concurrent assignment to an aggregate |
| • | Concurrent assignment to a target with simple expressions in the range NOTE: in Verilog, the expressions have to be CONSTANT |
| • | Selected signal assignment |
Not supported:
| • | Multiple waveform elements in a concurrent signal assignment |
Component Instantiations
Supported:
| • | Generic mapping by ordered list |
| • | Generic mapping by using formals and actuals |
| • | Port mapping by ordered list |
| • | Port mapping by using formals and actuals |
| • | Port aspect of component declaration different from the entity |
| • | Instantiation of components residing in the same file |
| • | Instantiation of components residing in a package |
Generate Statement
Supported:
| • | Nested generates (FOR/IF) |
| • | Identical labels in generate block and in block enclosing generate |
| • | Component instantiations in generates |
| • | Concurrent assignments in generates |
| • | Processes in generates: regular, edge-sensitive (DFF-style) |
Not supported:
| • | Declarations local to generate (block declarative items) |
| • | Generates with loop parameters dependent on generics |
Predefined Language Environment
Supported:
| • | 'RANGE, 'LENGTH, 'LEFT, 'RIGHT, 'LOW, 'HIGH, 'EVENT, 'STABLE, 'LAST EVENT attributes |
Not supported: