
Quick Start Tutorial
46
ProASIC3/E Starter Kit User’s Guide and Tutorial
4.
Click and drag in the SW4 signal to draw a high segment from 0 to 5 μs. When you release the mouse button,
WaveFormer Lite switches your state to LOW.
5.
Click and drag in the SW4 signal to draw a low segment from 5 us to 6.8 μs.
6.
Follow similar procedure to enter the rest of the input signals. You will get a waveform similar to the one shown in
A waveform was pre-drawn for you and you can find it in the stimulus folder.
Figure 7-18. Testbench Waveform for the Tutorial Design
7.
After creating the waveforms, select
Save As
from the
File
menu. In the
Save As
dialog box, enter
test_tbench.btim
as the file name and click
Save
.
8.
After saving the timing diagram file, select
Export Timing Diagram As
from the
Export
menu.
9.
Select
VHDL w/ Top Level Testbench
in
Files of Type
and enter
test_tbench.vhd
for the file name, as shown in
Figure 7-19. Export VHDL Testbench Save As Dialog Box
The WaveFormer Lite Report window displays the VHDL testbench with a component declaration and
instantiation inside.
10.
Exit WaveFormer Lite (
File
>
Exit
). The File Manager displays the stimulus files. The design is ready to simulate
under ModelSim.
Alternatively, you can create a testbench using the HDL editor.
To create a testbench using the HDL editor:
1.
From the
File
menu, select
New
. This opens the New File dialog box.
Summary of Contents for ProASIC3/E
Page 1: ...ProASIC3 E Starter Kit User s Guide and Tutorial...
Page 6: ......
Page 8: ......
Page 24: ......
Page 28: ......
Page 34: ......
Page 66: ......
Page 70: ......
Page 80: ......
Page 94: ...94 ProASIC3 E Starter Kit User s Guide and Tutorial Figure C 1 Layer 1 Top Signal Layer...
Page 95: ...ProASIC3 E Starter Kit User s Guide and Tutorial 95 Figure C 2 Layer 2 Ground Plane Blank...
Page 97: ...ProASIC3 E Starter Kit User s Guide and Tutorial 97 Figure C 4 Layer 4 LVDS Transmit Layer...
Page 98: ...98 ProASIC3 E Starter Kit User s Guide and Tutorial Figure C 5 Layer 5 Power Plane Blank...
Page 99: ...ProASIC3 E Starter Kit User s Guide and Tutorial 99 Figure C 6 Layer 6 Bottom...
Page 105: ......