text: the following description is presently contemplated as the best mode of carrying out the present invention . this description is not to be taken in a limiting sense but is made merely for the purpose of describing the principles of the invention . the scope of the invention should be determined by referring to the appended claims . fig1 shows a block diagram of a conventional system for testing scan - based integrated circuits using an ate . the system 101 includes a tester or external automatic test equipment ( ate ) 102 and a circuit - under - test ( cut ) 107 , which contains scan chains 109 . the ate 102 applies a set of fully specified test patterns 103 , one by one , to the cut 107 via scan chains 109 in scan mode from external scan input pins 111 as well as from external primary input pins 113 . the cut is then run in normal mode using the applied test pattern as input , and the response to the test pattern is captured into the scan chains . the cut is then put back into scan mode again and the test response is shifted out to the ate via scan chains from external scan output pins 112 as well as from external primary output pins 114 . the shifted - out test response 104 is then compared by the comparator 105 with the corresponding expected test response 106 to determine if any fault exists in the cut , and indicates the result by the pass / fail signal 115 . in the conventional system 101 , the number of scan chains 109 in the cut 107 is identical to the number of the external scan input pins 111 or the number of the external scan output pins 112 . since the number of external pins is limited in an integrated circuit , the number of scan chains in the conventional system is also limited . as a result , a large integrated circuit with a large number of scan cells ( sc ) 108 usually contains very long scan chains for scan test . this will result in unacceptably large test data volume and costly long test application time . fig2 shows a block diagram of a broadcast scan test system , in accordance with the present invention , for testing scan - based integrated circuits using an ate . the system 201 includes an ate 202 and a circuit 207 that includes a broadcaster 208 , a cut 209 , and a compactor 213 . the cut contains scan chains 211 . the broadcaster 208 may contain only a combinational logic network as shown in fig4 or a virtual scan controller in addition to a combinational logic network as shown in fig6 . the broadcaster is used to map virtual scan patterns 203 to broadcast scan patterns , where the number of bits of a virtual scan pattern is usually smaller than that of a broadcast scan pattern . the mapping function of a broadcaster is fixed if it only contains a combinational logic network . however , the mapping function is variable if it also contains a virtual scan controller . in this case , the output values of the virtual scan controller can change the mapping function that the combinational logic network realizes , thus implementing different mapping relations from external scan input pins 215 to internal scan chain inputs 219 . the compactor 213 is a combinational logic network , such as an xor network , designed to map the internal scan chain outputs 220 to external scan output pins 216 . note that in practice , the number of external scan input or output pins is smaller than the number of internal scan chain inputs or outputs . note that the element 213 can be replaced with an optional space compactor and a multiple - input signature registers ( misr ). in this case , all test responses will be compressed into a single signature , which can be compared with a reference signature either in the circuit 207 or in the ate 202 after all broadcast scan patterns have been applied . in addition , the compactor 213 usually contains a mask network used to block several output streams from coming into a xor compaction network or a misr . this is useful in fault diagnosis . fig3 shows a prior art broadcaster design with only pure wires . this example broadcaster design 301 has two broadcast scan inputs 314 and 315 . the broadcast scan input 314 is connected directly to scan chains 303 to 307 while the broadcast scan input 315 is connected directly to scan chains 308 to 312 . although the overhead of this pure - wire broadcast design is very low , the test pattern dependency among the scan chains fed by the same broadcast scan input is very high . from the point of view of automatic test pattern generation ( atpg ), this pure - wire broadcast design puts a strong constraint on the inputs to scan chains . as a result , this scheme usually suffers from severe fault coverage loss . fig4 shows a block diagram of a broadcaster , in accordance with the present invention , consisting of a combinational logic network and an optional scan connector . virtual scan patterns are applied via broadcast scan inputs 407 of the broadcaster 401 to the combinational logic network 402 . the combinational logic network implements a fixed mapping function , which converts a virtual scan pattern into a broadcast scan pattern . the broadcast scan pattern is then applied to all scan chains 409 in the cut 404 , through an optional scan connector 403 . the broadcaster 401 serves the purpose of providing test patterns to a large number of internal scan chains 406 through a small number of external broadcast scan input pins 407 . as a result , all scan cells sc 405 in the cut 404 can be configured into a large number of shorter scan chains . this will help in reducing test data column and test application time . by properly designing the combinational logic network 402 , one can reduce the fault coverage loss caused by additional constraints imposed on the input pins of the scan chains . fig5 a shows a first embodiment of a broadcaster shown in fig4 , in accordance with the present invention , consisting of a combinational logic network . in this example , a 3 - bit virtual scan pattern is converted into an 8 - bit broadcast scan pattern via the broadcaster 501 . the broadcaster 501 consists of a combinational logic network 502 , which contains two inverters 503 and 507 , one multiplexer 508 , one xor gate 504 , one or gate 505 , and one nor gate 506 . virtual scan patterns are applied via broadcast scan inputs x2 518 to x0 520 . the combinational logic network implements a fixed mapping function , which converts a virtual scan pattern into a broadcast scan pattern . the broadcast scan pattern is then applied to all scan chains 510 to 517 via y7 521 to y0 528 in the cut 529 . fig5 b shows the inputs constraint imposed by the embodiment of a broadcaster shown in fig5 a . the broadcaster 501 in fig5 a has three broadcast scan inputs x2 518 to x0 520 . thus , there are 8 input combinations for the broadcast scan inputs as listed under & lt ; x2 , x1 , x0 & gt ; in the table 531 . these are all possible input value combinations to the combinational logic network 502 in fig5 a . therefore , as the outputs of the combinational logic network , there are 8 value combinations as listed under & lt ; y7 , y6 , y5 , y4 , y3 , y2 , y1 , y0 & gt ; in the table 531 . these are all possible logic value combinations that may appear at the inputs of the scan chains 510 to 517 in fig5 a , and they are the input constraints in the process of atpg . fig5 c shows a second embodiment of a broadcaster shown in fig4 , in accordance with the present invention , consisting of a combinational logic network and a scan connector . in this example , a 3 - bit virtual scan pattern is converted into an 8 - bit broadcast scan pattern via the broadcaster 561 . the broadcaster 561 consists of a combinational logic network 562 and a scan connector 566 . the combinational logic network contains one inverter 565 , one xor gate 563 , and one or gate 564 . virtual scan patterns are applied via broadcast scan inputs x2 581 to x0 583 . the combinational logic network implements a fixed mapping function , which converts a virtual scan pattern into a broadcast scan pattern . the broadcast scan pattern is then applied to all scan chains 573 to 580 through the scan connector 566 . the scan connector consists of one buffer 567 , one inverter 570 , one lock - up element le 569 , and one spare cell sc 568 . generally , two scan chains can be connected into one by using a buffer , an inverter , or a lock - up element in a scan connector . in addition , a spare cell can be added into an existing scan chain to change its length in order to reduce the dependency among different scan chains . this will help improve fault coverage . fig5 d shows the inputs constraint imposed by the embodiment of a broadcaster shown in fig5 c . the broadcaster 561 in fig5 c has three broadcast scan inputs x2 581 to x0 583 . thus , there are 8 input combinations for the broadcast scan inputs as listed under & lt ; x2 , x1 , x0 & gt ; in the table 591 . these are all possible input value combinations to the combinational logic network 562 in fig5 c . therefore , as the outputs of the combinational logic network , there are 8 value combinations as listed under & lt ; y4 , y3 , y2 , y1 , y0 & gt ; in the table 591 . these are the input constraints in the process of atpg . fig6 shows a block diagram of a broadcaster , in accordance with the present invention , consisting of a virtual scan controller , a combinational logic network , and an optional scan connector . the broadcaster 601 consists of a virtual scan controller 602 , a combinational logic network 603 , and an optional scan connector 604 . virtual scan patterns are applied via two types of input pins : broadcast scan inputs 608 and virtual scan inputs 609 . the broadcast scan inputs are connected directly to the combinational logic network , while the virtual scan inputs are connected directly to the virtual scan controller . in addition , the virtual scan controller may have optional virtual scan outputs 613 . note that the virtual scan controller 602 can be either a combinational circuit such as a decoder , or a sequential circuit such as a shift register . the logic values applied through virtual scan inputs 609 may or may not change in each clock cycle although logic values applied through broadcast scan inputs 608 change in each clock cycle . the purpose of applying virtual scan input values is to change and store a proper set - up value combination in the virtual scan controller . this set - up value combination is applied to the combinational logic network 603 through 610 in order to change the mapping function that the combinational logic network implements . since one mapping function corresponds to one set of input constraints for atpg , providing the capability of changing mapping functions results in more flexible input constraints for atpg . as a result , fault coverage loss due to the broadcast scheme can be substantially reduced . generally , the broadcaster 601 serves two purposes during test . one purpose is to provide test patterns to a large number of internal scan chains 607 through a small number of external broadcast scan input pins 608 and virtual scan input pins 609 . as a result , all scan cells sc 606 in a circuit can be configured into a large number of shorter scan chains . this will help in reducing test data volume and test application time . another purpose is to increase the quality of broadcast scan patterns applied from the combinational logic network 603 to all scan chains in order to obtain higher fault coverage . this is achieved by changing the values loaded into the virtual scan controller . because of this flexibility , the combinational logic network can realize different mapping functions rather than a fixed one . fig7 shows a first embodiment of a broadcaster shown in fig6 , in accordance with the present invention . the broadcaster 701 consists of a virtual scan controller 702 and a combinational logic network 705 . the virtual scan controller consists of two inverters 703 and 704 . the combinational logic network is composed of 8 xor gates 706 to 713 . in this example , a 4 - bit virtual scan pattern is converted into an 8 - bit broadcast scan pattern via the broadcaster . obviously , the outputs 730 and 731 of the virtual scan controller 702 must have complementary values . in addition , the outputs 732 and 733 of the virtual scan controller must also have complementary values . suppose that the values applied to the two broadcast scan inputs 728 and 729 are v1 and v2 , respectively . in this case , the values appearing at scan chain inputs 734 to 743 should be p1 , ˜ p1 , p2 , ˜ p2 , v1 , v2 , p3 , ˜ p3 , p4 , ˜ p4 , respectively . here p1 and ˜ p1 are complementary , p2 and ˜ p2 are complementary , p3 and ˜ p3 are complementary , p4 and ˜ p4 are complementary . in addition , p1 and p2 are either the same as v1 or are the complement of v1 while p3 and p4 are either the same as v1 or are the complement of v2 . this is the input constraint for atpg . fig8 shows a second embodiment of a broadcaster shown in fig6 , in accordance with the present invention . the broadcaster 801 consists of a virtual scan controller 802 and a combinational logic network 804 . the virtual scan controller consists of a 2 - to - 4 decoder 803 . the combinational logic network is composed of 8 xor gates 805 to 812 . in this example , a 4 - bit virtual scan pattern is converted into an 8 - bit broadcast scan pattern via the broadcaster . obviously , there are four possible logic value combinations for the outputs 829 to 832 of the 2 - to - 4 decoder 803 . they are 1000 , 0100 , 0010 , and 0001 for the outputs 829 to 832 , respectively . suppose the output value combination of the 2 - to - 4 decoder is 1000 . also suppose that the logic values applied to the two broadcast scan inputs 827 and 828 are v1 and v2 , respectively . in this case , the values appearing at scan chain inputs 833 to 842 should be ˜ v1 , v1 , v1 , v1 , v1 , v2 , ˜ v2 , v2 , v2 , v2 , respectively . here v1 and ˜ v1 are complementary , while v2 and ˜ v2 are complementary . this is the input constraint for atpg . obviously , by changing the values of virtual scan inputs 825 and 826 , one can get different set of input constraints for atpg . this will help in improving fault coverage . fig9 shows a third embodiment of a broadcaster shown in fig6 , in accordance with the present invention . the broadcaster 901 consists of a virtual scan controller 902 and a combinational logic network 911 . the virtual scan controller consists of an 8 - stage shift register with memory elements 903 to 910 . there is one virtual scan input 932 , which is the input to the shift register . there is one optional virtual scan output 935 , which is the output of the shift register . optionally , the virtual scan input and the virtual scan output can be connected to tdi and tdo in the boundary scan design , respectively . the combinational logic network is composed of 8 xor gates 912 to 919 . there are two broadcast scan inputs , 933 and 934 . test patterns applied via the input 933 are broadcasted to scan chains 922 to 926 ; while test patterns applied via the input 934 are broadcasted to scan chains 927 to 931 . the scan chains 926 and 927 are loaded directly from the broadcast scan input 933 and 934 , respectively , while the scan chains 922 to 925 , as well as the scan chains 928 to 931 , are loaded through xor gates 912 to 915 and 916 to 919 , respectively . if the value of the memory element 903 is a logic 0 , the scan chain 922 will get the identical values as those applied from the broadcast scan input 933 . if the value of the memory element 903 is a logic 1 , the scan chain 922 will then get the complementary values to those applied from the broadcast scan input 933 . the same observation applies to the scan chains 923 to 925 as well as 928 to 931 . this means that , by applying a set of properly determined values to the shift register in the virtual scan controller 902 , it is possible to apply any of the 1024 combinations of logic values to the scan chains 922 to 931 in any shift cycle . as a result , any detectable fault in the cut 920 can be detected by loading a set of properly determined logic values to the shift register and by applying a broadcast scan pattern through the inputs 933 and 934 . from the point of view of atpg , which tries to generate broadcast scan patterns to drive all scan chains in order to test the cut 920 , the broadcaster configuration determined by the values of the memory elements in the shift register of the virtual scan controller 902 represents an input constraint . suppose that the values for the memory elements 903 to 910 are 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 , respectively . in this case , the atpg for the cut should satisfy such an input constraint that , in any shift cycle , the scan chains 922 , 924 , and 926 have the identical value v , the scan chains 923 and 925 have the identical value ˜ v that is the complement of v , the scan chains 927 , 928 , and 930 have the identical value p , the scan chains 929 and 931 have the identical value ˜ p that is the complement of p . fig1 shows a fourth embodiment of a broadcaster shown in fig6 , in accordance with the present invention . the broadcaster 1001 consists of a virtual scan controller 1002 and a combinational logic network 1006 . the virtual scan controller consists of a 3 - stage shift register with memory elements 1003 to 1005 . there is one virtual scan input 1023 , which is the input to the shift register . there is one optional virtual scan output 1026 , which is the output of the shift register . optionally , the virtual scan input and the virtual scan output can be connected to tdi and tdo in the boundary scan design , respectively . the combinational logic network is composed of 4 xor gates 1007 to 1010 . there are two broadcast scan inputs , 1024 and 1025 . test patterns applied via the input 1024 are broadcasted to scan chains 1013 to 1017 ; test patterns applied via the input 1025 are broadcasted to scan chains 1018 to 1022 . the major difference between the broadcaster 901 in fig9 and the broadcaster 1001 in fig1 is that test patterns are broadcasted directly to some scan chains instead of going through xor gates in the broadcaster 1001 . the scan chains 1013 , 1015 , and 1017 are driven directly from the broadcast scan input 1024 . this means that , in any shift cycle , scan chains 1013 , 1015 , and 1017 will have the identical values . in addition , the scan chains 1018 , 1020 , and 1022 are driven directly from the broadcast scan input 1025 . this means that , in any shift cycle , scan chains 1018 , 1020 , and 1022 will have the identical values . as a result , by applying a set of properly determined values to the shift register in the virtual scan controller 1002 , it is only possible to apply any of the 64 combinations of logic values to the scan chains 1013 to 1022 in any shift cycle . that is , the broadcaster 1001 needs less hardware overhead at the expense of stronger constraints at the inputs to the scan chains . fig1 shows a fifth embodiment of a broadcaster shown in fig6 , in accordance with the present invention . the broadcaster 1101 consists of a virtual scan controller 1102 and a combinational logic network 1106 . the virtual scan controller consists of a 3 - stage shift register with memory elements 1103 to 1105 . there is one virtual scan input 1127 , which is the input to the shift register . there is one optional virtual scan output 1130 , which is the output of the shift register . optionally , the virtual scan input and the virtual scan output can be connected to tdi and tdo in the boundary scan design , respectively . the combinational logic network is composed of four xor gate ( 1108 , 1109 , 1112 , 1114 ), two inverters ( 1107 , 1113 ), one and gate ( 1110 ), and one or gate ( 1111 ). there are two broadcast scan inputs , 1128 and 1129 . test patterns applied via the input 1128 are broadcasted to scan chains 1117 to 1121 ; test patterns applied via the input 1129 are broadcasted to scan chains 1122 to 1126 . the broadcaster 1101 realizes more complex broadcast mapping relations from the broadcast scan inputs 1128 and 1129 to the inputs of the scan chains 1117 to 1126 . the general form of the mapping relations can be represented by & lt ; vb , vc , v , vc , v * p , v + p , pc1 , pb , pc2 , p & gt ; corresponding to the inputs of the scan chains 1117 to 1126 , respectively . here , v and p are two logic values applied from the broadcast scan inputs 1128 and 1129 in any shift cycle , respectively . vb and pb are the complements of v and p , respectively . vc equals v or vb if the output value of the memory element 1103 is a logic 0 or 1 , respectively . pc1 equals p or pb if the output value of the memory element 1104 is a logic 0 or 1 , respectively ; pc2 equals p or pb if the output value of the memory element 1105 is a logic 0 or 1 , respectively . obviously , the broadcast mapping relation can be changed by changing vc , pc1 , and pc2 through loading different sets of logic values into the shift register in the virtual scan controller 1102 . as a result , less inter - dependent test stimuli can be applied to the cut 1115 so that higher fault coverage can be reached . from the point of view of atpg , which tries to generate broadcast scan patterns to drive all scan chains 1117 to 1126 in order to test the cut 1115 , the broadcaster configuration determined by the values of the memory elements in the shift register of the virtual scan controller 1102 represents an input constraint whose general form is & lt ; vb , vc , v , vc , v & amp ; p , v + p , pc1 , pb , pc2 , p & gt ;. this constrained atpg can be performed if the original sequential cut 1115 is transformed to a combinational circuit model reflecting the constraint after the values of the memory elements are determined . fig1 shows a sixth embodiment of a broadcaster shown in fig6 , in accordance with the present invention . the broadcaster 1201 consists of a virtual scan controller 1202 , a combinational logic network 1203 , and a scan connector 1207 . the combinational logic network contains two inverters 1204 and 1206 in addition to one or gate 1205 . virtual scan patterns are applied via broadcast scan inputs 1226 and 1227 as well as a virtual scan input tdi 1224 . one output x2 1229 from the virtual scan controller is applied to the combinational logic network , making it able to implement different mapping functions . the output values 1232 to 1236 from the combinational logic network is then applied to all scan chains 1215 to 1223 through the scan connector 1207 . the scan connector consists of one buffer 1209 , one inverter 1212 , one lock - up element le 1211 , one spare cell sc 1210 , and one multiplexer 1208 . generally , two scan chains can be connected into one by using a buffer , an inverter , or a lock - up element in a scan connector . in addition , a spare cell can be added into an existing scan chain to reduce the dependency among different scan chains . this will help improve fault coverage . furthermore , a multiplexer can be used to split a scan chain into two parts . as shown in fig1 , if the selection signal 1228 of the multiplexer 1208 is a logic 1 , the scan chains 1215 and 1216 will get different input value streams . however , if the selection signal 1228 of the multiplexer 1208 is a logic 0 , the scan chains 1215 and 1216 can be seen as one scan chain , and only one input value stream goes though them . obviously , a scan connector can be used to adjust the length of scan chains in the cut in order to shorten test time or improve fault coverage . fig1 shows a block diagram of a compactor , in accordance with the present invention , consisting of a mask network and a xor network or a misr . the test responses on the outputs 1308 of the cut corresponding to broadcast scan patterns applied on the inputs 1307 of the cut pass through a compactor 1304 , which consists of a mask network 1305 and a xor network or a misr 1306 . mc 1311 is the signal used to control the mask network . it can be applied from an ate or generated by a virtual scan controller . the mask network is used to mask some inputs to a xor network or a misr . this is useful in fault diagnosis . a xor network is used to conduct space compaction , i . e . reducing the number of test response lines going out of the circuit . on the other hand , a misr can be used to compress test responses in both space and time domains . that is , there is no need to check test results cycle by cycle when a misr is used . on the contrary , it is only necessary to compare the signature obtained at the end of the whole test session . however , it should be noted that no unknown values ( x &# 39 ; s ) are allowed to come into a misr . this means stricter design rules should be followed . fig1 shows a first embodiment of a compactor shown in fig1 , in accordance with the present invention . the test responses on the outputs 1441 to 1448 pass through a mask network 1412 and then a xor network 1422 . the mask network consists of two groups of and gates 1414 to 1417 and 1418 to 1421 , each group being controlled by the four outputs generated by a modified 2 - to - 4 decoder 1413 . in the diagnosis mode where the mode signal 1449 is a logic 1 , this decoder maps logic values on mc1 1429 and mc2 1430 to one of the following combinations : 1000 , 0100 , 0010 , and 0001 . with any of these logic combination , it is clear that either group of and gates will allow only one test response stream to pass to 1431 or 1432 . obviously , this will help in fault diagnosis . in the test mode where the mode signal 1449 is a logic 0 , this decoder will generate an all - 1 logic combination . this will allow all test response streams pass to 1431 or 1432 . the xor network 1422 consists of two groups of 4 - to - 1 xor sub - networks , composed of xor gates 1423 to 1425 and 1426 to 1428 , respectively . fig1 shows a second embodiment of a compactor shown in fig1 , in accordance with the present invention . the test responses on the outputs 1540 to 1547 pass through a mask network 1512 and then a misr 1525 . the mask network consists of two groups of and gates 1517 to 1520 and 1521 to 1524 , each group being controlled by the four outputs of a shift register composed of memory elements 1513 to 1516 . in the diagnosis mode , this shift register can be loaded from tdi 1526 with one of the following combinations : 1000 , 0100 , 0010 , and 0001 . with any of these logic combination , it is clear that either group of and gates will allow only one test response to pass stream to the misr . obviously , this will help in fault diagnosis . in the test mode , an all - 1 logic combination will be loaded into the shift register . this will allow all test response streams pass to the misr . the content of the misr at the end of a test session can be shifted out from tdo 1529 for comparison with the expected signature . fig1 a shows an embodiment of the method before reordering scan cells or changing the scan chain length for generating broadcast scan patterns to test more faults , in accordance with the present invention . a broadcaster 1601 has one broadcast scan input 1614 , which broadcasts logic values to three scan chains , 1606 , 1608 , and 1611 . since logic values are applied to the scan chain 1611 via an xor gate 1604 , by properly loading the shift register in the virtual scan controller 1602 , it is possible , in any shift cycle , to apply any logic value which can be different from the one applied via scan chains 1606 and 1608 . however , scan chains 1606 and 1608 will be loaded with the same logic values in any shift cycle . as a result , the scan cells a3 1607 and b3 1610 will have the same logic value in any broadcast test patterns . since the outputs from the scan cells a3 1607 and b3 1610 are connected to the same combinational logic block 1612 , it is possible that some faults in the combinational logic block cannot be detected due to this strong test pattern dependency . for example , in order to detect some faults in the combinational logic block , it may be necessary to have a logic 0 as the output of the scan cell a3 1607 and a logic 1 as the output of the scan cell b3 1610 . obviously , these faults will not be detected . fig1 b shows an embodiment of the method after reordering scan cells for generating broadcast scan patterns to test more faults , in accordance with the present invention . a broadcaster 1601 has one broadcast scan input 1614 , which broadcasts logic values to three scan chains , 1606 , 1608 , and 1611 . the only difference between fig1 a and fig1 b is that , in the scan chain 1608 , the order of the scan cells b2 1609 and b3 1610 is changed . now , although the outputs of the scan cells a3 1607 and b2 1609 have the same logic value in any shift cycle , the outputs of the scan cells a3 1607 and b3 1610 can have different logic values . as a result , this makes it possible to detect some faults that cannot be detected with the scan order shown in fig1 a . fig1 c shows an embodiment of the method after changing the scan chain length for generating broadcast scan patterns to test more faults , in accordance with the present invention . a broadcaster 1601 has one broadcast scan input 1614 , which broadcasts logic values to three scan chains , 1606 , 1608 , and 1611 . the only difference between fig1 a and fig1 c is that , one spare scan cell b0 1617 is added to the scan chain 1608 through a multiplexer 1618 . it is clear that , if the selection signal 1619 is a logic 1 , the spare scan cell will be added to the scan chain 1608 . as a result , although the outputs of the scan cells a3 1607 and b2 1609 have the same logic value in any shift cycle , the outputs of the scan cells a3 1607 and b3 1610 can have different logic values . as a result , this makes it possible to detect some faults that cannot be detected with the scan order shown in fig1 a . fig1 shows a flow chart of the method for reordering scan cells for fault coverage improvement , in accordance with the present invention . this method 1700 accepts the user - supplied hdl codes 1701 together with the chosen foundry library 1702 . the hdl codes represent a sequential circuit comprised of a broadcaster , a full - scan cut , and a compactor as shown in fig2 . the hdl codes and the library are then complied into an internal sequential circuit model 1704 , which is then transformed into a combination circuit model 1706 . then , based on the original scan order information 1709 and the scan order constraints 1710 , the input - cone analysis 1707 is conducted to identify scan cells whose order needs to be changed . then , scan chain reordering 1708 is conducted . after that , the hdl test benches and tester programs 1711 are generated while all reports and errors are saved in the report files 1712 . fig1 shows a flow chart of the method for generating broadcast scan patterns used in testing scan - based integrated circuits , in accordance with the present invention . this method 1800 accepts the user - supplied hdl codes 1801 together with the chosen foundry library 1802 . the hdl codes represent a sequential circuit comprised of a broadcaster , a full - scan cut , and a compactor as shown in fig2 . the hdl codes and the library are then complied into an internal sequential circuit model 1804 , which is then transformed into a combination circuit model 1806 . then , based on input constraints 1810 , combinational fault simulation 1807 is performed , if so required , for a number of random patterns and all detected faults are removed from the fault list . after that , combinational atpg 1808 is performed to generate virtual scan patterns and all detected faults are removed from the fault list . if predetermined limiting criteria , such as a pre - selected fault coverage goal , are met , the hdl test benches and ate test programs 1811 are generated while all reports and errors are saved in the report files 1812 . if the predetermined limiting criteria are not met , new input constraints 1810 will be used . for example , a new set of values can be loaded into the virtual scan controller to specify new input constraints . after that , optional random - pattern fault simulation 1807 and atpg 1808 are performed . this iteration goes on until the predetermined limiting criteria are met . fig1 shows a flow chart of the method for synthesizing a broadcaster and a compactor to test a scan - based integrated circuit , in accordance with the present invention . this method 1900 accepts the user - supplied hdl codes 1901 together with the chosen foundry library 1902 . the hdl codes represent a sequential circuit comprised of a broadcaster , a full - scan cut , and a compactor as shown in fig2 . the hdl codes and the library are then complied into an internal sequential circuit model 1904 . then , based on the broadcaster constraints 1908 and the compacter constraints 1909 , broadcaster synthesis 1905 and compactor synthesis 1906 are conducted , respectively . after that , based on the stitching constraints 1910 , stitching 1907 is conducted to integrate the broadcaster and the compactor to the original circuit . at the end , the synthesized hdl codes 1911 are generated while all reports and errors are saved in the report files 1912 . fig2 shows an example system in which the broadcast scan test method , in accordance with the present invention , may be implemented . the system 2000 includes a processor 2002 , which operates together with a memory 2001 to run a set of the broadcast scan test design software . the processor 2002 may represent a central processing unit of a personal computer , workstation , mainframe computer or other suitable digital processing device . the memory 2001 can be an electronic memory or a magnetic or optical disk - based memory , or various combinations thereof . a designer interacts with the broadcast scan test design software run by processor 2002 to provide appropriate inputs via an input device 2003 , which may be a keyboard , disk drive or other suitable source of design information . the processor 2002 provides outputs to the designer via an output device 2004 , which may be a display , a printer , a disk drive or various combinations of these and other elements . having thus described presently preferred embodiments of the present invention , it can now be appreciated that the objectives of the invention have been fully achieved . and it will be understood by those skilled in the art that many changes in construction & amp ; circuitry , and widely differing embodiments & amp ; applications of the invention will suggest themselves without departing from the spirit and scope of the present invention . the disclosures and the description herein are intended to be illustrative and are not in any sense limitation of the invention , more preferably defined in scope by the following claims .