Skip to content

Open1553: Code Coverage

1. Method

The code coverage of the Open1553 sources is measured with QuestaSim (Questa Pro Microchip Edition 2024.3) over the complete regression of run.py, the same test set that GHDL runs, at a time resolution of 1 fs:

python run.py --questa --coverage -p 1

The sources of hdl/<module>/src are compiled with +cover=sbcef: statements, branches, conditions, expressions (focused expression coverage) and state machines. Open Logic, UVVM and the testbenches are not instrumented; Open Logic is verified by its own regression. run.py merges the coverage of all tests into coverage/coverage.ucdb and writes the reports coverage/coverage_report.txt (details per instance) and coverage/coverage_byfile.txt; a design unit is covered when any of its instances in any test covers it.

Closure rules:

  • Statements, branches, state machine states and transitions: every item is covered by a test or listed with its justification in section 4.
  • Conditions and expressions: reported, not a closure criterion. Focused expression coverage requires every input term to change the result while the other terms do not mask it; many combinations cannot occur by construction. Every miss was reviewed for untested behaviour (section 3); the remaining ones are listed with their reason in section 4.
  • -- coverage off / -- coverage on enclose the when others branch of the twelve case statements on a state register (o1553_codec_decoder two, o1553_codec_encoder, o1553_rt_mem, o1553_rt_seq, o1553_bc_mem two, o1553_bc_sched, o1553_bc_seq, o1553_bm_mem, o1553_bm_trk two), whose enumerated type lists every state: the branch recovers from an illegal state, which needs an upset of the state register and cannot be reached through the ports.
  • QuestaSim recognises the state machines of o1553_codec_encoder, o1553_codec_decoder and o1553_bm_mem (r.State). The state registers of o1553_rt_seq, o1553_rt_mem, o1553_bc_seq, o1553_bc_sched, o1553_bc_mem (r.Ft, r.Rs) and o1553_bm_trk (r.State, r.Wr) are not extracted as state machines; their states and transitions are covered through the statements and branches: every when branch and every assignment of a next state is covered, except the transitions of o1553_bc_seq and o1553_bm_trk to Status2_s after a status word without data words (section 4.2).

2. Result

With Open Logic 4.7.0-ft.11 and UVVM 4f1e13bf, from two runs with code coverage whose databases are merged with vcover merge:

  • the testbenches of the codec, the RT, the BC, the RT model, the host interface and the role on commit 42a9d29: 282 of 282 tests passed, 0 skipped (4 h 51 min);
  • the testbenches of the BM and the core on commit a2724fb: 142 of 142 tests passed, 0 skipped (2 h 42 min).

The sources, testbenches and run.py of release 0.3.0 are those of a2724fb. Between the two commits only hdl/o1553_bm changed, which the testbenches of the first run do not compile. In the optimised run without code coverage on a2724fb all 424 tests passed, 0 skipped (2 h 8 min for the BM and the core, 3 h 55 min for the others).

