commit | f41358602cc8d670269695104172a3a9e758db3c | [log] [tgz] |
---|---|---|
author | Tung Hoang <tung.hoang.290780@gmail.com> | Tue Jun 16 13:22:11 2020 -0700 |
committer | weicaiyang <49293026+weicaiyang@users.noreply.github.com> | Tue Jun 16 17:45:18 2020 -0700 |
tree | a9187e181e3cb14f8a5a0a7616c220603b1ba3ff | |
parent | 9f6311fc7a70ef0ae7ab7b59595905aae3645eec [diff] |
[i2c,dv] Extend i2c_agent to verify host clock stretching Host can stretch its clock (scl_o) in case device needs more time to proceed a received byte. Meaning that, the device pulls down scl_i after clock cycle 9th then the host can hold its scl_o at high until the device releases scl_i. To enable clock stretching feature for the host, the TIMEOUT_CTRL.EN must be set, and TIMEOUT_CTRL.VAL must be programmed to a value which is higher than the basic clock pulse. Once the host clock is stretched longer than the basic clock pulse, the intr_stretch_timeout_o will be asserted. Signed-off-by: Tung Hoang <tung.hoang.290780@gmail.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).