2.1.2 CUPL Designs via WinCUPL

For CUPL designs developed using WinCUPL, fitter options can be specified directly within the CUPL design file (.PLD) using PROPERTY statements.

The PROPERTY statement allows users to define any fitter options described in the Basic Options and Advanced Options and Strategies sections of this user guide. Examples demonstrating the use of PROPERTY statements in CUPL designs are provided below.

The syntax for a PROPERTY statement in a CUPL design is:

PROPERTY ATMEL {fitter option};

The following CUPL example illustrates the use of this statement. Note that a separate PROPERTY statement is required for each strategy, and the keyword “str” is not required in the expression.

Table 2-1. CUPL PROPERTY Statement Example

Name property;

Partno ATF1502 44-TQFP;

Date 11/13/23;

Revision 03;

Designer Apps Eng;

Company Microchip;

Assembly XXXXX;

Location XXXXX;

/**********************************************************

An example to show how to use the PROPERTY statement

**********************************************************/

/* All fitter option are specified by separate property statements */

PROPERTY ATMEL { preassign = keep }; /* Keep original pin assignments */

PROPERTY ATMEL { pd2 = on }; /* Enable the Power Down pin mode to be used */

PROPERTY ATMEL { open_collector = mc1}; /* Set mc1 to be an open-collector output */

/* Inputs */

Pin 37 = clk; /* Global Clock Signal */

Pin 39 = !reset; /* Global Reset Signal */

Pin 1 = mc5; /* TQFP pin assignments */

Pin 2 = mc4;

Pin 3 = mc3;

Pin 5 = mc2;

Pin 6 = mc1;

Pin 44 = mc6;

Pin 43 = mc7;

Pinnode 77 = mc1fdbk; /* Buried registered node */

/* Logic Equations */

mc1 = (mc3 $ mc4) # (mc5 $ mc6) # (mc7 $ mc1fdbk);

mc1fdbk.d = mc2;

mc1fdbk.ck = clk;

mc1fdbk.ar = reset;