Scan chains (was: control co-processor)

Liste des GroupesRevenir à c arch 
Sujet : Scan chains (was: control co-processor)
De : monnier (at) *nospam* iro.umontreal.ca (Stefan Monnier)
Groupes : comp.arch
Date : 07. May 2025, 04:12:08
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <jwvwmatqg1u.fsf-monnier+comp.arch@gnu.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Gnus/5.13 (Gnus v5.13)
Even state-of-the-art CPUs today commonly use scan-chains (via JTAG)
for debuggin.
Is there some blog somewhere that explains how scan-chains work (not
how they're used, but how they're implemented inside the CPU)?
Intuitively they sound very costly to me, because of things like the
need to run extra wires all over the place.  I'm obviously
missing something.
Actually, you're not far off.  It's a serial shift chain which is shifted
one-bit at a time to capture flop states.  Each chain is a single wire;
a chip may have a few dozen individual shift chains.
https://www.design-reuse.com/articles/48331/scan-chains-pnr-outlook.html

Thanks.  Wow.  So it is really that bad, huh?
I also liked the note about speed limits and power consumption, how
shifting a state (in or out) causes (almost) all the flip-flops to
change state at each cycle, thus leading to very high power consumption.

What's the approximate cost of those scan chains.  I.e. if we were to
take an existing working design and replace all the "flip-flop with
scan-chain" with "plain flip-flops", how much smaller would the
resulting chip be, how much faster could it run, and how much less power
could it consume?

I assume the cost in terms of power consumption is small because in
normal use, the scan-chain part stays completely stable so that barring
leakage it should not consume any power, save for the indirect costs
like the need to move the other bits over greater distances when
the extra wires of the scan chains get in the way.


        Stefan

