UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 4705

Foundation/FSM Editor - How do I specify a condition that includes all possible conditions that have not already been covered?

Description

Keywords: Foundation, FSM, state, machine, condition, others, else, trap, default

Urgency: Standard

General Description:
In the FSM diagram, there is no obvious way to group together all possible conditions that have not been specified already for a state, and to specify the resulting transition without having to write these conditions explicitly. How do I accomplish this?

解决方案

For three inputs to a state machine, eight possible conditions can produce a state transition. If two conditions produce two separate transitions and the remaining six conditions all produce the same transition, you can specify the remaining conditions in one. You can accomplish this by using the condition "@else".

This effectively produces an "ELSE" condition in the resulting VHDL code.
AR# 4705
创建日期 09/29/1998
Last Updated 08/12/2003
状态 Archive
Type 综合文章