File Statements Branches FSM states FSM transitions Conditions Expressions
o1553_bc.vhd 77 / 77 24 / 24 5 / 5 4 / 4
o1553_bc_mem.vhd 303 / 303 126 / 126 51 / 51 18 / 21
o1553_bc_pkg.vhd 60 / 60 68 / 68 51 / 51 2 / 2
o1553_bc_sched.vhd 168 / 168 77 / 80 26 / 30 6 / 7
o1553_bc_seq.vhd 422 / 423 183 / 186 76 / 92 33 / 38
o1553_bm.vhd 16 / 16 7 / 7 2 / 2 3 / 3
o1553_bm_mem.vhd 150 / 150 73 / 73 4 / 4 7 / 7 27 / 34 9 / 12
o1553_bm_pkg.vhd 5 / 5 3 / 3
o1553_bm_trk.vhd 231 / 232 132 / 133 43 / 47 4 / 8
o1553_codec.vhd 16 / 16 5 / 5
o1553_codec_bus_selector.vhd 23 / 23 12 / 12 2 / 2 3 / 3
o1553_codec_decoder.vhd 199 / 200 111 / 113 4 / 4 8 / 12 25 / 29 4 / 4
o1553_codec_encoder.vhd 88 / 88 36 / 36 2 / 2 2 / 2 5 / 5 1 / 2
o1553_codec_fail_safe.vhd 26 / 26 12 / 12
o1553_codec_monitor.vhd 23 / 23 16 / 16 7 / 7
o1553_codec_pkg.vhd 13 / 13 2 / 2
o1553_core.vhd 47 / 47
o1553_core_role.vhd 25 / 25 21 / 21 25 / 25
o1553_host.vhd 12 / 12 7 / 7 12 / 12
o1553_host_mem.vhd 113 / 113 27 / 27 2 / 2 42 / 42
o1553_host_pkg.vhd 13 / 13 11 / 11 6 / 6
o1553_host_regs.vhd 312 / 312 98 / 98 4 / 4
o1553_rt.vhd 9 / 9 2 / 2
o1553_rt_addr.vhd 26 / 26 13 / 13 2 / 2 2 / 2
o1553_rt_mem.vhd 183 / 183 91 / 91 50 / 53 7 / 8
o1553_rt_mode.vhd 42 / 42 32 / 32 2 / 2 2 / 2
o1553_rt_pkg.vhd 18 / 18 14 / 14
o1553_rt_seq.vhd 409 / 409 208 / 208 148 / 155 17 / 17
o1553_rt_status.vhd 42 / 42 20 / 20 2 / 2
o1553_rt_svc.vhd 9 / 9 9 / 9
Total 3080 / 3083 (99.9 %) 1436 / 1445 (99.4 %) 10 / 10 (100.0 %) 17 / 21 (81.0 %) 534 / 579 (92.2 %) 200 / 218 (91.7 %)

Every item not covered is listed in section 4: either no input sequence reaches it (sections 4.1 to 4.3), or it is reached only after seconds of simulated time or by a coincidence in one cycle, without an effect at the ports (section 4.4). The host interface (o1553_host*), the core top level with the role (o1553_core, o1553_core_role), the top level and the profile check of the BC (o1553_bc, o1553_bc_pkg), the top level and the package of the BM (o1553_bm, o1553_bm_pkg), the bus selector, the fail-safe timer, the monitor and the address, mode, status and service blocks of the RT are covered completely; the record writer of the BM (o1553_bm_mem) in its statements, branches and state machine.

3. Gaps found and closed

The QuestaSim run with code coverage before each release showed reachable behaviour that no test exercised. The tests below close these gaps.

Before release 0.1.0, one of the tests found a defect: the result of a data job of a superseded message could be taken for the new message; the RTL was corrected (o1553_rt verification report, section 2). Another one found that the record bit "status word sent" of a message ended during a transmission on a shut-down bus was '1'; Tx_Suppressed of the codec is a level (CD-IF-03), and the RT samples it when the message ends.

Gap Test
Both receiver outputs of a bus at '1' TC-CD-20 (new)
A sync followed by an idle line; a crossing of class Q2 after the boundary crossing behind the parity bit, before the check time; a parity error ended by the next sync before the check time TC-CD-10 (extended)
Tx_Suppressed during a transmission and outside it TC-CD-15 (extended: checked at every clock edge)
A word of another source while the monitor waits for the own word TC-CD-18 (extended)
Address check requested during the settling time after a reset TC-RT-02 (extended: each cycle of the settling time)
Mode code 8 illegal and with a double error in its table entry, addressed and broadcast TC-RT-07 (extended)
RT to RT: a transmit command with subaddress 0; a data word, an invalid word and a valid command to the RT in place of the status word of the other terminal; the time-out decided by the sum at the event of the first data word (57.5 us) TC-RT-09 (extended)
A new command on the other bus while a read of the message before is in flight: its lookup, the fetch of a transmit data word, the receive data job (also with a double error in the read in flight), the publication (with and without a double error in the count); record bit 6 on a shut-down bus TC-RT-11 (extended: cycle sweeps in all three memory latencies)
Mode codes 20 and 21 with T/R = '1' TC-RT-12 (extended)
Health reset command by broadcast, with and without the health service TC-RT-15 (extended)
A failed publication with Cfg_LogErrors = '0' TC-RT-16 (extended)
A mode code with a double error in its table entry; transmit of subaddresses 29 and 30 after a double error in the receive status word TC-RT-17 (extended)
Cfg_RtEn = '0' in each cycle of the lookup and of the data job TC-RT-18 (extended: all three memory latencies)
A receive command without data words, followed by a command after a gap or by an idle bus; a valid command contiguous in place of a data word on bus B TC-RT-21 (extended)
The double error of a data job of a superseded message reported by the EDAC monitor of the core TC-CORE-10 (extended: sweep in all six configurations)

