Answers Database


Simulation function of State Editor does not work


Record #5038

Product Family: Software

Product Line: Aldec

Product Part: Foundation State Editor

Product Version: 1.5

Problem Title:
Simulation function of State Editor does not work


Problem Description:
The simulation function does not work in the current version of the State Editor. However the documentation (Foundation Help), contains information on it, and
the menu options are still there.

The simulation function in question is where you can stimulate inputs in the simulator, and watch the state change (one state is highlighted) in the state editor window.


Solution 1:

Fix the State Editor Simulation function or remove all references from the GUI and help documentation.

*******************************

MI from Aldec: A 'Simulation' option in the FSM has several restrictions:

1. A macro has to be created from the fsm and placed on the schematic

2. It is synthesis-tool sensitive because different tools use different signal renaming methods. This option was implemented for Metamor which converted a signal name
by adding an underscore and a number e.g. Sreg0_0, Sreg0_1 etc.

3. A binary encoding type must be chosen when all the above conditions are met
a current fsm state will be highlighted. The key issue is to find a state variable (state signals after synthesis) and calculate a current state.

In that case I would suggest to leave this option as it is (it is grayed out when it cannot be used for some of the above listed reasons). We can also remove it
from the menu since its usefulness is very limited and an Active-VHDL allows
you to simulate an fsm graphically.





End of Record #5038 - Last Modified: 06/14/99 10:25

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!