Skip to content

Commit 4d058a1

Browse files
committed
testplan: Lint
Fix typos, punctuation. Signed-off-by: Wiktoria Kuna <[email protected]>
1 parent 416404a commit 4d058a1

12 files changed

+63
-63
lines changed

verification/testplan/block/bus_tx.hjson

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
desc:
88
'''
99
Requests the bus_tx module to drive SDA right after SCL falling
10-
edge. Checks if the requested bit value is driven correctly
10+
edge. Checks if the requested bit value is driven correctly.
1111
'''
1212
tests: ["bit_tx_negedge"]
1313
tags: ["bus_tx"]
@@ -17,7 +17,7 @@
1717
desc:
1818
'''
1919
Requests the bus_tx module to drive SDA just before SCL rising
20-
edge. Checks if the requested bit value is driven correctly
20+
edge. Checks if the requested bit value is driven correctly.
2121
'''
2222
tests: ["bit_tx_pre_posedge"]
2323
tags: ["bus_tx"]
@@ -27,7 +27,7 @@
2727
desc:
2828
'''
2929
Requests the bus_tx module to drive SDA just before SCL falling
30-
edge. Checks if the requested bit value is driven correctly
30+
edge. Checks if the requested bit value is driven correctly.
3131
'''
3232
tests: ["bit_tx_high_level"]
3333
tags: ["bus_tx"]
@@ -37,7 +37,7 @@
3737
desc:
3838
'''
3939
Requests the bus_tx module to drive SDA when SCL in in stable
40-
low state. Checks if the requested bit value is driven correctly
40+
low state. Checks if the requested bit value is driven correctly.
4141
'''
4242
tests: ["bit_tx_low_level"]
4343
tags: ["bus_tx"]

verification/testplan/block/bus_tx_flow.hjson

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
desc:
88
'''
99
Requests the bus_tx_flow module to drive SDA right after SCL falling
10-
edge. Checks if the requested bit value is driven correctly
10+
edge. Checks if the requested bit value is driven correctly.
1111
'''
1212
tests: ["bit_tx_negedge"]
1313
tags: ["bus_tx_flow"]
@@ -17,7 +17,7 @@
1717
desc:
1818
'''
1919
Requests the bus_tx_flow module to drive SDA just before SCL rising
20-
edge. Checks if the requested bit value is driven correctly
20+
edge. Checks if the requested bit value is driven correctly.
2121
'''
2222
tests: ["bit_tx_pre_posedge"]
2323
tags: ["bus_tx_flow"]
@@ -27,7 +27,7 @@
2727
desc:
2828
'''
2929
Requests the bus_tx_flow module to drive SDA just before SCL falling
30-
edge. Checks if the requested bit value is driven correctly
30+
edge. Checks if the requested bit value is driven correctly.
3131
'''
3232
tests: ["bit_tx_high_level"]
3333
tags: ["bus_tx_flow"]
@@ -37,7 +37,7 @@
3737
desc:
3838
'''
3939
Requests the bus_tx_flow module to drive SDA when SCL in in stable
40-
low state. Checks if the requested bit value is driven correctly
40+
low state. Checks if the requested bit value is driven correctly.
4141
'''
4242
tests: ["bit_tx_low_level"]
4343
tags: ["bus_tx_flow"]

verification/testplan/block/ccc.hjson

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
name: ccc
77
desc:
88
'''
9-
Instucts the ccc module to begin servicing GETSTATUS CCC. Feeds
9+
Instructs the ccc module to begin servicing GETSTATUS CCC. Feeds
1010
data bytes and bits to the module via its bus_tx/bus_rx interfaces
11-
to mimick actual I3C transaction. Checks if data bytes received
11+
to mimic actual I3C transaction. Checks if data bytes received
1212
correspond to correct GETSTATUS CCC response.
1313
'''
1414
tests: ["ccc"]

