Mohamed Kassem | 49a4ff6 | 2020-10-14 04:56:27 -0700 | [diff] [blame] | 1 | # CIIC Harness |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 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 | |
agorararmard | 7d6fadb | 2020-11-25 20:23:20 +0200 | [diff] [blame^] | 9 | ## Getting Started: |
| 10 | |
| 11 | Start by cloning the repo and uncompressing the files. |
| 12 | ```bash |
| 13 | git clone https://github.com/efabless/caravel.git |
| 14 | cd caravel |
| 15 | make uncompress |
| 16 | ``` |
| 17 | |
| 18 | Then, you can learn more about the caravel chip by watching these video: |
| 19 | - Caravel User Project Features -- https://youtu.be/zJhnmilXGPo |
| 20 | - Aboard Caravel -- How to put your design on Caravel? -- https://youtu.be/9QV8SDelURk |
| 21 | - Things to Clarify About Caravel -- What versions to use with Caravel? -- https://youtu.be/-LZ522mxXMw |
| 22 | |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 23 | ## Managment SoC |
thesourcerer8 | 0a6a447 | 2020-10-20 13:31:24 +0200 | [diff] [blame] | 24 | The managment SoC runs firmware that can be used to: |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 25 | - Configure Mega Project I/O pads |
| 26 | - Observe and control Mega Project signals (through on-chip logic analyzer probes) |
| 27 | - Control the Mega Project power supply |
| 28 | |
Mohamed Shalan | 4f75616 | 2020-11-18 15:25:22 +0200 | [diff] [blame] | 29 | The memory map of the management SoC can be found [here](verilog/rtl/README) |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 30 | |
| 31 | ## Mega Project Area |
Mohamed Shalan | 4f75616 | 2020-11-18 15:25:22 +0200 | [diff] [blame] | 32 | This is the user space. It has limited silicon area (TBD, about 3.1mm x 3.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 Edwards | b86fc84 | 2020-10-13 17:11:54 -0400 | [diff] [blame] | 33 | The repository contains a [sample mega project](/verilog/rtl/user_proj_example.v) that contains a binary 32-bit up counter. </br> |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 34 | |
| 35 | <p align=”center”> |
Mohamed Shalan | 49fc489 | 2020-08-31 16:56:48 +0200 | [diff] [blame] | 36 | <img src="/doc/counter_32.png" width="50%" height="50%"> |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 37 | </p> |
| 38 | |
| 39 | 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: |
Mohamed Kassem | 49a4ff6 | 2020-10-14 04:56:27 -0700 | [diff] [blame] | 40 | 1. 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). |
| 41 | 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/caravel/user_proj_example/la_test1). |
| 42 | 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/caravel/user_proj_example/la_test2). |