Before release 0.2.0, three of the tests for the bus controller found defects, which the RTL corrects (o1553_bc verification report, section 2): an on-demand descriptor in two consecutive slots was sent twice for one request; a tick in a cycle in which the latch walk had a latch word to write corrupted the new walk; a frame start in the cycle in which the fetch of a slot of the list before ended lost the list of the frame. The review also changed the MIL profile: a mode command with the RT to RT bit is refused, as in the ECSS profile.

Gap Test
The profile check per mode code (T/R = '0' other than mode codes 17, 20 and 21; mode codes 20 and 21 with T/R = '1'; the broadcast mode codes 0, 16, 18 and 19), the RT to RT rules of the MIL profile, a mode command with the RT to RT bit TC-BC-18 (extended)
A double error in slot word 1; in a descriptor word of a slot with the service request condition and of a time message; in the control word at the latch, rewritten by the host after the latch walk TC-BC-21 (extended)
The same descriptor in two consecutive slots, after a message without a response and on demand with one request; an on-demand slot whose message is not sent TC-BC-15 (extended)
A time message whose latched transmit buffer is B TC-BC-19 (extended)
A frame late because the line of the bus of its synchronization message is active at its nominal start; the guard to the latch window beyond 2^30 cycles (tick time-out near its maximum) TC-BC-17 (extended)
A status word whose sync starts before the time-out and whose mid-sync crossing comes after it TC-BC-11 (extended: 21 response times in quarter cycles)
The transmitter of the bus disabled during a message of the BC TC-BC-22 (extended)
A tick and the tick time-out after a stop of a BC with time synchronization; a tick during the latch walk of 256 slots TC-BC-06 (extended: the memory port checked in the cycle after each access)
A stop and a frame start while a slot is fetched TC-BC-03 (extended: sweeps over the fetch)

Before release 0.3.0, one of the tests for the bus monitor found a defect, which the RTL corrects (o1553_bm verification report, section 2): a record lost for want of ring space in the cycle in which the BM became inactive was still counted and gave the event "overflow" after the BM had become inactive.

Gap Test
An RT to RT transfer without status word 2 and no word after it TC-BM-03 (extended)
A receive command without a word after it; a status word without its data words TC-BM-05 (extended)
Deviations where command word 2, the first data word of the BC or the first data word of the RT is expected, and after the last word of a message TC-BM-07 (extended)
A command on the other bus at the end of a message TC-BM-08 (extended: cycle sweep)
An activity during the header write at the end of a message TC-BM-10 (extended: sweep)
The saturation of the lost count TC-BM-12 (extended)
A double error in a word of a word record other than word 0 TC-BM-14 (extended)
A message and a word outside a message lost for want of a slot while the memory port is held for longer than a word time TC-BM-15 (extended)
Cfg_BmEn = '0' in each cycle across the completion of a record, the filter reads, a loss for want of a slot and a loss for want of ring space TC-BM-16 (extended: cycle sweeps)

4. Remaining misses

Each item below cannot be reached through the ports (sections 4.1 to 4.3) or has no effect at the ports when it is reached (section 4.4); the reason follows from the RTL. Line numbers are those of release 0.3.0.

4.1 State machines

o1553_codec_decoder (r.State), transitions Hunt_s -> Bits_s and Check_s -> Bits_s (line 319), Hunt_s -> Check_s and SyncEnd_s -> Check_s (line 369): the assignments of lines 319 and 369 are in the branches SyncEnd_s and Bits_s of the case statement on the next state v.State (line 309). At that statement v.State equals r.State, except after the check timer has set Hunt_s from Check_s (line 303), so line 319 runs only in SyncEnd_s and line 369 only in Bits_s; QuestaSim derives the four transitions without that relation. All transitions that the design can take are covered.

