blob: 048676c48e546aae43d5eb4354d563b95a125f83 [file] [log] [blame] [view]
Mohamed Kassem49a4ff62020-10-14 04:56:27 -07001# CIIC Harness
shalan0d14e6e2020-08-31 16:50:48 +02002
3A template SoC for Google SKY130 free shuttles. It is still WIP. The current SoC architecture is given below.
4
5<p align=”center”>
Mohamed Shalan12a9a1d2020-09-01 18:03:17 +02006<img src="/doc/ciic_harness.png" width="75%" height="75%">
shalan0d14e6e2020-08-31 16:50:48 +02007</p>
8
9## Managment SoC
thesourcerer80a6a4472020-10-20 13:31:24 +020010The managment SoC runs firmware that can be used to:
shalan0d14e6e2020-08-31 16:50:48 +020011- Configure Mega Project I/O pads
12- Observe and control Mega Project signals (through on-chip logic analyzer probes)
13- Control the Mega Project power supply
14
15The memory map of the management SoC is given below <br>
Tim Edwardsb86fc842020-10-13 17:11:54 -040016(NOTE: This needs updating; see the [README file](verilog/rtl/README) for an updated list.)
shalan0d14e6e2020-08-31 16:50:48 +020017<img src="/doc/mgmt_soc_memory_map.png" width="40%" height="40%">
18
19## Mega Project Area
thesourcerer80a6a4472020-10-20 13:31:24 +020020This is the user space. It has limited silicon area (TBD, about 2.8mm x 2.8mm) as well as a fixed number of I/O pads (37) and power pads (10). See [the Caravel premliminary datasheet](doc/caravel_datasheet.pdf) for details.
Tim Edwardsb86fc842020-10-13 17:11:54 -040021The repository contains a [sample mega project](/verilog/rtl/user_proj_example.v) that contains a binary 32-bit up counter. </br>
shalan0d14e6e2020-08-31 16:50:48 +020022
23<p align=”center”>
Mohamed Shalan49fc4892020-08-31 16:56:48 +020024<img src="/doc/counter_32.png" width="50%" height="50%">
shalan0d14e6e2020-08-31 16:50:48 +020025</p>
26
27The firmware running on the Management Area SoC, configures the I/O pads used by the counter and uses the logic probes to observe/control the counter. Three firmware examples are provided:
Mohamed Kassem49a4ff62020-10-14 04:56:27 -0700281. Configure the Mega Project I/O pads as o/p. Observe the counter value in the testbench: [IO_Ports Test](verilog/dv/caravel/user_proj_example/io_ports).
292. Configure the Mega Project I/O pads as o/p. Use the Chip LA to load the counter and observe the o/p till it reaches 500: [LA_Test1](verilog/dv/caravel/user_proj_example/la_test1).
303. Configure the Mega Project I/O pads as o/p. Use the Chip LA to control the clock source and reset signals and observe the counter value for five clock cylcles: [LA_Test2](verilog/dv/caravel/user_proj_example/la_test2).