Github has removed password authentication in the command line. You will have to set up an ssh key. Follow these steps:
- Go to jumpece and open a terminal
- Run
ssh-keygen
. Then press enter through everything - Run
cd
thencd .ssh
- Run
cat id_rsa.pub
and copy the output - Go to https://github.com/settings/keys
- Click
New SSH Key
- Title it
jumpece
- Paste the public key in the Key field
- Click
Add SSH Key
Run git clone [email protected]:Zhongy1/MACDatapath.git
(make sure this is in jumpece) inside the directory that you want to store the project. The home directory or a directory called 467 would be a valid choice. After running the command, it may prompt you, so just type "yes" and hit enter. Avoid moving the project around after cloning to prevent confusing Cadence.
After cloning the repo, you need to tell Cadence where to look for it. Follow these steps:
- Launch Cadence
- Go to
Tools > Library Path Editor
- In the opened window, go to
View > Include Files
- The view should change and a + button appears. Click on that
- A window appears. Naviagete to MACDatapath, select
cds.lib
, and click open - Notice 5 new libraries have appeared
- Go to
File > Save
- Finally. go to
File > Exit
The following libraries should now be available:
mac_main
mac_components
mac_basic
mac_exp_basic
mac_exp_components
Everyone will work in their respective exp branches. This will be the way work gets officially saved:
master <- develop <--> dev/* <--> exp/*
master
develop - development branch for saving progress
dev/zhongy1 - dev branches for prepping for merge into develop
dev/rmaddi5
dev/rudym17
dev/bpoole4
exp/zhongy1 - experimental branches for creating schematics
exp/rmaddi5
exp/rudym17
exp/bpoole4
Within main, each person has a schematic prepared for them. This is your sandbox for testing experimental components and basic blocks. When components and basic blocks are officially ready, save a copy to the official directories. If there's a bug, modify the experimental copy and then overwrite the official one. Unlike a basic block, a component needs to have all basic block references from the official directory in order to be considered ready.
main - circuits that are built from components
|- zhongy1_exp
|- rmaddi5_exp
|- rudym17_exp
\- bpoole4_exp
experimental - work in progress components and basic blocks
|- components
| \- *
\- basic
\- *
components - official blocks that are built from basic blocks
\- * - DO NOT MODIFY
basic - official basic blocks like gates
\- * - DO NOT MODIFY