4.2 Statements and branches

Location Item Reason
o1553_codec_decoder.vhd line 257 Crossing with PrevValid = '0' (all false) A crossing needs LastPol /= zero (line 235). LastPol leaves zero only at line 231, which sets PrevValid = '1', and returns to zero only at line 248 together with PrevValid = '0' (also the reset): LastPol /= zero implies PrevValid = '1'.
o1553_codec_decoder.vhd lines 457, 458 Gap of a new word saturated (GapS_v < 0 or GapS_v / 2 >= GapMax_c) GapNow_v < GapMax_c is the number of cycles since the reference crossing of the last valid word, rounded down from half cycles: 2 GapNow_v >= 2 T_v - RefX - 1. The current crossing XTime_v is later than RefX and earlier than 2 T_v, so 0 <= GapS_v < 2 GapNow_v.
o1553_bc_sched.vhd line 198 TsUs at its limit (all false) TsUs counts only while TsPend = '1' and starts at 0 together with TsPh at the tick (lines 343 to 345). In the cycle after it reaches the delay, with TsPh = 0, line 360 ends TsPend. The delay is at most 2^16 - 1 and is taken at the start of the BC (o1553_bc.vhd line 262), so TsUs = 2^16 - 1 never meets TsPh = Pre_c - 1 while TsPend = '1'.
o1553_bc_seq.vhd lines 720, 721 Second status word expected after a status word without data words Resp2 is set only for RT to RT transfers (o1553_bc_pkg.vhd line 184), whose word count is 1 to 32 (line 183): RxWords > 0, and the branch of line 716 is taken.
o1553_bm_trk.vhd lines 472, 473 Status word 2 expected right after status word 1, without data words of the RT bcFormat sets Resp2 only for an RT to RT transfer that is not broadcast (o1553_bc_pkg.vhd line 184), whose word count gives 1 to 32 data words of the RT (line 183): RxWords > 0, and the branch of line 467 is taken.
o1553_bm_trk.vhd line 598 A word event while the word before it waits (counted as lost) Counted as covered by QuestaSim, but never taken at a clock edge: Rx_Valid reaches the tracker through two concurrent assignments of the codec (o1553_codec_decoder.vhd line 487, o1553_codec.vhd line 267), so after a clock edge the combinational process runs once with its updated registers and the previous Rx_Valid = '1', and again in the next delta cycle with the new value. A word waits at most for a header write of 12 cycles, and the word events of one bus come at least 40H cycles apart (o1553_bm architecture section 7). Listed here as unreachable.

4.3 Conditions and expressions

The row names are those of the QuestaSim report (<term>_0, <term>_1: the term decides the result with the value 0 or 1).

