|
|
The following Text Design File (.tdf) excerpt illustrates the default values for two variables: a with default value GND, and bn with default value VCC:
BEGIN
DEFAULTS
a = GND;
bn = VCC;
END DEFAULTS;
IF c1 THEN
a = a1;
bn = b1n;
END IF;
IF c2 THEN
a = a2;
bn = b2n;
END IF;
END;
This example is equivalent to the following equations:
a = c1 & a1 # c2 & a2; bn = (!c1 # b1n) & (!c2 # b2n);
|
- PLDWorld - |
|
|
| Created by chm2web html help conversion utility. |