Date Sujet#  Auteur
7 Sep 24 * Tonights Tradeoff108Robert Finch
7 Sep 24 `* Re: Tonights Tradeoff107MitchAlsup1
8 Sep 24  `* Re: Tonights Tradeoff106Robert Finch
8 Sep 24   `* Re: Tonights Tradeoff105MitchAlsup1
10 Sep 24    `* Re: Tonights Tradeoff104Robert Finch
10 Sep 24     +* Re: Tonights Tradeoff17BGB
10 Sep 24     i+* Re: Tonights Tradeoff12Robert Finch
10 Sep 24     ii+* Re: Tonights Tradeoff10BGB
11 Sep 24     iii`* Re: Tonights Tradeoff9Robert Finch
11 Sep 24     iii +* Re: Tonights Tradeoff7Stephen Fuld
11 Sep 24     iii i+- Re: Tonights Tradeoff1MitchAlsup1
12 Sep 24     iii i`* Re: Tonights Tradeoff5Robert Finch
12 Sep 24     iii i `* Re: Tonights Tradeoff4MitchAlsup1
12 Sep 24     iii i  `* Re: Tonights Tradeoff3Robert Finch
12 Sep 24     iii i   `* Re: Tonights Tradeoff2MitchAlsup1
13 Sep 24     iii i    `- Re: Tonights Tradeoff1MitchAlsup1
12 Sep 24     iii `- Re: Tonights Tradeoff1BGB
11 Sep 24     ii`- Re: Tonights Tradeoff1MitchAlsup1
11 Sep 24     i`* Re: Tonights Tradeoff4MitchAlsup1
12 Sep 24     i `* Re: Tonights Tradeoff3Thomas Koenig
12 Sep 24     i  `* Re: Tonights Tradeoff2BGB
12 Sep 24     i   `- Re: Tonights Tradeoff1Robert Finch
11 Sep 24     `* Re: Tonights Tradeoff86MitchAlsup1
15 Sep 24      `* Re: Tonights Tradeoff85Robert Finch
16 Sep 24       `* Re: Tonights Tradeoff84Robert Finch
24 Sep 24        `* Re: Tonights Tradeoff - Background Execution Buffers83Robert Finch
24 Sep 24         `* Re: Tonights Tradeoff - Background Execution Buffers82MitchAlsup1
26 Sep 24          `* Re: Tonights Tradeoff - Background Execution Buffers81Robert Finch
26 Sep 24           `* Re: Tonights Tradeoff - Background Execution Buffers80MitchAlsup1
27 Sep 24            `* Re: Tonights Tradeoff - Background Execution Buffers79Robert Finch
4 Oct 24             `* Re: Tonights Tradeoff - Background Execution Buffers78Robert Finch
4 Oct 24              +* Re: Tonights Tradeoff - Background Execution Buffers75Anton Ertl
4 Oct 24              i`* Re: Tonights Tradeoff - Background Execution Buffers74Robert Finch
5 Oct 24              i `* Re: Tonights Tradeoff - Background Execution Buffers73Anton Ertl
9 Oct 24              i  `* Re: Tonights Tradeoff - Background Execution Buffers72Robert Finch
9 Oct 24              i   +* Re: Tonights Tradeoff - Background Execution Buffers3MitchAlsup1
9 Oct 24              i   i+- Re: Tonights Tradeoff - Background Execution Buffers1Robert Finch
12 Oct 24              i   i`- Re: Tonights Tradeoff - Background Execution Buffers1BGB
12 Oct 24              i   +* Re: Tonights Tradeoff - Carry and Overflow67Robert Finch
12 Oct 24              i   i`* Re: Tonights Tradeoff - Carry and Overflow66MitchAlsup1
12 Oct 24              i   i `* Re: Tonights Tradeoff - Carry and Overflow65BGB
12 Oct 24              i   i  `* Re: Tonights Tradeoff - Carry and Overflow64Robert Finch
13 Oct 24              i   i   +* Re: Tonights Tradeoff - Carry and Overflow3MitchAlsup1
13 Oct 24              i   i   i`* Re: Tonights Tradeoff - ATOM2Robert Finch
13 Oct 24              i   i   i `- Re: Tonights Tradeoff - ATOM1MitchAlsup1
13 Oct 24              i   i   +- Re: Tonights Tradeoff - Carry and Overflow1BGB
31 Oct 24              i   i   `* Page fetching cache controller59Robert Finch
31 Oct 24              i   i    +- Re: Page fetching cache controller1MitchAlsup1
6 Nov 24              i   i    `* Re: Q+ Fibonacci57Robert Finch
17 Apr 25              i   i     `* Re: register sets56Robert Finch
17 Apr 25              i   i      +* Re: register sets53Stephen Fuld
17 Apr 25              i   i      i+- Re: register sets1Robert Finch
17 Apr 25              i   i      i+* Re: register sets46MitchAlsup1
18 Apr 25              i   i      ii`* Re: register sets45Robert Finch
18 Apr 25              i   i      ii `* Re: register sets44MitchAlsup1
20 Apr 25              i   i      ii  `* Re: register sets43Robert Finch
21 Apr 25              i   i      ii   `* Re: auto predicating branches42Robert Finch
21 Apr 25              i   i      ii    `* Re: auto predicating branches41Anton Ertl
21 Apr 25              i   i      ii     +- Is an instruction on the critical path? (was: auto predicating branches)1Anton Ertl
21 Apr 25              i   i      ii     `* Re: auto predicating branches39MitchAlsup1
22 Apr 25              i   i      ii      `* Re: auto predicating branches38Anton Ertl
22 Apr 25              i   i      ii       +- Re: auto predicating branches1MitchAlsup1
22 Apr 25              i   i      ii       `* Re: auto predicating branches36Anton Ertl
22 Apr 25              i   i      ii        `* Re: auto predicating branches35MitchAlsup1
23 Apr 25              i   i      ii         +* Re: auto predicating branches3Stefan Monnier
23 Apr 25              i   i      ii         i`* Re: auto predicating branches2Anton Ertl
25 Apr 25              i   i      ii         i `- Re: auto predicating branches1MitchAlsup1
23 Apr 25              i   i      ii         `* Re: auto predicating branches31Anton Ertl
23 Apr 25              i   i      ii          `* Re: auto predicating branches30MitchAlsup1
24 Apr 25              i   i      ii           `* Re: asynch register rename29Robert Finch
27 Apr 25              i   i      ii            `* Re: fractional PCs28Robert Finch
27 Apr 25              i   i      ii             `* Re: fractional PCs27MitchAlsup1
28 Apr 25              i   i      ii              `* Re: fractional PCs26Robert Finch
28 Apr 25              i   i      ii               +* Re: fractional PCs15MitchAlsup1
29 Apr 25              i   i      ii               i`* Re: fractional PCs14Robert Finch
5 May 25              i   i      ii               i `* Re: control co-processor13Robert Finch
5 May 25              i   i      ii               i  `* Re: control co-processor12Al Kossow
5 May 25              i   i      ii               i   `* Re: control co-processor11Stefan Monnier
6 May 25              i   i      ii               i    +* Re: control co-processor3MitchAlsup1
7 May 25              i   i      ii               i    i+- Re: control co-processor1MitchAlsup1
15 Jul 25              i   i      ii               i    i`- Re: control co-processor1MitchAlsup1
7 May 25              i   i      ii               i    `* Scan chains (was: control co-processor)7Stefan Monnier
7 May 25              i   i      ii               i     +* Re: Scan chains (was: control co-processor)2Al Kossow
7 May 25              i   i      ii               i     i`- Re: Scan chains1Stefan Monnier
7 May 25              i   i      ii               i     +* Re: Scan chains3MitchAlsup1
7 May 25              i   i      ii               i     i`* Re: Scan chains2Stefan Monnier
8 May 25              i   i      ii               i     i `- Re: Scan chains1MitchAlsup1
15 Jul 25              i   i      ii               i     `- Re: Scan chains1MitchAlsup1
29 Apr 25              i   i      ii               `* Re: fractional PCs10Robert Finch
29 Apr 25              i   i      ii                `* Re: fractional PCs9MitchAlsup1
30 Apr 25              i   i      ii                 `* Re: fractional PCs8Robert Finch
30 Apr 25              i   i      ii                  +* Re: fractional PCs6Thomas Koenig
1 May 25              i   i      ii                  i+- Re: fractional PCs1Robert Finch
2 May 25              i   i      ii                  i`* Re: fractional PCs4moi
2 May 25              i   i      ii                  i +* Re: millicode, extracode, fractional PCs2John Levine
2 May 25              i   i      ii                  i i`- Re: millicode, extracode, fractional PCs1moi
2 May 25              i   i      ii                  i `- Re: fractional PCs1moi
30 Apr 25              i   i      ii                  `- Re: fractional PCs1MitchAlsup1
15 Jul 25              i   i      i`* Re: register sets5John Savard
15 Jul 25              i   i      i `* Re: register sets4MitchAlsup1
19 Jul 25              i   i      i  `* Re: register sets3Robert Finch
15 Jul 25              i   i      `* Re: register sets2John Savard
13 Oct 24              i   `- Re: Tonights Tradeoff - Background Execution Buffers1Anton Ertl
4 Oct 24              +- Re: Tonights Tradeoff - Background Execution Buffers1BGB
6 Oct 24              `- Re: Tonights Tradeoff - Background Execution Buffers1MitchAlsup1

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal