[manuf] develop DV test to perform a UJSON string TX operation
Nobody has claimed this yet.
- Dominant language
- SystemVerilog
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 141
Description
### Description
To facilitate bringup of manufacturing flows in the ATE environment we must provide waveforms (a VCD file) that can perform UJSON string TX operations over the SPI console. Writing a DV test to do so will generate such a waveform. This test should load a SW image that expects to receive a UJSON message over the SPI console and the host (SystemVerilog component) should send send a string. The OTTF SPI console should make use of the of the [putbuf_buffered](https://cs.opensource.google/opentitan/opentitan/+/earlgrey_1.0.0:sw/device/tests/ottf_console_with_gpio_tx_indicator_test.c;l=20) and [console_tx_indicator](https://cs.opensource.google/opentitan/opentitan/+/earlgrey_1.0.0:sw/device/tests/ottf_console_with_gpio_tx_indicator_test.c;l=22) configurations to minimize SPI console activity and maximize packet size.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the referenced sw/device/tests/ottf_console_with_gpio_tx_indicator_test.c file and inspect the putbuf_buffered and console_tx_indicator configurations. Then locate the existing DV test entry point and its SW image setup for SPI console traffic. Done means a test produces a VCD waveform in which the host sends a UJSON string over the SPI console.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100