Location Rows not hit Reason
o1553_codec_decoder.vhd line 245 (r.LastPol /= LineZero_c)_0 IdleDone is cleared only when a zero level is accepted (line 228), which follows a polarity and so LastPol /= zero; LastPol returns to zero only together with IdleDone = '1' (line 247). LastPol = zero implies IdleDone = '1'.
o1553_codec_decoder.vhd line 457 (GapS_v < 0)_1, ((GapS_v / 2) >= GapMax_c)_1 The condition of the saturated gap is never true (section 4.2).
o1553_codec_decoder.vhd line 469 (AccSt_v /= LineZero_c)_0 A zero level is accepted only while the accepted level Acc is a polarity (line 201), and the acceptance of a polarity while LastPol = zero sets LastPol to it (line 231). LastPol returns to zero only with Acc = zero (lines 244 to 248) or at the reset: LastPol = zero implies Acc = zero, so no zero level is accepted while LastPol = zero.
o1553_codec_encoder.vhd line 227 r.Suppressed_1 r.Suppressed is set at the end of a cycle in Send_s with Enc_TxOff = '1' (lines 132, 133) and cleared only by the start of a transmission (line 126) or the reset (line 253). Enc_TxOff comes only from the bus selector: '1' while Enc_Active (r.State = Send_s, line 220) and the transmitter of the bus is disabled or Cut = '1' (o1553_codec_bus_selector.vhd lines 97 to 105). Cut becomes '1' one cycle after the first such cycle and holds while Enc_Active (line 81); the bus Sel (line 66) follows r.TxBus, which is fixed during the transmission (line 123). Within Send_s, r.Suppressed = '1' therefore implies Cut = '1' and so Enc_TxOff = '1'.
o1553_rt_mem.vhd line 216 r.LkDed_1 The table entry is the first of the two reads of a lookup, and LkDed is cleared when the lookup starts (line 275); responses of a superseded lookup are TagStale. At its response LkDed is '0'.
o1553_rt_mem.vhd line 305 (Lk_Start = '0')_0 Free_v contains Lk_Start = '0' (line 201): while Free_v is true, Lk_Start is '0'.
o1553_rt_mem.vhd lines 364, 398 Issued_v_1 A data job starts only after the result of the lookup of its message (both reads returned); a new lookup ends the data job (line 456). No lookup read is issued while a data job runs.
o1553_rt_seq.vhd line 280 all rows QuestaSim cannot map the condition rows of the procedure endMessage, which it inlines ("tryToMapElements: unable to match inlined subprogram condition rows", at elaboration); the statements and branches of the procedure are covered.
o1553_rt_seq.vhd line 313 r.DecDone_0 endMessage without an error is called only at the presentation (lines 687, 691) and at the end of the transmission (line 778), both after the result of the lookup.
o1553_rt_seq.vhd line 424 (r.State /= Reset_s)_0 Reset_s is entered after the result of the lookup of mode code 8, and no lookup starts in Reset_s (line 799).
o1553_rt_seq.vhd line 443 (r.Bcst = '0')_0 A broadcast transmit command to a subaddress is a fixed illegal combination (line 431).
o1553_rt_seq.vhd line 641 r.DecDone_0 Respond_s is entered from Lookup_s with the result (line 495), or from RxData_s (line 631), which is entered only after it.
o1553_bc_mem.vhd line 284 (v.TagCnt < (Tags_c - 1))_0 A read is issued only when the memory has taken the request before (Free_v), and each read returns MemLatency_g cycles after the memory took it: at most MemLatency_g + 1 = 9 reads are counted, below Tags_c - 1 = 15.
o1553_bc_mem.vhd lines 307, 308 r.FtSlotDed_1, r.FtDed_1 Slot word 0 is the first read of a fetch (line 485), so its response is the first one; both flags are cleared when the fetch starts (lines 412, 413).
o1553_bc_sched.vhd line 269 r.Late_1 Late is set when a frame becomes due before its latch walk is complete (lines 304, 366). FsWait then counts from the cycle in which the walk ends (v.WalkDone, line 264), one cycle before Fs_Req (line 407), and the sequencer takes at least two cycles from Fs_Req to Fs_Go (o1553_bc_seq.vhd lines 506 to 508, 540 to 543 and 884): at Fs_Go FsWait = 3 > FsLat_c, so the second term is true whenever Late is '1'. The late frame start itself is tested (TC-BC-16).
o1553_bc_sched.vhd line 360 (r.State = Walk_s)_0 TsPend = '1' only in Walk_s: it is set together with Walk_s at a tick (lines 343, 357), and Walk_s is left only by line 360, which clears it, or with TsPend = '0' (line 254); Active = '0' clears it (line 397).
o1553_bc_sched.vhd line 360 (r.TsPh = 0)_0 TsUs and TsPh start at 0 at the tick (lines 344, 345), and TsUs advances only when TsPh returns to 0: it first reaches the delay in a cycle with TsPh = 0. The delay is taken at the start of the BC (o1553_bc.vhd line 262) and cannot fall below TsUs afterwards.
o1553_bc_sched.vhd line 371 (r.Cut = '1')_1 Cut = '1' only in Walk_s and Due_s: it is set with Walk_s at a tick (line 350) and cleared at Fs_Go (line 274). The other entry into Run_s, the skip of line 280, needs NextGrid = '1', which the tick clears (line 354) and only Run_s sets (line 292).
o1553_bc_seq.vhd line 468 (r.Fmt.TxWords > 0)_0 With TxWords = 0 the first term is Word >= NWords, which is false at every accepted word: a word is presented only while Word < NWords (line 643).
o1553_bc_seq.vhd line 468 (r.State = Send_s)_0 Words are accepted only in Send_s and Sync_s; in Sync_s the format is that of a synchronization mode command (line 557), with TxWords = 0.
o1553_bc_seq.vhd line 542 (r.FirstAcc = '0')_0 FirstAcc = '1' only together with TxValid = '1': both are set at the presentation of a first word (lines 543 and 547, 598 and 603) and cleared at its acceptance (lines 464, 471) or with Active = '0' (lines 860, 871).
o1553_bc_seq.vhd lines 542, 884 (Tx_Ready = '1')_0, Tx_Ready_0 The encoder is ready in its idle state (o1553_codec_encoder.vhd line 113); Sync_s presents only after the end of the transmission before and the gap, and the RT, the other source of the encoder, is off in the BC role.
o1553_bc_seq.vhd line 583 (r.FirstAcc = '0')_0, (r.TxValid = '0')_0 Tx_Done follows the last word of the transmission. Word 0 is accepted before it, and the data word of the frame synchronization message is presented at that acceptance and taken at half bit 38 of word 0 (o1553_codec_encoder.vhd lines 136 to 142).
o1553_bc_seq.vhd line 634 (r.TxDed = '0')_0 With a double error in a transmit data word, DataRdy is set together with TxDed (lines 474 to 480) and stays '1', since that word is never presented (line 643): DataRdy = '0' is false whenever TxDed = '1'.
o1553_bc_seq.vhd line 644 (r.Fmt.TxWords = 0)_1 Redundant: under the enclosing v.Word < r.NWords (line 643) the first term holds when TxWords = 0.
o1553_bc_seq.vhd line 646 (v.Word = 1)_0 The branch presents command word 2 or the mode data word, always word 1: word 0 is presented in Wait_s, and NWords - TxWords <= 2.
o1553_bc_seq.vhd line 659 (r.LastSlot = '0')_0, (r.Slot < MaxSlots_c)_0 beginSlot sets FrameDone for the last slot of a list and for slot 255 (lines 356 to 358); FrameDone is cleared only at a frame start in Sync_s (line 567).
o1553_bc_seq.vhd line 659 (r.ListOk = '1')_0 No slot is fetched without ListOk = '1' (line 514), and ListOk changes only at a frame start (line 570).
o1553_bc_seq.vhd line 665 (v.TxDed = '1')_1 The last transmit data word is read while the word before it is sent (line 634); its response comes long before Tx_Done.
o1553_bc_seq.vhd line 783 (r.DwStart = '0')_0 End_s is never entered in the cycle after a data word request: the last write of Data_s goes to Check_s or Status2_s (line 757), and the last read of Send_s is issued a word before Tx_Done.
o1553_bc_seq.vhd line 784 (r.NotSent = '0')_0 notSent is called only with codes other than 0 (lines 382, 390, 392, 626, 628).
o1553_bc_seq.vhd line 842 r.FtBusy_1 beginSlot needs FtReady = '1', which comes with the end of the fetch (line 486), and a slot starts no fetch before Send_s: a fetch in flight at the end of a message is the prefetch of line 658. It starts when the encoder has taken the last word, which is then sent for 20 us before Tx_Done (line 664). The results of the message before, which the prefetch waits for (o1553_bc_mem.vhd line 483), and the reads of the fetch take far less than that, since a read of the BC waits at most one host access (D8 of the architecture; the RT is off in the BC role).
o1553_bc_seq.vhd line 883 r.TxValid_1 TxValid = '1' only in Send_s and Sync_s. Send_s is left at Tx_Done after the encoder took the last word: an underrun needs a read slower than a word time, which D8 excludes, and an abort comes only with Active = '0'.
o1553_bm_mem.vhd line 208 (v.QCnt < QDepth_c)_0 The queue has QDepth_c = 8 entries, one per slot of the two trackers (line 85), and a record holds its slot until it is written or discarded: a completed record always finds a free entry.
o1553_bm_mem.vhd line 226 (r.ReqValid = '0')_0 Every path into Idle_s ends with no request pending: the copy ends after the acceptance of its last write (line 349), the filter after the response of its last read, a lost record before any request (line 283), and an inactive BM clears the request (line 392).
o1553_bm_mem.vhd line 256 (r.RdPend > 0)_0, (r.Drop = 0)_0, (r.FiltRsp < r.FiltN)_0 The memory answers each read once (BM-IF-03), and the only reads are the FiltN filter reads of the current record; responses of reads issued before a deactivation return within MemLatency_g cycles, long before a record of the next activation reaches the filter.
o1553_bm_mem.vhd line 267 r.Cur.RtRt_0 Bits is cleared for each record (line 237), and bits 2 and 3 are read only for an RT to RT transfer (FiltN = 4, line 240).
o1553_bm_mem.vhd line 297 (r.ReqWrite = '1')_0 Copy_s issues writes only (line 316).
o1553_bm_mem.vhd lines 307, 309 r.FDed(0)_1 BufErr is set when a word with a double error returns from the buffer (line 337), before that word is written: at its write FDed(0) = '1' implies BufErr = '1'.
o1553_bm_mem.vhd line 329 (v.FCnt < FDepth_c)_0 A word is read from the buffer only while InFlight + FCnt < FDepth_c (line 341).
o1553_bm_trk.vhd lines 209, 419 r.Flags(12)_1, r.WOwn_1 Own data words after foreign words, and own command words, exist only when the core sends commands (the BC role), and the BM is never active beside the BC (D27); the own words of the RT begin with its status word, which sets the flag first (line 457).
o1553_bm_trk.vhd line 224 all rows QuestaSim maps no condition row of the procedure deviation, which it inlines (as o1553_rt_seq.vhd line 280); both branches of the condition are covered.
o1553_bm_trk.vhd line 266 (r.WAge < AgeMax_c)_0 A word waits at most for the header write of 12 cycles, below AgeMax_c = 15.
o1553_bm_trk.vhd line 348 (r.State /= End_s)_0 End_s is entered together with the header write (line 577) and left at its end (line 304): in End_s the write state is never idle.

