10.2.1 PDC Syntax Conventions
(Ask a Question)The following table shows the typographical conventions that are used for the PDC command syntax.
Syntax Notation | Description |
---|---|
command
| Commands and arguments appear in Courier New typeface. |
variable | Variables appear in Courier New typeface. You must substitute an appropriate value for the variable. |
[-argument value] [variable]+ | Optional arguments begin and end with a square bracket with one exception: if the square bracket is followed by a plus sign (+), users must specify at least one argument. The plus sign (+) indicates that items within the square brackets can be repeated. Do not enter the plus sign character. |
10.2.1.1 Examples
(Ask a Question)Syntax for the set_io
command followed by a sample command:
set_io portname [-iostd value][-register value][-out_drive value][-slew value][- res_pull
value][-out_load value][-pinname value][-fixed value][-in_delay value] set_io ADDOUT2 \
-iostd PCI \
-register yes \
-out_drive 16 \ -slew high \
-out_load 10 \
-pinname T21 \
-fixed yes
10.2.1.2 Wildcard Characters
(Ask a Question)You can use the following wildcard characters in names used in PDC commands:
Wildcard | What It Does |
---|---|
\ | Interprets the next character literally |
? | Matches any single character |
* | Matches any string |
10.2.1.3 Special Characters ([ ], { }, and \)
(Ask a Question)Sometimes square brackets are part of the command syntax. In these cases, you must either enclose the open and closed square brackets characters with curly brackets or precede the open and closed square brackets characters with a backslash (\). If you do not, you will get an error message.
For example:
set_iobank {mem_data_in[57]} -fixed no 7 2
or set_iobank mem_data_in\[57\] -fixed no 7 2
10.2.1.4 Entering Arguments on Separate Lines
(Ask a Question)To enter an argument on a separate line, you must enter a backslash (\) character at the end of the preceding line of the command as shown in the following example:
set_io ADDOUT2 \
-iostd PCI \
-register Yes \
-out_drive 16 \
-slew High \
-out_load 10 \
-pinname T21 \
-fixed yes