home *** CD-ROM | disk | FTP | other *** search
- ≡
- MOORE_MACHINE
- Overview
- This reserved word identifies the type of state machine you are
- designing.
-
-
- Syntax───────────────────────────────────────────────────────────────
- MOORE_MACHINE
-
- ────────────────────────────────────────────────────────────────────
-
- Device Support: All PLD devices.
- ·
- Syntax
- Include the reserved word in the state segment of state machine
- designs.
-
- Syntax───────────────────────────────────────────────────────────────
- MOORE_MACHINE
- Example──────────────────────────────────────────────────────────────
- STATE ;State Setup and Defaults
- MOORE_MACHINE
- ─────────────────────────────────────────────────────────────────────
- ·
- Definitions
-
- Moore_Machine This reserved word defines a state-machine design as
- one of the two possible types, either Moore or Mealy .
- If you do not define a type in the state segment of
- the design, the program defaults to Mealy machine.
-
- A Moore machine determines its outputs from the
- present state only.
- ·
- Use
- You can place the reserved word statement anywhere within the STATE
- segment. However, for design clarity, the following guidelines are
- advised.
-
- ■ Place the reserved word statement at the beginning of the STATE
- segment before the state global defaults.
-
- ■ Use this reserved word statement only once in a file. The
- software ignores redundant state-machine definitions.
-
- You cannot have both MOORE_MACHINE and MEALY_MACHINE statements in the
- same design file. If you want to include both types of state machines
- in the design file, only one can be written using state-machine
- syntax. The other type must be written using Boolean equations.
- ·
- Related Topics
- MEALY_MACHINE
- .OUTF
- STATE
- ·
-