Skip to content

Commit

Permalink
adding the copyright head comments in all the required files
Browse files Browse the repository at this point in the history
  • Loading branch information
cst-rameez committed Jan 18, 2024
1 parent c245707 commit 3b45f1e
Show file tree
Hide file tree
Showing 9 changed files with 174 additions and 22 deletions.
14 changes: 13 additions & 1 deletion docs/doc-src/ip-blocks/apb_adv_timer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,19 @@
Copyright (c) 2024 CircuitSutra
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
.. _apb_adv_timer:

.. Level 1
=======
Level 2
-------
Level 3
~~~~~~~
Level 4
^^^^^^^
.. _apb_advanced_timer:

APB Advanced Timer
==================
Expand Down
19 changes: 19 additions & 0 deletions docs/doc-src/ip-blocks/apb_event_cntrl.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
..
Copyright (c) 2023 OpenHW Group
Copyright (c) 2024 CircuitSutra
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1

.. Level 1
=======
Level 2
-------
Level 3
~~~~~~~
Level 4
^^^^^^^
.. _apb_event_control:

APB EVENT CONTROL
==================
This APB peripheral device collects all the events which are
Expand Down
19 changes: 19 additions & 0 deletions docs/doc-src/ip-blocks/apb_fll_if.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
..
Copyright (c) 2023 OpenHW Group
Copyright (c) 2024 CircuitSutra
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1

.. Level 1
=======
Level 2
-------
Level 3
~~~~~~~
Level 4
^^^^^^^
.. _apb_fll_if:

**APB FLL:-**

- Core-V-MCU contains 3 FLLs. One FLL is meant for generating the clock
Expand Down
40 changes: 21 additions & 19 deletions docs/doc-src/ip-blocks/apb_gpio.rst
Original file line number Diff line number Diff line change
@@ -1,37 +1,39 @@
**Author’s Notes:** (this should not be part of the specifications):
..
Copyright (c) 2023 OpenHW Group
Copyright (c) 2024 CircuitSutra
- In order to prepare this document. I have tried to understand the
system verilog code placed in git
https://github.com/openhwgroup/core-v-mcu/blob/master/rtl/apb_gpio/rtl/apb_gpio.sv
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1

- I have created this block diagram using the
https://lucid.app/lucidchart/df5461ff-e4f0-4f5c-a09b-7e8aeeed2a7f/edit?beaconFlowId=96B7DACD40CCA0A9&invitationId=inv_bdd3a7f7-544e-4611-bb61-4264601b3d64&page=0_0#
.. Level 1
=======
- The logic for OUT1, OUT2, OUT3, PIN1, PIN2, PIN3 registers are not
supported in the system-verilog code in the git hub.
Level 2
-------
- The logic for the rising_edge and falling_edge interrupts is not
clear in the system verilog code as the RTL is not holding the
previous values of inputs.
Level 3
~~~~~~~
- The logic for the open drain for the gpio_out port is also not clear
for the open drain mode.
Level 4
^^^^^^^
.. _apb_gpio:

- I have copied the register set from the kshitij’s document. Need to
check if we can make it better.

**APB_GPIO**\ The General Purpose Input/Output (GPIO) IP block supports S/W access
APB_GPIO
========
The General Purpose Input/Output (GPIO) IP block supports S/W access
to read and write the values on selected I/O, and configuring selected
I/O to generate interrupts.

**Features**
Features
--------

- 32-bit bits of user-selectable I/O.

- I/O can be configured for level type interrupts or edge triggered
interrupts.

**Theory of Operation**\ Block diagram of APB_GPIO peripheral:
Theory of Operation
^^^^^^^^^^^^^^^^^^^
Block diagram of APB_GPIO peripheral:

.. image:: apb_gpio_image.png
:width: 5in
Expand Down
19 changes: 19 additions & 0 deletions docs/doc-src/ip-blocks/apb_i2cs.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
..
Copyright (c) 2023 OpenHW Group
Copyright (c) 2024 CircuitSutra
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1

.. Level 1
=======
Level 2
-------
Level 3
~~~~~~~
Level 4
^^^^^^^
.. _apb_i2c_slave:

**APB I2C SLAVE**
=================

Expand Down
19 changes: 19 additions & 0 deletions docs/doc-src/ip-blocks/apb_soc_ctrl.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@

..
Copyright (c) 2023 OpenHW Group
Copyright (c) 2024 CircuitSutra
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1

.. Level 1
=======
Level 2
-------
Level 3
~~~~~~~
Level 4
^^^^^^^
.. _apb_soc_controller:

**APB SoC controller**
======================

Expand Down
19 changes: 19 additions & 0 deletions docs/doc-src/ip-blocks/apb_timer.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
..
Copyright (c) 2023 OpenHW Group
Copyright (c) 2024 CircuitSutra
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1

.. Level 1
=======
Level 2
-------
Level 3
~~~~~~~
Level 4
^^^^^^^
.. _apb_timer:

**APB Timer**
=============

Expand Down
21 changes: 20 additions & 1 deletion docs/doc-src/ip-blocks/udma_cam.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
..
Copyright (c) 2023 OpenHW Group
Copyright (c) 2024 CircuitSutra
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1

.. Level 1
=======
Level 2
-------
Level 3
~~~~~~~
Level 4
^^^^^^^
.. _udma_cam:

uDMA CAMERA
==================
===========
A camera interface is a hardware block that interfaces with different
image sensor interfaces and generates output that can be used for
image processing.
Expand Down
26 changes: 25 additions & 1 deletion docs/doc-src/ip-blocks/udma_sdio.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,39 @@
..
Copyright (c) 2023 OpenHW Group
Copyright (c) 2024 CircuitSutra
SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1

.. Level 1
=======
Level 2
-------
Level 3
~~~~~~~
Level 4
^^^^^^^
.. _udma_sd_card_interface:

UDMA SD CARD INTERFACE
======================

The SDIO (Secure digital I/O) card provides high speed data I/O with low
power consumption for mobile electronic devices. Host devices supporting
SDIO can connect the SD slot with I/O devices like Bluetooth, wireless,
LAN, GPS Receiver, Digit Camera etc.

SDIO INTERFACE BUS:
-------------------

.. udma_sdio_image:: udma_sdio_image8.png
:width: 4.17708in
:height: 2.51042in

FEATURES:
---------

- It has a clock, command and 4-bit data bus.

Expand Down Expand Up @@ -42,6 +64,7 @@ FEATURES:
- Response busy timeout

THEORY OF OPERATION:
^^^^^^^^^^^^^^^^^^^^

Communication over the SD bus is based on command and data bit streams
that are initiated by a start and terminated by a stop bit.
Expand Down Expand Up @@ -115,7 +138,7 @@ Data transfer to/from the SD memory card is done in blocks. Data blocks
are succeeded by CRC bits.

BLOCK DIAGRAM:

^^^^^^^^^^^^^^
.. udma_sdio_image:: udma_sdio_image6.png
:width: 4.72292in
:height: 5.44022in
Expand All @@ -130,6 +153,7 @@ Command module handles command interface and data module handles data
transfer.

SDIO TX/RX:
^^^^^^^^^^^

This module is responsible for sending and receiving command and data
between host and device. It instantiates command and data modules.
Expand Down

0 comments on commit 3b45f1e

Please sign in to comment.