WEBVTT

1
00:00:00.000 --> 00:00:06.200
Reset release is not one simultaneous
instant across the chip.

2
00:00:06.200 --> 00:00:12.480
If permission crosses a clock domain or
precedes startup checks, it may be used

3
00:00:12.480 --> 00:00:15.780
while the system appears to be booting.

4
00:00:15.780 --> 00:00:22.160
A hospital backup-power transfer makes the
point: lights can be on before every ward

5
00:00:22.160 --> 00:00:28.440
has passed its checks. A controller waits
for stable power, self-tests, and then

6
00:00:28.440 --> 00:00:31.260
enables selected outlets.

7
00:00:31.260 --> 00:00:38.840
A chip must likewise distinguish stable
power, reset release, valid OTP/lifecycle

8
00:00:38.840 --> 00:00:45.440
data, ROM checks, and CPU fetch enable.
These are separate events.

9
00:00:45.440 --> 00:00:48.640
The analogy only conveys staged readiness;

10
00:00:48.640 --> 00:00:52.900
it does not model asynchronous reset
networks, metastability,

11
00:00:52.900 --> 00:00:54.560
or fused lifecycle states.

12
00:00:55.170 --> 00:01:00.310
List reset assertion and deassertion in each
domain.

13
00:01:00.310 --> 00:01:04.190
Asynchronous assertion can clear state
promptly;

14
00:01:04.190 --> 00:01:08.370
deassertion is commonly synchronized to each
destination clock

15
00:01:08.370 --> 00:01:12.530
to avoid recovery/removal violations.

16
00:01:12.530 --> 00:01:19.090
OpenTitan’s public lifecycle-controller
theory describes waiting for OTP sensing,

17
00:01:19.090 --> 00:01:25.470
decoding and broadcasting lifecycle, then
checking straps/ROM after stabilization.

18
00:01:25.470 --> 00:01:30.990
That is a design-specific document, not a
timing guarantee for every product.

19
00:01:30.990 --> 00:01:36.490
A one-bit ready pulse sampled directly
across domains may be missed.

20
00:01:36.490 --> 00:01:41.830
Synchronizing each bit of a multi-bit
lifecycle bus independently can instead

21
00:01:41.830 --> 00:01:46.250
produce a combination that never existed
because bits arrive on different cycles.

22
00:01:46.250 --> 00:01:52.767
Transfer data with a handshake or stable
encoding, and authorize using reset state

23
00:01:52.767 --> 00:01:58.770
synchronized locally. For split reset
groups, examine transactions and FIFO

24
00:01:58.770 --> 00:02:02.690
clearing while the producer is awake but the
consumer is not.

25
00:02:02.690 --> 00:02:05.190
A CDC report is structural evidence;

26
00:02:05.190 --> 00:02:07.130
it does not prove lifecycle policy.

27
00:02:07.690 --> 00:02:15.050
Counterexample: ROM check completes in
clk_sys, but debug permission reaches

28
00:02:15.050 --> 00:02:21.970
clk_dbg first. If clk_dbg runs faster, it
can accept halt before

29
00:02:21.970 --> 00:02:25.950
clk_dbg observes synchronized check_done.

30
00:02:25.950 --> 00:02:32.510
Assert at the actual debug-accept boundary,
not only on the reset controller’s eventual

31
00:02:32.510 --> 00:02:38.870
state. The SVA below is a harness proposal,
not compiled;

32
00:02:38.870 --> 00:02:45.510
every debug_accept requires stable lifecycle
and a completed check.

33
00:02:45.510 --> 00:02:53.030
Test reset release order, pause or speed
each domain, inject one-cycle cross-domain

34
00:02:53.030 --> 00:02:57.350
requests, repeat reset, and cover each
lifecycle value.

35
00:02:57.350 --> 00:03:03.710
Positive controls must show that an
authorized startup eventually becomes

36
00:03:03.710 --> 00:03:10.890
usable; safety checks must show no
acceptance before prerequisites hold.

37
00:03:10.890 --> 00:03:17.750
An edge model cannot replace CDC/RDC
analysis, reset-tree timing, power-ramp

38
00:03:17.750 --> 00:03:20.190
testing, or analog brownout validation.

39
00:03:20.815 --> 00:03:28.115
These are property sketches: define the
harness transaction, reset and oracle, then

40
00:03:28.115 --> 00:03:32.195
confirm sampling boundaries before binding
to the design.

41
00:03:32.195 --> 00:03:35.135
They have not been compiled or proven.

42
00:03:35.135 --> 00:03:40.635
This snippet does not prove CDC, timing,
side-channel, or physical injection

43
00:03:40.635 --> 00:03:46.235
behavior; each requires its own tool
evidence or measurement.

44
00:03:46.235 --> 00:03:49.535
Walk the same startup across two domains.

45
00:03:49.535 --> 00:03:55.575
The system clock may finish the ROM check
while the debug domain has already released

46
00:03:55.575 --> 00:04:01.955
its local reset. If permission arrives
first, debug_accept can occur before the

47
00:04:01.955 --> 00:04:05.655
destination observes synchronized
check_done.

48
00:04:05.655 --> 00:04:11.675
Sweep clock phase, pause or speed either
domain, and repeat reset.

49
00:04:11.675 --> 00:04:15.275
Record the values visible at the accepting
edge.

50
00:04:15.275 --> 00:04:18.815
This can expose an ordering counterexample
in the digital model.

51
00:04:18.815 --> 00:04:24.155
It cannot estimate metastability probability
or represent the analog power ramp.

52
00:04:25.055 --> 00:04:30.575
During startup, debug permission and ROM
check_done belong to different clock

53
00:04:31.523 --> 00:04:38.763
domains. After destination reset releases,
permission may arrive before the destination

54
00:04:38.763 --> 00:04:42.263
observes synchronized check_done.

55
00:04:42.263 --> 00:04:49.703
Accepting then allows reset-release order
and clock phase to expose a path whose check

56
00:04:49.703 --> 00:04:57.103
is incomplete. Synchronize reset release in
each domain and handshake lifecycle and

57
00:04:57.103 --> 00:05:02.863
check status. Check stable conditions
locally at acceptance.

58
00:05:02.863 --> 00:05:08.683
Enumerate phase and state combinations,
retain positive startup controls, and obtain

59
00:05:08.683 --> 00:05:14.183
separate CDC/RDC structural and timing
evidence.

60
00:05:14.183 --> 00:05:19.103
This lesson has not run RTL, formal
verification, or STA.

61
00:05:19.103 --> 00:05:25.963
The teaching event-order model excludes
metastability probability, analog power, the

62
00:05:25.963 --> 00:05:29.683
actual reset tree, and physical lifecycle
fuses.

63
00:05:29.683 --> 00:05:34.223
Change the destination frequency and add a
CDC FIFO.

64
00:05:34.223 --> 00:05:39.363
Which reset groups may restart
independently, and what minimum evidence

65
00:05:39.363 --> 00:05:42.383
must the accepting endpoint have?

66
00:05:42.383 --> 00:05:47.483
At permission arrival, inspect the check
state actually observed in that domain.

67
00:05:47.483 --> 00:05:53.143
If it is uncertain, vary clock phase,
pauses, and reset conditions.

68
00:05:53.143 --> 00:05:56.523
The evidence must match the moment
permission is accepted.