verification/testplan/block/csr_sw_access.hjson

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,41 +4,41 @@
44
[
55
{
66
name: read_hci_version_csr
7-
desc: Reads the HCI version CSR and verifies its content
7+
desc: Reads the HCI version CSR and verifies its content.
88
tests: ["read_hci_version_csr"]
99
tags: ["adapter"]
1010
}
1111
{
1212
name: read_pio_section_offset
13-
desc: Reads the PIO_SECTION_OFFSET CSR and verifies its content
13+
desc: Reads the PIO_SECTION_OFFSET CSR and verifies its content.
1414
tests: ["read_pio_section_offset"]
1515
tags: ["adapter"]
1616
}
1717
{
1818
name: write_to_controller_device_addr
19-
desc: "Writes to the CONTROLLER_DEVICE_ADDR CSR and verifies if the write was successful "
19+
desc: "Writes to the CONTROLLER_DEVICE_ADDR CSR and verifies if the write was successful."
2020
tests: ["write_to_controller_device_addr"]
2121
tags: ["adapter"]
2222
}
2323
{
2424
name: write_should_not_affect_ro_csr
2525
desc:
2626
'''
27-
Writes to the HC_CAPABILITIES CSR which is read-only for software
27+
Writes to the HC_CAPABILITIES CSR which is read-only for software.
2828
Verifies that the write did not succeed.
2929
'''
3030
tests: ["write_should_not_affect_ro_csr"]
3131
tags: ["adapter"]
3232
}
3333
{
3434
name: sequence_csr_read
35-
desc: Performs a sequence of CSR reads. Verifies that each one succeeds
35+
desc: Performs a sequence of CSR reads. Verifies that each one succeeds.
3636
tests: ["sequence_csr_read"]
3737
tags: ["adapter"]
3838
}
3939
{
4040
name: sequence_csr_write
41-
desc: Performs a sequence of CSR writes. Verifies that each one succeeds
41+
desc: Performs a sequence of CSR writes. Verifies that each one succeeds.
4242
tests: ["sequence_csr_write"]
4343
tags: ["adapter"]
4444
}

verification/testplan/block/hci_queues.hjson

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
Puts 10 data words to the HCI RX data queue. Writes to the
3636
RESET_CONTROL CSR to the bit responsible for clearing the queue,
3737
polls the CSR until the bit gets cleared by hardware. Puts and
38-
gets another data word from the queue to check if it was cleared
38+
gets another data word from the queue to check if it was cleared.
3939
'''
4040
tests: ["clear_on_nonempty_rx_queue"]
4141
tags: ["hci_queues"]
@@ -47,7 +47,7 @@
4747
Puts 10 data words to the HCI TX data queue. Writes to the
4848
RESET_CONTROL CSR to the bit responsible for clearing the queue,
4949
polls the CSR until the bit gets cleared by hardware. Puts and
50-
gets another data word from the queue to check if it was cleared
50+
gets another data word from the queue to check if it was cleared.
5151
'''
5252
tests: ["clear_on_nonempty_tx_queue"]
5353
tags: ["hci_queues"]
@@ -59,7 +59,7 @@
5959
Puts 10 data words to the HCI IBI queue. Writes to the
6060
RESET_CONTROL CSR to the bit responsible for clearing the queue,
6161
polls the CSR until the bit gets cleared by hardware. Puts and
62-
gets another data word from the queue to check if it was cleared
62+
gets another data word from the queue to check if it was cleared.
6363
'''
6464
tests: ["clear_on_nonempty_ibi_queue"]
6565
tags: ["hci_queues"]
@@ -69,7 +69,7 @@
6969
desc:
7070
'''
7171
Resets the HCI command queue and verifies that it is empty
72-
afterwards
72+
afterwards.
7373
'''
7474
tests: ["cmd_capacity_status"]
7575
tags: ["hci_queues"]
@@ -79,7 +79,7 @@
7979
desc:
8080
'''
8181
Resets the HCI response queue and verifies that it is empty
82-
afterwards
82+
afterwards.
8383
'''
8484
tests: ["resp_capacity_status"]
8585
tags: ["hci_queues"]
@@ -89,7 +89,7 @@
8989
desc:
9090
'''
9191
Resets the HCI RX queue and verifies that it is empty
92-
afterwards
92+
afterwards.
9393
'''
9494
tests: ["rx_capacity_status"]
9595
tags: ["hci_queues"]
@@ -99,7 +99,7 @@
9999
desc:
100100
'''
101101
Resets the HCI TX queue and verifies that it is empty
102-
afterwards
102+
afterwards.
103103
'''
104104
tests: ["tx_capacity_status"]
105105
tags: ["hci_queues"]
@@ -109,7 +109,7 @@
109109
desc:
110110
'''
111111
Resets the HCI IBI queue and verifies that it is empty
112-
afterwards
112+
afterwards.
113113
'''
114114
tests: ["ibi_capacity_status"]
115115
tags: ["hci_queues"]

verification/testplan/block/i3c_bus_monitor.hjson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
name: target_reset_detection
2121
desc:
2222
'''
23-
Issues a target reset patterin to the I3C bus, verifies that the
23+
Issues a target reset pattern to the I3C bus, verifies that the
2424
i3c_bus_monitor correctly report it detected.
2525
'''
2626
tests: ["target_reset_detection"]

verification/testplan/block/tti_queues.hjson

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
desc:
88
'''
99
Resets the TTI TX queue and verifies that it is empty
10-
afterwards
10+
afterwards.
1111
'''
1212
tests: ["tti_tx_capacity_status"]
1313
tags: ["tti_queues"]
@@ -17,7 +17,7 @@
1717
desc:
1818
'''
1919
Resets the TTI TX descriptor queue and verifies that it is empty
20-
afterwards
20+
afterwards.
2121
'''
2222
tests: ["tti_tx_desc_capacity_status"]
2323
tags: ["tti_queues"]
@@ -27,7 +27,7 @@
2727
desc:
2828
'''
2929
Resets the TTI RX queue and verifies that it is empty
30-
afterwards
30+
afterwards.
3131
'''
3232
tests: ["tti_rx_capacity_status"]
3333
tags: ["tti_queues"]
@@ -37,7 +37,7 @@
3737
desc:
3838
'''
3939
Resets the TTI RX descriptor queue and verifies that it is empty
40-
afterwards
40+
afterwards.
4141
'''
4242
tests: ["tti_rx_desc_capacity_status"]
4343
tags: ["tti_queues"]
@@ -173,7 +173,7 @@
173173
desc:
174174
'''
175175
Resets the TTI TX IBI queue and verifies that it is empty
176-
afterwards
176+
afterwards.
177177
'''
178178
tests: ["tti_ibi_capacity_status"]
179179
tags: ["tti_queues"]

verification/testplan/top/target.hjson

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
the agent.
1515

1616
The test runs at core clock of 100 and 200 MHz. The slowest clock that does not result in a tSCO violation is 166 MHz.
17-
The I3C bus clock is set to 12.5 MHz
17+
The I3C bus clock is set to 12.5 MHz.
1818
'''
1919
tests: ["i3c_target_write"]
2020
tags: ["top"]
@@ -37,7 +37,7 @@
3737
Repeats the steps N times.
3838

3939
The test runs at core clock of 100 and 200 MHz. The slowest clock that does not result in a tSCO violation is 166 MHz.
40-
The I3C bus clock is set to 12.5 MHz
40+
The I3C bus clock is set to 12.5 MHz.
4141
'''
4242
tests: ["i3c_target_read"]
4343
tags: ["top"]
@@ -50,17 +50,17 @@
5050
controller services the IBI. Checks if the mandatory byte (MDB)
5151
matches on both sides.
5252

53-
Reads the LAST_IBI_STATUS fiels of the TTI STATUS CSR. Ensures
53+
Reads the LAST_IBI_STATUS fields of the TTI STATUS CSR. Ensures
5454
that it is equal to 0 (no error).
5555

5656
Writes an IBI descriptor followed by N bytes of data to the TTI
5757
IBI queue. Waits until the controller services the IBI. Checks if
5858
the mandatory byte (MDB) and data matches on both sides.
5959

60-
Repeats the LAST_IBI_STATUS check
60+
Repeats the LAST_IBI_STATUS check.
6161

6262
The test runs at core clock of 100 and 200 MHz. The slowest clock that does not result in a tSCO violation is 166 MHz.
63-
The I3C bus clock is set to 12.5 MHz
63+
The I3C bus clock is set to 12.5 MHz.
6464
'''
6565
tests: ["i3c_target_ibi"]
6666
tags: ["top"]
@@ -69,7 +69,7 @@
6969
name: i3c_target_ibi_retry
7070
desc:
7171
'''
72-
Disables ACK-ing IBIs in the I3C controller model, issues an ibi
72+
Disables ACK-ing IBIs in the I3C controller model, issues an IBI
7373
from the target by writing to TTI IBI queue. Waits for a fixed
7474
time period - sufficiently long for the target to retry sending
7575
the IBI, reads LAST_IBI_STATUS from the TTI STATUS CSR, check
@@ -81,7 +81,7 @@
8181
the TTI STATUS CSR, check if it is set to 0 (no error).
8282

8383
The test runs at core clock of 100 and 200 MHz. The slowest clock that does not result in a tSCO violation is 166 MHz.
84-
The I3C bus clock is set to 12.5 MHz
84+
The I3C bus clock is set to 12.5 MHz.
8585
'''
8686
tests: ["i3c_target_ibi_retry"]
8787
tags: ["top"]
@@ -92,14 +92,14 @@
9292
'''
9393
Sets a limit on how many IBI data bytes may be accepted in the
9494
controller model. Issues an IBI with more data bytes by writing
95-
to the TTI IBI queue, checks if the IBI gets serivced correctly,
95+
to the TTI IBI queue, checks if the IBI gets serviced correctly,
9696
compares data.
9797

9898
Issues another IBI with data payload within the set limit, checks
9999
if it gets serviced correctly, compares data.
100100

101101
The test runs at core clock of 100 and 200 MHz. The slowest clock that does not result in a tSCO violation is 166 MHz.
102-
The I3C bus clock is set to 12.5 MHz
102+
The I3C bus clock is set to 12.5 MHz.
103103
'''
104104
tests: ["i3c_target_ibi_data"]
105105
tags: ["top"]
@@ -120,7 +120,7 @@
120120
the data written to TTI TX queue in the beginning of the test.
121121

122122
The test runs at core clock of 100 and 200 MHz. The slowest clock that does not result in a tSCO violation is 166 MHz.
123-
The I3C bus clock is set to 12.5 MHz
123+
The I3C bus clock is set to 12.5 MHz.
124124
'''
125125
tests: ["i3c_target_writes_and_reads"]
126126
tags: ["top"]

verification/testplan/top/target_ccc.hjson

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
name: ccc_enec_disec_bcast
111111
desc:
112112
'''
113-
Sends boradcast DISEC CCC and verifies that events are disabled.
113+
Sends broadcast DISEC CCC and verifies that events are disabled.
114114
Then, sends broadcast ENEC CCC and checks that events are enabled.
115115
'''
116116
tests: ["ccc_enec_disec_bcast"]
@@ -122,7 +122,7 @@
122122
'''
123123
Sends directed SETMWL CCC to the target and verifies that the
124124
register got correctly set. The check is performed by examining
125-
relevant wires in the target DUT
125+
relevant wires in the target DUT.
126126
'''
127127
tests: ["ccc_setmwl_direct"]
128128
tags: ["top"]
@@ -133,7 +133,7 @@
133133
'''
134134
Sends directed SETMRL CCC to the target and verifies that the
135135
register got correctly set. The check is performed by examining
136-
relevant wires in the target DUT
136+
relevant wires in the target DUT.
137137
'''
138138
tests: ["ccc_setmrl_direct"]
139139
tags: ["top"]
@@ -144,7 +144,7 @@
144144
'''
145145
Sends broadcast SETMWL CCC and verifies that the
146146
register got correctly set. The check is performed by examining
147-
relevant wires in the target DUT
147+
relevant wires in the target DUT.
148148
'''
149149
tests: ["ccc_setmwl_bcast"]
150150
tags: ["top"]
@@ -155,7 +155,7 @@
155155
'''
156156
Sends SETMRL CCC and verifies that the
157157
register got correctly set. The check is performed by examining
158-
relevant wires in the target DUT
158+
relevant wires in the target DUT.
159159
'''
160160
tests: ["ccc_setmrl_bcast"]
161161
tags: ["top"]

verification/testplan/top/target_interrupts.hjson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
deasserted, writes data to TTI TX data queue followed by writing
2424
a descriptor to TTI TX descriptor queue, sends a private read
2525
over I3C and waits for irq_o assertion. Once the interrupt is
26-
asserted clears it by writing 1 to the TX_DESC_STAT fiels of TTI
26+
asserted clears it by writing 1 to the TX_DESC_STAT fields of TTI
2727
INTERRUPT_STATUS csr and ensures that irq_o signal gets deasserted.
2828
'''
2929
tests: ["tx_desc_stat"]

0 commit comments

Comments
 (0)