PDA

View Full Version : [LOGIC] Include



null null
12-01-2004, 07:14 PM
Hello Enrico
I would like to use the include text file function in the [LOGIC]
section.

I would like to put the following [LOGIC] code into a include file.

if (apugen = 2) and (APUPowerGood = 1)
if (Source1 = 0) and (Source2 = 0)
ACXFR1 = 2 //BUS POWERED BY BTB1 & APB
ACXFR2 = 4 //BUS POWERED BY BTB2 & BTB1
Source1 = 2 //APB
Source2 = 0 //NO SOURCE
else
ACXFR1 = 2 //BUS POWERED BY BTB1 & APB
Source1 = 2 //APB
Source2 = Source2
endif
endif


How is the include text file organized?


David

Enrico Schiratti
12-02-2004, 06:53 AM
Hi,

> I would like to use the include text file function in the [LOGIC]
> section.
>
> I would like to put the following [LOGIC] code into a include file.

That is possible, however all the includes will be handled once the main
file has been processed... so it absolutely needs to have

[logics]

at the beginning of it.

Ciao

Enrico