Home
  • Home
  • Features
    • UML Object Diagrams
    • UML Statechart Diagrams
    • HDL Code Generation
  • Demos
    • Screencasts
    • Source Code
  • Support
    • Documentation
    • Screencasts
    • Customer Support
  • Try
  • Buy
  • Company
    • About
    • Services
    • Contact
  • QuickStart
  • Diagrams
    • Diagram UML View
    • Diagram HDL View
    • UML State Diagram
  • Dialogs
    • Add Input Pad Dialog
    • Add Output Pad Dialog
    • Add InOut Pad Dialog
    • Add State Input Dialog
    • Add State Output Dialog
    • Add Constant Dialog
    • Add Alias Dialog
    • Edit Comments Dialog
    • Expression Editor
  • Palettes
    • UML State Palette
    • UML Classes Palette
    • UML Documents Palette
    • HDL Palette
  • Properties Editors
    • Document Properties Editor
    • UML Object Properties Editor
  • Panels
    • Generation Console Tab
    • Navigator
    • Overview
  • UML Classes
    • BarrelShifter
    • Comparator
    • Counter
    • Decoder
    • Encoder
    • Johnson Counter
    • Latch
    • LFSR
    • Multiplexer
    • Parity
    • Register
    • Shift Register
Home | Documentation | Dialogs

Add Constant Dialog

 Add Constant Dialog

To open Add Constant dialog:

1.

Open new or saved document..  

2.

Select Document tab in Properties Editor.

3.

On Document tab find Constants property category. If necessary, scroll down to the very last row in the Constants property category till you see the cell saying "Add".

4.

Click the cell with "Add" to open Add Constant dialog (see Figure.8 below).

 

Option boxes (i.e. Hex, Octal, Decimal and Binary) allow users to set a base for the constant. The Name of the Constant is entered in the Name field. The Value is entered in any format acceptable by the selected HDL.

Since it is customary to use upper case for Constant names, the name is automatically converted to upper case unless the check box is unselected.

All Constants used in the Properties Editors must be named constants, so the constants for all vector widths, counter values, etc. must use named constants defined in the Add Constant Dialog.

Fig.8 Opening Add Constant dialog

 

In order to edit already existing constant you'll have to select the contant's value in Constants property category and click  button in a value cell. This will open Edit Constant dialog which is identical in its outlook with Add Constant dialog.

 

To delete a certain constant:

1.

select the contant's value in Constants property category;

2.

click  button in a value cell;

3.

confirm the operation in Remove Constant popup.

 

  NOTE:

You can not delete a constant if it is referenced by a tagged value(s). In this case a correspondent warning will be displayed in a popup.

 

‹ Add State Output Dialog up Add Alias Dialog ›

© Copyright 2009 Techniprise Inc. All rights reserved.