4.4 Reachable without an effect at the ports

Location Item Reason
o1553_bc_sched.vhd line 186 GridUs at its limit (all false) GridUs saturates after 2^24 us (16.8 s) without a nominal frame start, which needs a frame due and held back by a line active for that long. At the limit GridUs is beyond every frame time (below 2^20 us), so every decision on it is the same as without the limit.
o1553_bc_sched.vhd line 207 TickUs at its limit (all false) TickUs saturates after 16.8 s without a tick. With a tick seen, the tick time-out resets it first (lines 324 to 330); without one it is not used.
o1553_bc_sched.vhd line 407 (Active = '1')_0 Due_s with Active = '0' lasts one cycle (line 395), and the sequencer ignores Fs_Req while Active = '0' (o1553_bc_seq.vhd lines 858 to 872).
o1553_bc_seq.vhd line 420 RespT at its limit (all false) RespT saturates after 2^25 - 1 cycles without a message; it is set at the start of every response window (line 466).
o1553_bc_seq.vhd line 428 FrUs at its limit (all false) FrUs saturates at 2^20 us (1.05 s) in one frame, the last frame of a synchronized cycle with a long tick time-out. Every start time is at most 2^20 - 1 us, so every timed slot is due before.
o1553_bc_seq.vhd line 727 (Rx_Active(Bus_v) = '0')_0 The line active without a rising edge at the time-out: a word starting in exactly that cycle, or another transmission that overlaps the end of the command up to the time-out (a collision). The BC then ends at line 730 (tested) or with the result of the word.
o1553_bc_seq.vhd line 762 (Rx_Active(Bus_v) = '0')_0 A data word starting in exactly the cycle in which the 2 us after a status word with message error or busy end; ActSeen holds the line state at the entry into Data_s (line 719) and its rising edges.
o1553_bc_seq.vhd line 884 Active_0 Active falling in the one cycle in which the synchronization command word is presented and the encoder is ready: Tx_Valid (line 878) and Fs_Go are gated alike.

5. Reproduction

python run.py --questa --coverage -p 1
vcover report -du=* -details -zeros -code sbf coverage/coverage.ucdb
vcover report -srcfile=* -details -zeros coverage/coverage.ucdb

The second command lists the statements, branches and state machine items that are not covered, per design unit; the third lists all metrics per file, merged over the instances.