VHDPlus

VHDPlus

  • Guides
  • Components
  • Community
  • Blog
  • Contact

›Structural Syntax

Get started

  • Install
  • Install Drivers
  • GHDL Simulation
  • ModelSim
  • NIOS II

VHDPlus IDE

    Editor

    • Code Completion
    • Autocorrection
    • Error List
    • Hover
    • Signal Creation

    Layout

    • Toolbar
    • Project Explorer
    • Library Explorer

    Tools

    • Wait Calculator
    • String Converter
    • Import VHDL/QSYS/QIP
    • Serial Monitor

    Simulation

    • Simulation

VHDP Language

  • VHDP Overview
  • Structural Syntax

    • Main
    • Process
    • Thread
    • New Component
    • Generate
    • StepFunction
    • Function
    • Component
    • Generic
    • Package
    • Connections
    • VHDL

    Standard Operations

    • If, Else and Elsif
    • Case and When
    • For

    Procedure Operations

    • If, Else and Elsif
    • Case and When
    • StepFor
    • While
    • Wait
    • Step

    Datatypes

    • BIT, BIT_VECTOR and BOOLEAN
    • STD_LOGIC and STD_LOGIC_VECTOR
    • UNSIGNED and SIGNED
    • INTEGER, NATURAL and POSITIVE
    • User defined types (Enum, Array, Record)

    Declarations and Assignments

    • I/Os
    • Generic
    • Signal
    • Variable
    • Constant

    Operators

    • Operators
    • Math Operators
    • Type Operators
    • Concatation

Components

  • Overview
  • VHDP Core
  • VHDP Shield
  • VHDP Boards

    • LED Extension
    • IO Extension
    • WiFi Extension
    • Level Shifter Extension
    • DC Motor Extension
    • Bluetooth Extension
    • ADC Extension

Community

  • Overview

Generic

Definition

Generic is used to set parameters of a Component, like the number of inputs to debounce or the clock frequency.

Example

Component <Name>
(
    Generic 
    (
        CLK_Frequency : NATURAL := 12000000;
        Inputs range 1 to 8 : NATURAL;
        Error_Correction : BOOLEAN := false;
    );
    …
)
NewComponent <Name>
(
    CLK_Frequency => 50000000,
    Inputs => 1,
    --Error_Correction is false if not set
    …
);
← ComponentPackage →
  • Definition
  • Example
VHDPlus
Docs
Getting StartedComponentsVHDP Overview
Community
Stack OverflowProject ChatYoutubeInstagram
More
Privacy PolicyBlogProjects using VHDPlusFollow @VHDPlus
Copyright © 2019 VHDPlus.com