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 | UML Classes

Decoder

 Decoder

Function

Decodes a binary value on the input to an output vector with a single one bit.

Notation

"BIN_TO_BIT" = Decode binary input to output vector with single one bit.

Parameters

Name

Description

WIDTH

Width of the input port.

Tagged Values

Name

Variants

Registered

No, Yes

Enable

UnUsed, Used

Inputs

Name

Width

Condition

Description

D

WIDTH

None

Input bits to be encoded.

Enable

 

Registered = No

if (Enable) Y = BIN_TO_BIT; else Y=D;

ClockEn

 

Registered = Yes

if (ClockEn) Q = BIN_TO_BIT

 Outputs

Name

Width

Condition

Description

Y

2**WIDTH

Registered = No

BIN_TO_BIT

Q

2**WIDTH

Registered = Yes

BIN_TO_BIT

 

‹ Counter up Encoder ›

© Copyright 2009 Techniprise Inc. All rights reserved.