Active-HDL Tutorial Page
Active-HDL Tutorial Page.
Double click the Active HDL label to start
loading program. When loading finishes, the following dialog appears,
select the create new design option and click the OK button.
- Creating a New Design
In the first wizard window you can enter your
project name, its folder, the project type and the working library name.
We use a counter design for illustration here.
Create an empty
- Design Browser
Design Browser is a
window showing the design contents. As a result of previous operations,
it will display the following contents:
- Code Editing
Create VHDL source file or add the existing code from "Add new file".
following window shows the result of Code editing.
Edit VHDL source
- Syntax Checking
Go to the Design Browser window, select the .vhd
label and click the right mouse button. Choose the compile option from
the shortcut menu. If the source file contains a warning or error, green
checks won't appear. Correct the error and make sure all the source
files get green checks.
- Manual Simulation
To begin a simulation, you have to first
initialize the simulator using Initialization option from the simulation
menu. After the simulatior has been initialized, you have to open a new
Waveform window. Click the New Waveform toolbar button to invoke the
Now you need assign the
stimulators to all the input signals. Go to the left pane of the
Waveform Editor window and select the CLK signal. Press the right button
toinvoke a context menu, choose the clock item from stimulators dialog;
choose HotKey from random value inputs.
You can perform either a single step
simulation, which is useful for source code debugging, or a continues
simulation. Finish simulation by selecting the End Simulation option in
the Simulatior menu. Save your waveform before exit.
- Test Bench Simulation
You have an option to
create the test bench and run the simulation automatically instead of
assigning stimulators. Following picture is a result of running counter
That's it. Practice this convenient
software, you should discover many more nice features by yourself.