File: interface.txt

package info (click to toggle)
tkgate 2.1%2Brepack-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 28,384 kB
  • sloc: ansic: 62,300; tcl: 20,345; xml: 2,731; yacc: 1,177; lex: 839; sh: 664; makefile: 180; perl: 39
file content (34 lines) | stat: -rw-r--r-- 1,213 bytes parent folder | download | duplicates (51)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Creating and Editing Module Interfaces

1) Select the "Interface" tab in the main window to start the interface editor.

2) Double-click on module "bar" in module list to edit its interface.

3) Double-click on a port name or port property to change it, any changes will
be immediately reflected in the interface example.

4) Double-click on the blank line below the last port in the port list to add
a new port.

5) You can also add a new port by right-clicking on the edge of the interface
example and then selecting one of the "Add..." options.

6) Change the size of the interface by selecting and dragging the edge or corner
of the box.

7) Move the position of a port by selecting and dragging it.

Autogeneration of Interfaces

1) Double-clock on the module "foo" in the module list to bring it up in the inteface
editor.  It should have a blank interface with no ports.

2) To automatically generate an interface, click on the "Auto Generate" button, then
select "OK".  The generate ports on the interface will be determined from the ports
used in the module definition.

Return to Edit Mode

Click on the "Edit" tab in the main window to switch to the definition for
the inteface you have been editing.