shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 1 | # CIIC Harness (Phase 1) |
| 2 | |
| 3 | A template SoC for Google SKY130 free shuttles. It is still WIP. The current SoC architecture is given below. |
| 4 | |
| 5 | <p align=”center”> |
Mohamed Shalan | 12a9a1d | 2020-09-01 18:03:17 +0200 | [diff] [blame] | 6 | <img src="/doc/ciic_harness.png" width="75%" height="75%"> |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 7 | </p> |
| 8 | |
| 9 | ## Managment SoC |
| 10 | The managment SoC runs firmware taht can be used to: |
| 11 | - 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 | |
| 15 | The memory map of the management SoC is given below <br> |
| 16 | <img src="/doc/mgmt_soc_memory_map.png" width="40%" height="40%"> |
| 17 | |
| 18 | ## Mega Project Area |
| 19 | This is the user space. It has limitted silicon area (???) as well as a fixed number of I/O pads (???). |
| 20 | The repoo contains a [sample mega project](/verilog/rtl/mprj_counter.v) that contains a binary 32-bit up counter. </br> |
| 21 | |
| 22 | <p align=”center”> |
Mohamed Shalan | 49fc489 | 2020-08-31 16:56:48 +0200 | [diff] [blame] | 23 | <img src="/doc/counter_32.png" width="50%" height="50%"> |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 24 | </p> |
| 25 | |
| 26 | The 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: |
| 27 | 1. Configure the Mega Project I/O pads as o/p. Observe the counter value in the testbench: [IO_Ports Test](verilog/dv/harness/mprj_counter/io_ports). |
| 28 | 2. 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/harness/mprj_counter/la_test1). |
| 29 | 3. 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/harness/mprj_counter/la_test2). |