summaryrefslogtreecommitdiff
path: root/configs/sim/axis/twopass/twopass.txt
blob: 4d2db1078a0c53b99cc1d7e0c6eb4fecf9a907ef (plain)
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
twopass.ini

This sim configuration demonstrates the use of TWOPASS processing for halfiles.

Twopass processing supports multiple loadrt specifications for any component.
So, for example:

file1.hal: loadrt or2 names=or2_a,or2_b
file2.hal: loadrt or2 names=or2_c,or2_d

Halfiles are read in two passes.  In the first pass, loadrt lines are accumulated but not executed.  In the second pass, all loadrt lines are executed in order.

Twopass processing occurs before gui loading.  When using a [HAL]POSTGUI_HALFILE, it is convenient to loadrt all components prior to loading the gui.  In this example, this is done with the file:

   load_for_postgui.hal

--------------------------------------
Notes:

Twopass processing for a component can use either names= or count= specifications.

Combinations of names=  and count= are not supported.

Using names= is recommended for both readability and portability.