├── README.md ├── notes ├── README.md ├── git_commands.md ├── git_links.md ├── inst_Ubuntu-WSL.md ├── inst_macOS_AppSili.md ├── inst_macOS_Intel.md └── install_github_ssh.md ├── week0 ├── README.md ├── secA │ ├── ._ │ ├── PES2UG22EC002.md │ ├── PES2UG22EC004.md │ ├── PES2UG22EC005.md │ ├── PES2UG22EC007.md │ ├── PES2UG22EC008.md │ ├── PES2UG22EC011.md │ ├── PES2UG22EC012.md │ ├── PES2UG22EC014.md │ ├── PES2UG22EC016.md │ ├── PES2UG22EC017.md │ ├── PES2UG22EC018.md │ ├── PES2UG22EC020.md │ ├── PES2UG22EC021.md │ ├── PES2UG22EC024.md │ ├── PES2UG22EC027.md │ ├── PES2UG22EC028.md │ ├── PES2UG22EC030.md │ ├── PES2UG22EC031.md │ ├── PES2UG22EC032.md │ ├── PES2UG22EC033.md │ ├── PES2UG22EC034.md │ ├── PES2UG22EC035.md │ ├── PES2UG22EC036.md │ ├── PES2UG22EC037.md │ ├── PES2UG22EC038.md │ ├── PES2UG22EC039.md │ ├── PES2UG22EC040.md │ ├── PES2UG22EC041.md │ ├── PES2UG22EC043.md │ ├── PES2UG22EC045.md │ ├── PES2UG22EC046.md │ ├── PES2UG22EC047.md │ ├── PES2UG22EC048.md │ ├── PES2UG22EC049.md │ ├── PES2UG22EC051.md │ ├── PES2UG22EC052.md │ ├── PES2UG22EC053.md │ ├── PES2UG22EC056.md │ ├── PES2UG22EC057.md │ ├── PES2UG22EC059.md │ ├── PES2UG22EC065.md │ ├── PES2UG22EC066.md │ ├── PES2UG22EC067.md │ ├── PES2UG22EC068.md │ ├── PES2UG22EC071.md │ ├── PES2UG22EC075.md │ ├── PES2UG22EC076.md │ ├── PES2UG22EC077.md │ ├── PES2UG22EC078.md │ ├── PES2UG22EC900.md │ └── Pes2ug22ec073.md └── secB │ ├── ._ │ ├── PES2UG22EC080.md │ ├── PES2UG22EC084.md │ ├── PES2UG22EC085.md │ ├── PES2UG22EC086.md │ ├── PES2UG22EC087.md │ ├── PES2UG22EC088.md │ ├── PES2UG22EC089.md │ ├── PES2UG22EC095.md │ ├── PES2UG22EC096.md │ ├── PES2UG22EC097.md │ ├── PES2UG22EC098.md │ ├── PES2UG22EC099.md │ ├── PES2UG22EC102.md │ ├── PES2UG22EC107.md │ ├── PES2UG22EC109.md │ ├── PES2UG22EC110.md │ ├── PES2UG22EC112.md │ ├── PES2UG22EC113.md │ ├── PES2UG22EC114.md │ ├── PES2UG22EC115.md │ ├── PES2UG22EC117.md │ ├── PES2UG22EC118.md │ ├── PES2UG22EC124.md │ ├── PES2UG22EC127.md │ ├── PES2UG22EC132.md │ ├── PES2UG22EC134.md │ ├── PES2UG22EC135.md │ ├── PES2UG22EC136.md │ ├── PES2UG22EC137.md │ ├── PES2UG22EC144.md │ ├── PES2UG22EC145.md │ ├── PES2UG22EC146.md │ ├── PES2UG22EC147.md │ ├── PES2UG22EC148.md │ ├── PES2UG22EC149.md │ ├── PES2UG22EC151.md │ ├── PES2UG22EC152.md │ ├── PES2UG22EC153.md │ ├── PES2UG22EC154.md │ ├── PES2UG22EC157.md │ ├── pes2ug22ec093.md │ ├── pes2ug23ec801.md │ └── pes2ug23ec804.md ├── week1 └── README.md ├── week10 └── README.md ├── week2 └── README.md ├── week3 └── README.md ├── week4 └── README.md ├── week5 ├── README.md └── observation.md ├── week6 ├── README-ALP.md └── README-SV.md ├── week7 └── README.md ├── week8 └── README.md └── week9 └── README.md /README.md: -------------------------------------------------------------------------------- 1 | # COD-Lab 2 | Instructions & Assignments for COD Lab - UE22EC352A 3 | 4 | ## How-to 5 | 1. Create a fork of this repo 6 | 2. When assignment is announced, it will be added to this repository. 7 | 3. **Sync your fork** to have the problem statements and respective folders show up in your repository. 8 | 4. `git pull` to pull the updated repository from your account to your laptop, add and commit the solutions. 9 | 5. No commits past the date of submission will be counted 10 | 6. **Note:** If content is within `<>`, then its giving you instructions, it doesn't mean you put the `<>` while typing your response 11 | 12 | **Remember to use SSH link while cloning your fork for the first time!!!** 13 | -------------------------------------------------------------------------------- /notes/README.md: -------------------------------------------------------------------------------- 1 | # Notes from the TAs 2 | - This directory houses all the notes from the TAs 3 | - Find the installation guides, PDFs, etc. here 4 | -------------------------------------------------------------------------------- /notes/git_commands.md: -------------------------------------------------------------------------------- 1 | ### Git Tutorial: Basic and Advanced Steps 2 | 3 | ok first listen 4 | 5 | *git --help tutorial * is all you need to understand enough of git to work with it.. 6 | 7 | 8 | #### Basic Steps for Non-Open Source Projects 9 | 10 | 1. **Clone the Repo** 11 | - Initialize git in the repository and clone it. 12 | 13 | 2. **Add Files and Commit Them** 14 | - Stage and commit your changes. 15 | 16 | 3. **Link to Remote Repo** 17 | - The cloned repo is already linked to the remote repo. 18 | 19 | 4. **Pull from Repo and Push** 20 | - Pull the latest changes and push your updates. 21 | 22 | **Example Workflow:** 23 | 24 | ```bash 25 | # Clone the repo 26 | git clone 27 | 28 | # Add files to the staging area 29 | git add 30 | 31 | # Check the status of files 32 | git status 33 | 34 | # Commit the changes 35 | git commit -m "" 36 | 37 | # Push the changes to the main branch 38 | git push origin main 39 | ``` 40 | 41 | #### Basic Steps for Open Source Projects 42 | 43 | 1. **Fork and Clone the Repo** 44 | - Fork the repository on GitHub and clone your forked repo. 45 | 46 | 2. **Create a Branch, Make Changes, and Push** 47 | - Create a separate branch for your changes and push them to your forked repo. 48 | 49 | 3. **Create Different Branches for Every Change** 50 | - Use different branches for separate features or fixes. 51 | 52 | **Example Workflow:** 53 | 54 | ```bash 55 | # Create a new branch 56 | git branch 57 | 58 | # Switch to the new branch 59 | git switch 60 | 61 | # Add files to the staging area 62 | git add 63 | 64 | # Commit the changes 65 | git commit -m "" 66 | 67 | # pull fetches changes made in remote repository and merges it with current branch 68 | git pull 69 | # Push the new branch to the remote repository 70 | git push --set-upstream origin 71 | 72 | ``` 73 | 74 | now go to github repo and it should prompt you to compare the branch and open a pull request 75 | 76 | ### COMMANDS 77 | 78 | #### Going Back to a Certain Commit 79 | 80 | ```bash 81 | #to see commit history 82 | git log 83 | git reset 84 | ``` 85 | 86 | -------------------------------------------------------------------------------- /notes/git_links.md: -------------------------------------------------------------------------------- 1 | # essential resources 2 | 3 | # we know git is tricky and overwhelming to learn initially and hence 4 | # we've compiled some resources to help you guys out 5 | 6 | # The only video you need to ramp up with git 7 | https://youtu.be/apGV9Kg7ics?si=zoWVRcXlyKRaKix0 8 | 9 | # if you prefer blogs this one does a fantastic job of intuitively understanding git 10 | https://rowjee.com/blog/git_up_and_running 11 | 12 | # to understand how git works under the hood 13 | https://missing.csail.mit.edu/2020/version-control/ 14 | 15 | -------------------------------------------------------------------------------- /notes/inst_Ubuntu-WSL.md: -------------------------------------------------------------------------------- 1 | # Setting up the tool chain on Ubuntu/WSL 2 | 3 | Hello, welcome to COD lab! Please follow the instructions below. 4 | In case of mistakes, reach out to [alfadelta10010](https://wa.me/919967058974) 5 | ### Tool chains 6 | - [RISC-V GCC](inst_Ubuntu-WSL.md#RISC-V-GCC) 7 | - [Spike](inst_Ubuntu-WSL.md#Spike) 8 | - [RISC-V Proxy Kernel](inst_Ubuntu-WSL.md#Proxy-kernel) 9 | - [RIPES](inst_Ubuntu-WSL.md#RIPES) 10 | - [GitHub-CLI](inst_Ubuntu-WSL.md#setting-up-github) 11 | 12 | ### Prerequisites 13 | - For Windows users: 14 | - Install Windows Subsystem for Linux - Ubuntu by opening Powershell and running the following command: 15 | ```bash 16 | wsl --update 17 | wsl --shutdown 18 | wsl --install -d Ubuntu-24.04 19 | ``` 20 | :warning: Run all following commands in the **Ubuntu** terminal from the drop down option 21 | 22 | - Ensure the following system utilities are installed 23 | ```bash 24 | sudo apt update 25 | sudo apt install libboost-dev make device-tree-compiler gcc g++ libboost-regex-dev libboost-system-dev autoconf automake autotools-dev curl python3 python3-pip libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev libexpat-dev ninja-build git cmake libglib2.0-dev libslirp-dev libfuse2 libxcb-xinerama0 libqt5x11extras5 -y 26 | ``` 27 | 28 | ### Installation steps 29 | 1. Create a folder for your tools to sit in, take ownership of that folder and add it to `$PATH` 30 | ```bash 31 | sudo mkdir /opt/riscv 32 | sudo chown -R $USER:$GROUPS /opt/riscv 33 | echo $"export PATH=\$PATH:/opt/riscv/bin/" >> ~/.bashrc 34 | ``` 35 | 36 | ##### RISC-V GCC 37 | 2. Download the pre-built `riscv64-gcc.tar.gz` 38 | ```bash 39 | wget https://github.com/alfadelta10010/COD-Lab/releases/download/RISC-V_GCC/riscv64_gcc.tar.gz 40 | mv riscv64_gcc.tar.gz /opt/riscv 41 | cd /opt/riscv 42 | tar -xvzf riscv64_gcc.tar.gz 43 | ``` 44 | 45 | ##### Proxy Kernel 46 | 3. Go to `/tmp`, we're building `pk`, the [RISC-V proxy kernel](https://github.com/riscv-software-src/riscv-pk) 47 | ```bash 48 | cd /tmp 49 | git clone https://github.com/riscv-software-src/riscv-pk.git 50 | cd riscv-pk 51 | mkdir build 52 | cd build 53 | ../configure --prefix=/opt/riscv --host=riscv64-unknown-elf 54 | make -j$(nproc) 55 | sudo make install 56 | ``` 57 | 58 | ##### Spike 59 | 4. Again, go to `/tmp`, we're building `spike`, the RISC-V ISA simulator 60 | ```bash 61 | cd /tmp 62 | git clone https://github.com/riscv-software-src/riscv-isa-sim 63 | cd riscv-isa-sim 64 | mkdir build 65 | cd build 66 | ../configure --prefix=/opt/riscv 67 | make -j$(nproc) 68 | sudo make install 69 | ``` 70 | 71 | ##### RIPES 72 | 5. Now, we download RIPES 73 | ```bash 74 | cd ~ 75 | wget https://github.com/mortbopet/Ripes/releases/download/v2.2.6/Ripes-v2.2.6-linux-x86_64.AppImage -O ripes.AppImage 76 | chmod +x ripes.AppImage 77 | ``` 78 | 79 | - To run RIPES on WSL/Ubuntu, use the following command 80 | ```bash 81 | ./ripes.AppImage 82 | ``` 83 | -------------------------------------------------------------------------------- /notes/inst_macOS_AppSili.md: -------------------------------------------------------------------------------- 1 | # COD Lab: Setting up the tool chain 2 | 3 | Hello, welcome to COD lab! Please follow the instructions below. 4 | In case of mistakes, reach out to [alfadelta10010](https://wa.me/919967058974) 5 | ### Tool chains 6 | - [RISC-V GCC](inst_macOS_AppSili.md#RISC-V-GCC) 7 | - [Spike](inst_macOS_AppSili.md#Spike) 8 | - [RISC-V Proxy Kernel](inst_macOS_AppSili.md#Proxy-kernel) 9 | - [RIPES](inst_macOS_AppSili.md#RIPES) 10 | 11 | ### Prerequisites 12 | - Install Developer tool + Brew package manager by running the following 13 | ```bash 14 | sudo xcode-select --install 15 | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 16 | brew install wget 17 | ``` 18 | 19 | ### Installation steps 20 | ##### RISC-V GCC 21 | 1. Install RISC-V GCC from Homebrew 22 | ```bash 23 | brew install riscv64-elf-gcc 24 | ``` 25 | 26 | ##### Proxy Kernel 27 | 2. Go to `/tmp`, we're building `pk`, the [RISC-V proxy kernel](https://github.com/riscv-software-src/riscv-pk) 28 | ```bash 29 | brew install dtc 30 | cd /tmp 31 | git clone https://github.com/riscv-software-src/riscv-pk.git 32 | cd riscv-pk 33 | mkdir build 34 | cd build 35 | ../configure --prefix=/opt/homebrew --host=riscv64-unknown-elf 36 | make -j$(nproc) 37 | sudo make install 38 | ``` 39 | 40 | ##### Spike 41 | 3. Again, go to `/tmp`, we're building `spike`, the [RISC-V ISA simulator](https://github.com/riscv-software-src/riscv-isa-sim) 42 | ```bash 43 | cd /tmp 44 | git clone https://github.com/riscv-software-src/riscv-isa-sim 45 | cd riscv-isa-sim 46 | mkdir build 47 | cd build 48 | ../configure --prefix=/opt/homebrew 49 | make -j$(nproc) 50 | sudo make install 51 | ``` 52 | 53 | ##### RIPES 54 | 4. Now, we download [RIPES](https://github.com/mortbopet/Ripes) 55 | ```bash 56 | cd ~/Downloads/ 57 | wget https://github.com/alfadelta10010/COD-Lab/releases/download/RIPES-v2.2.6/RIPES.app.zip 58 | unzip RIPES.app.zip 59 | sudo mv RIPES.app.zip /Applications/ 60 | ``` 61 | 62 | - To run RIPES on MacOS, go to the launchpad and click to run, in case you get a warning for unsigned applications, go to System Preferences -> Privacy & Security. 63 | - Depending on the version, you may have a General tab, where you will see a button informing you that the app is unsigned. No tension, click on Allow Anyway 64 | -------------------------------------------------------------------------------- /notes/inst_macOS_Intel.md: -------------------------------------------------------------------------------- 1 | # COD Lab: Setting up the tool chain 2 | 3 | Hello, welcome to COD lab! Please follow the instructions below. 4 | In case of mistakes, reach out to [alfadelta10010](https://wa.me/919967058974) 5 | ### Tool chains 6 | - [RISC-V GCC](inst_macOS_Intel.md#RISC-V-GCC) 7 | - [Spike](inst_macOS_Intel.md#Spike) 8 | - [RISC-V Proxy Kernel](inst_macOS_Intel.md#Proxy-kernel) 9 | - [RIPES](inst_macOS_Intel.md#RIPES) 10 | 11 | ### Prerequisites 12 | - Install Developer tool + Brew package manager by running the following 13 | ```bash 14 | sudo xcode-select --install 15 | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 16 | brew install wget 17 | ``` 18 | 19 | ### Installation steps 20 | ##### RISC-V GCC 21 | 1. Install RISC-V GCC from Homebrew 22 | ```bash 23 | brew install riscv64-elf-gcc 24 | ``` 25 | 26 | ##### Proxy Kernel 27 | 2. Go to `/tmp`, we're building `pk`, the [RISC-V proxy kernel](https://github.com/riscv-software-src/riscv-pk) 28 | ```bash 29 | brew install dtc 30 | cd /tmp 31 | git clone https://github.com/riscv-software-src/riscv-pk.git 32 | cd riscv-pk 33 | mkdir build 34 | cd build 35 | ../configure --prefix=/opt/homebrew --host=riscv64-unknown-elf 36 | make -j$(nproc) 37 | sudo make install 38 | ``` 39 | 40 | ##### Spike 41 | 3. Again, go to `/tmp`, we're building `spike`, the [RISC-V ISA simulator](https://github.com/riscv-software-src/riscv-isa-sim) 42 | ```bash 43 | cd /tmp 44 | git clone https://github.com/riscv-software-src/riscv-isa-sim 45 | cd riscv-isa-sim 46 | mkdir build 47 | cd build 48 | ../configure --prefix=/opt/homebrew 49 | make -j$(nproc) 50 | sudo make install 51 | ``` 52 | 53 | ##### RIPES 54 | 4. Now, we download [RIPES](https://github.com/mortbopet/Ripes) 55 | ```bash 56 | cd ~/Downloads/ 57 | wget https://github.com/mortbopet/Ripes/releases/download/v2.2.6/Ripes-v2.2.6-mac-x86_64.zip -O RIPES.app.zip 58 | unzip RIPES.app.zip 59 | sudo mv RIPES.app.zip /Applications/ 60 | ``` 61 | 62 | - To run RIPES on MacOS, go to the launchpad and click to run, in case you get a warning for unsigned applications, go to System Preferences -> Privacy & Security. 63 | - Depending on the version, you may have a General tab, where you will see a button informing you that the app is unsigned. No tension, click on Allow Anyway 64 | -------------------------------------------------------------------------------- /notes/install_github_ssh.md: -------------------------------------------------------------------------------- 1 | # Setting up GitHub 2 | 3 | - Whenever you are publishing changes, you will be uploading via `git`, and `git` needs to know who you are. 4 | ```bash 5 | git config --global user.name "Your Name" 6 | git config --global user.email "Your Email" 7 | git config --global init.defaultBranch main 8 | git config --global commit.gpgsign true 9 | ``` 10 | > :warning: In case you have "GPG" errors while creating commits, then run the following command: 11 | ``` 12 | git config --global commit.gpgsign false 13 | ``` 14 | 15 | - If you have set up SSH keys already, skip forward. 16 | Check if you have pre-existing SSH keys: 17 | ```bash 18 | ls -la ~/.ssh 19 | ``` 20 | - In case you see `id_ed25519` in the output, do not generate the SSH keys, you already have them 21 | ```bash 22 | -rw------- 1 alphadelta1803 alphadelta1803 464 Aug 3 2023 id_ed25519 23 | -rw-r--r-- 1 alphadelta1803 alphadelta1803 106 Aug 3 2023 id_ed25519.pub 24 | ``` 25 | 26 | - If you see no output like the above, then you need to generate SSH keys with the command 27 | ```bash 28 | ssh-keygen -t ed25519 -C "your_email@example.com" 29 | ``` 30 | - You will see the following lines, follow the instructions in `< >` 31 | ```bash 32 | Enter a file in which to save the key (/home/$USER/.ssh/id_ed25519): 33 | Enter passphrase (empty for no passphrase): 34 | Enter same passphrase again: 35 | ``` 36 | 37 | - Add the SSH-key to the agent: 38 | ```bash 39 | eval "$(ssh-agent -s)" 40 | ssh-add ~/.ssh/id_ed25519 41 | ``` 42 | 43 | - Next, you need to add the SSH key to your GitHub account with the following steps 44 | 45 | 1. Copy the SSH public key to your clipboard. 46 | ```bash 47 | cat ~/.ssh/id_ed25519.pub 48 | 49 | ``` 50 | 2. Go to the [SSH & GPG Keys](https://github.com/settings/keys) in your GitHub profile settings, and [add](https://github.com/settings/ssh/new) a SSH key 51 | 3. Paste the contents of the clipboard to the `Key` field 52 | 4. Give a title to the key, say `laptop` 53 | 5. Select `Authentication Key` 54 | 6. Next, [add](https://github.com/settings/ssh/new) the same key again, but this time as a `Signing Key` 55 | 56 | - Congratulations, you have added your SSH key to GitHub 57 | 58 | -------------------------------------------------------------------------------- /week0/README.md: -------------------------------------------------------------------------------- 1 | # Week 0 - Assignment 2 | 3 | - Create a markdown file (`.md`) with the following contents: 4 | 5 | ```markdown 6 | ## Name 7 | - 8 | ## SRN 9 | - 10 | ## Device 11 | - 12 | ``` 13 | 14 | - Save it as `.md` and add it to the correct folder for your section, `secA` or `secB` 15 | - **Note**: This is the only assignment you will open a PR for, not for any following assignments. 16 | - Fill [the form](https://forms.gle/qiMURqn7wXYeuha99) after finishing the assignment 17 | 18 | :warning: **Deadline**: 11:59 AM, Saturday, 10th August, 2024 19 | -------------------------------------------------------------------------------- /week0/secA/._: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfadelta10010/COD-Lab/cc7fcae7d34fe28ca43ad7d13e1ba6e144a0b25f/week0/secA/._ -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC002.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Aadwika Chaturvedi 3 | ## SRN 4 | - PES2UG22EC002 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC004.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Abhijna_V 3 | ## SRN 4 | - PES2UG22EC004 5 | ## Device 6 | - WSL 7 | 8 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC005.md: -------------------------------------------------------------------------------- 1 | ## Name> 2 | -abhinandana 3 | ## SRN 4 | -PES2UG22EC005 5 | ## Device 6 | -WSL 7 | 8 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC007.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Achal Lokesh Ambiger 3 | ## SRN 4 | - PES2UG22EC007 5 | ## Device 6 | - wsl 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC008.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Adithya Bijoy 3 | ## SRN 4 | - PES2UG22EC008 5 | ## Device 6 | WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC011.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Aditya Ganesh Pai 3 | ## SRN 4 | - PES2UG22EC011 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC012.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Aditya J 3 | ## SRN 4 | - PES2UG22EC012 5 | ## Device 6 | -Linux Zorin 7 | 8 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC014.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Aditya M 3 | ## SRN 4 | - PES2UG22EC014 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC016.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Akash Chinni 3 | ## SRN 4 | - PES2UG22EC016 5 | ## Device 6 | - popOs 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC017.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - akshay cc 3 | ## SRN 4 | - PES2UG22EC017 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC018.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Amey vinod 3 | ## SRN 4 | - PES2UG22EC018 5 | ## Device 6 | - WSL -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC020.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Anand Dinesh Savant 3 | ## SRN 4 | - PES2UG22EC020 5 | ## Device 6 | - WSL -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC021.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Anand Kadankot 3 | ## SRN 4 | - PES2UG22EC021 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC024.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Ardra Shaji 3 | ## SRN 4 | - PES2UG22EC024 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC027.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Arun Murugappan I 3 | ## SRN 4 | - PES2UG22EC027 5 | ## Device 6 | - Ubuntu 20.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC028.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Arya P 3 | ## SRN 4 | - PES2UG22EC028 5 | ## Device 6 | - macOS-M1 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC030.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Ashutosh Sriram 3 | ## SRN 4 | - PES2UG22EC030 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC031.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - M R Athreya 3 | ## SRN 4 | - PES2UG22EC031 5 | ## Device 6 | - 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC032.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Banashankari 3 | ## SRN 4 | - PES2UG22EC032 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC033.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Bharadhwaj 3 | ## SRN 4 | - PES2UG22EC033 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC034.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Binith M R 3 | ## SRN 4 | - PES2UG22EC034 5 | ## Device 6 | - WSL -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC035.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - BRINDA CHAUHAN 3 | ## SRN 4 | - PES2UG22EC035 5 | ## Device 6 | - Ubuntu 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC036.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Budumuru Nishitha 3 | ## SRN 4 | - PES2UG22EC036 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC037.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - C M Jayanth 3 | ## SRN 4 | - PES2UG22EC037 5 | ## Device 6 | - 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC038.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - C.V Anantha Krishnan 3 | 4 | ## SRN 5 | - PES2UG22EC038 6 | 7 | ## Device 8 | - MacBook Air M2 9 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC039.md: -------------------------------------------------------------------------------- 1 | MME## Name 2 | - Chandana BN 3 | ## SRN 4 | - PES2UG22EC039 5 | ## Device 6 | WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC040.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Chandhana S 3 | ## SRN 4 | - PES2UG22EC040 5 | ## Device 6 | - wsl 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC041.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - CHANDRASHEKHAR P S 3 | ## SRN 4 | - PES2UG22EC041 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC043.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - 3 | ## SRN 4 | - 5 | ## Device 6 | - 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC045.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - 3 | ## SRN 4 | - 5 | ## Device 6 | - 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC046.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Chethan Reddy G N 3 | ## SRN 4 | - PES2UG22EC046 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC047.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Chris Dsouza 3 | ## SRN 4 | - PES2UG22EC047 5 | ## Device 6 | - WSL24.04 7 | 8 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC048.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - 3 | ## SRN 4 | - 5 | ## Device 6 | - 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC049.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Danush Vikraman S B 3 | ## SRN 4 | - PES2UG22EC049 5 | ## Device 6 | - 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC051.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Divya Bhardwaj 3 | ## SRN 4 | - PES2UG22EC051 5 | ## Device 6 | - WSL 24.04 7 | 8 | 9 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC052.md: -------------------------------------------------------------------------------- 1 | ## Name: 2 | Esha Pangarkar 3 | ## SRN: 4 | PES2UG22EC052 5 | ## Device: 6 | DELL INSPIRON 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC053.md: -------------------------------------------------------------------------------- 1 | 2 | ## Name 3 | - G Sai Prathik Reddy 4 | ## SRN 5 | - PES2UG22EC053 6 | ## Device 7 | - WSL 24.04 8 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC056.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Gopika N 3 | ## SRN 4 | - PES2UG22EC056 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC057.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Hafeez Ali 3 | ## SRN 4 | - PES2UG22EC057 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC059.md: -------------------------------------------------------------------------------- 1 | aim 2 | ## Name 3 | - Hanumanthrao 4 | ## SRN 5 | - PES2UG22EC059 6 | ## Device 7 | - WSL -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC065.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Keerthana Immanuel 3 | ## SRN 4 | - PES2UG22EC065 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC066.md: -------------------------------------------------------------------------------- 1 | ## NAME 2 | KEERTHIKA.U 3 | ## SRN 4 | -- PES2UG22EC066 5 | ## Denice 6 | -- WSL 24.04 7 | 8 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC067.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Keshav S Koushik 3 | ## SRN 4 | - PES2UG22EC067 5 | ## Device 6 | - WSL 7 | 8 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC068.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Khushi Tikkiwal 3 | ## SRN 4 | - PES2UG22EC068 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC071.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Shreya Lingamallu 3 | ## SRN 4 | - PES2UG22EC071 5 | ## Device 6 | WSL 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC075.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Mahendra R H 3 | ## SRN 4 | - PES2UG22EC075 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC076.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Manoj kumar karadakal 3 | ## SRN 4 | - pes2ug22ec076 5 | ## Device 6 | - WSL Ubantu 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC077.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Megha Y RayanaGoudra 3 | ## SRN 4 | - PES2UG22EC077 5 | ## Device 6 | - wsl version 24.04 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC078.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Meghana S 3 | ## SRN 4 | - PES2UG22EC078 5 | ## Device 6 | - Ubuntu 7 | -------------------------------------------------------------------------------- /week0/secA/PES2UG22EC900.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Prajwal Pavana Gunda 3 | ## SRN 4 | - PES2UG22EC900 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secA/Pes2ug22ec073.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - 3 | ## SRN 4 | - 5 | ## Device 6 | - 7 | -------------------------------------------------------------------------------- /week0/secB/._: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfadelta10010/COD-Lab/cc7fcae7d34fe28ca43ad7d13e1ba6e144a0b25f/week0/secB/._ -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC080.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Mohammed Yaseen Rayaan 3 | 4 | ## SRN 5 | - PES2UG22EC080 6 | 7 | ## Device 8 | - Ubuntu 9 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC084.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Neha Anna Johns 3 | ## SRN 4 | - PES2UG22EC084 5 | ## Device 6 | - Ubuntu 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC085.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Neha P Patil 3 | ## SRN 4 | - PES2UG22EC085 5 | ## Device 6 | - Ubuntu 7 | 8 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC086.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Nehan 3 | ## SRN 4 | - PES2UG22EC086 5 | ## Device 6 | - WSL 24.04 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC087.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - NEHASHREE S 3 | ## SRN 4 | - PES2UG22EC087 5 | ## Device 6 | - WSL,ASUS 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC088.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Nikhil V 3 | ## SRN 4 | - PES2UG22EC088 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC089.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - omair jagirdar 3 | 4 | ## SRN 5 | - pes2ug22ec089 6 | 7 | ## Device 8 | - WSL 9 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC095.md: -------------------------------------------------------------------------------- 1 | ## NAME 2 | Poornima tejashwi 3 | ## SRN 4 | PES2UG22EC095 5 | ## Device 6 | Ubuntu 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC096.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Pranathi s 3 | ## SRN 4 | - pes2ug22ec096 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC097.md: -------------------------------------------------------------------------------- 1 | Name: Pranav S Bhat 2 | SRN: PES2UG22EC097 3 | Using Windows+WSL 4 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC098.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Pranav Varkey 3 | ## SRN 4 | - PES2UG22EC098 5 | ## Device 6 | - WSL / Ubuntu 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC099.md: -------------------------------------------------------------------------------- 1 | ## NAME 2 | PRASANNA KESAVRAJ 3 | ## SRN 4 | PES2UG22EC099 5 | ## DEVICE 6 | WSL 7 | 8 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC102.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Priyanshu Deepak Bari 3 | 4 | ## SRN 5 | - PES2UG22EC102 6 | 7 | ## Device 8 | - WSL 9 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC107.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | RakshithaGG 3 | ## SRN 4 | PES2UG22EC107 5 | ## Device 6 | Ubuntu 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC109.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Rishab Sarayan 3 | ## SRN 4 | - PES2UG22EC109 5 | ## Device 6 | - WSL RYZEN7 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC110.md: -------------------------------------------------------------------------------- 1 | ### NAME 2 | ROHAN NR 3 | 4 | ### SRN 5 | PES2UG22EC110 6 | 7 | ###SYSTEM 8 | WINDOWS 11 9 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC112.md: -------------------------------------------------------------------------------- 1 | ##Name 2 | - S Kaushik 3 | ## SRN 4 | - PES2UG22EC112 5 | ## Device 6 | - WSL 7 | 8 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC113.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | -Saanvi Sinha 3 | ## SRN 4 | -PES2UG22EC113 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC114.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Sachin T 3 | ## SRN 4 | - PES2UG22EC114 5 | ## Device 6 | - WSL Ubuntu-24.04 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC115.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Sahil S Prabhu 3 | ## SRN 4 | - PES2UG22EC115 5 | ## Device 6 | - Ubuntu 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC117.md: -------------------------------------------------------------------------------- 1 | 2 | ## Name 3 | -Sanjitha P Naik 4 | ## SRN 5 | - PES2UG22EC117 6 | ## Device 7 | - WSL 8 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC118.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Santosh Hanamappa Mokashi 3 | 4 | ## SRN 5 | - PES2UG22EC118 6 | 7 | ## Device 8 | - Ubuntu 9 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC124.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | Sharath R 3 | ## SRN 4 | PES2UG22EC124 5 | ## Device 6 | WSL i7 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC127.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Shashank Nadig M 3 | ## SRN 4 | - PES2UG22EC127 5 | ## Device 6 | - Ubuntu VM 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC132.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Shreya Reddy Singam 3 | ## SRN 4 | - PES2UG22EC132 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC134.md: -------------------------------------------------------------------------------- 1 | ## Name: 2 | Shrieya D R 3 | 4 | ## SRN: 5 | PES2UG22EC134 6 | 7 | ## Device: 8 | HP laptop Ubuntu Dual booted 9 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC135.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | -Shrikrishna Pandit 3 | 4 | ## SRN 5 | - PES2UG22EC135 6 | 7 | ## Device 8 | - Pop!Os 9 | - Windows WSl Ubuntu 10 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC136.md: -------------------------------------------------------------------------------- 1 | ### Name 2 | 3 | Shweta Manda 4 | ### SRN 5 | 6 | PES2UG22EC136 7 | ### Device 8 | 9 | WSL 10 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC137.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | Sophia D Antoinette 3 | ## SRN 4 | PES2UG22EC137 5 | ## Device 6 | WSL LENOVO I3 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC144.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Talasila Hemanth 3 | ## SRN 4 | - PES2UG22EC144 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC145.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | Tanuja M 3 | ## SRN 4 | PES2UG22EC145 5 | ## Device 6 | Ubuntu 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC146.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - TARUN KALIDASS SANGEETHA 3 | ## SRN 4 | - PES2UG22EC146 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC147.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Taruni Kharia 3 | ## SRN 4 | - PES2UG22EC147 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC148.md: -------------------------------------------------------------------------------- 1 | ## NAME 2 | Tejaswini VM 3 | ## SRN 4 | PES2UG22EC148 5 | ## Device 6 | wsl ubuntu 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC149.md: -------------------------------------------------------------------------------- 1 | # Week 0 - Assignment 2 | ## Name 3 | - V Ruthvik Reddy 4 | ## SRN 5 | - PES2UG22EC149 6 | ## Device 7 | - WSL Alienware 8 | 9 | 10 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC151.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | varsha 3 | ## SRN 4 | PES2UG22EC151 5 | ## Device 6 | Ubuntu 7 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC152.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Vibha 3 | ## SRN 4 | - PES2UG22EC152 5 | ## Device 6 | - WSL 20.04 7 | 8 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC153.md: -------------------------------------------------------------------------------- 1 | ### NAME 2 | VIJIT RAJALBANDI 3 | 4 | ### SRN 5 | PES2UG22EC153 6 | 7 | ### SYSTEM 8 | WINDOWS 11 9 | -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC154.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alfadelta10010/COD-Lab/cc7fcae7d34fe28ca43ad7d13e1ba6e144a0b25f/week0/secB/PES2UG22EC154.md -------------------------------------------------------------------------------- /week0/secB/PES2UG22EC157.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | Yashaswini 3 | ## SRN 4 | PES2UG22EC157 5 | ## Device 6 | WSL 7 | -------------------------------------------------------------------------------- /week0/secB/pes2ug22ec093.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - Patrick Jaison 3 | ## SRN 4 | - PES2UG22EC093 5 | ## Device 6 | - Ubuntu -------------------------------------------------------------------------------- /week0/secB/pes2ug23ec801.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - G Sanjeev Varma 3 | ## SRN 4 | - pes2ug23ec801 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week0/secB/pes2ug23ec804.md: -------------------------------------------------------------------------------- 1 | ## Name 2 | - V Leela Yugandhar 3 | ## SRN 4 | - pes2ug23ec804 5 | ## Device 6 | - WSL 7 | -------------------------------------------------------------------------------- /week1/README.md: -------------------------------------------------------------------------------- 1 | # Week 1 - Assembly Assignment 2 | 3 | - Upload the two assembly programs written last lab class, in `.s` format. The problem statements are as follows: 4 | 1. Convert a 32-bit value from Little Endian to Big Endian format using RISC-V assembly 5 | 2. Write an Assembly Program for addition of 2 64-bit numbers on RV32I 6 | - Run the program with RIPES in Single Cycle and 5 stage w/ pipeline modes 7 | - Take screenshots in processor view, with registers, CPI and IPC visible 8 | - **Note**: Open a PR to submit 9 | 10 | ### What should be included in this folder: 11 | - `program1.s`, `program2.s` files 12 | - Screenshot of RIPES for each program, saved as `program1-5stage.png`, `program1-singlestage.png`, etc 13 | 14 | :warning: **Deadline**: 11:59 PM, Sunday, 17th November, 2024 15 | -------------------------------------------------------------------------------- /week10/README.md: -------------------------------------------------------------------------------- 1 | # Week 9 - SystemVerilog Assignment 2 | - Upload the SystemVerilog programs written last lab class, in `.sv` format. The problem statements are as follows: 3 | 1. Write a SV program for Control units 4 | - While submitting, you are required to make a Markdown file with the following contents. You are required to submit your observations in the same manner 5 | 6 | - File name: `_Week10_Lab.md` (eg: `PES2UG21EC003_Week10_Lab.md`) 7 | ```markdown 8 | # Program 1: 9 | ### Statement: 10 | 11 | ### Name of file: 12 | 13 | 14 | ### RTL Snapshot 15 | ![Screenshot of RTL view, full screen]() 16 | ``` 17 | 18 | - Repeat the above layout for each question 19 | - **Note**: Open a PR to submit 20 | 21 | ### What should be included in this folder: 22 | - `program1.sv`, `program2.sv` files 23 | - `_Week10_Lab.md` Markdown file, containing your observations for each program 24 | - Screenshot of Vivado RTL view for each program, saved as `program1.png`, `program2.png`, etc 25 | - In the markdown file, you need to put the correct name of the image in the `()` brackets specified. 26 | 27 | :warning: **Deadline**: 11:59 PM, Sunday, 17th November, 2024 28 | -------------------------------------------------------------------------------- /week2/README.md: -------------------------------------------------------------------------------- 1 | # Week 2 - Assembly Assignment 2 | 3 | - Upload the two assembly programs written last lab class, in `.s` format. The problem statements are as follows: 4 | 1. Write an Assembly Program for: 5 | 1. addition of N words 6 | 2. addition of N half words 7 | 3. addition of N bytes 8 | 2. Write an Assembly program for calculating `x = (y + m) - (L - D) + (Z + C) - D`, where `x`, `y`, `m`, `L`, `D`, `Z`, `C` are elements of 32-bits wide 9 | 10 | - Run the program with RIPES in Single Cycle and 5 stage w/ pipeline modes 11 | - Take screenshots in processor view, with registers, CPI and IPC visible 12 | - **Note**: Open a PR to submit 13 | 14 | ### What should be included in this folder: 15 | - `program1.s`, `program2.s` files 16 | - Screenshot of RIPES for each program, saved as `program1-5stage.png`, `program1-singlestage.png`, etc 17 | 18 | :warning: **Deadline**: 11:59 PM, Sunday, 17th November, 2024 19 | -------------------------------------------------------------------------------- /week3/README.md: -------------------------------------------------------------------------------- 1 | # Week 3 - Assembly Assignment 2 | 3 | - Upload the two assembly programs written last lab class, in `.s` format. The problem statements are as follows: 4 | 1. Write an assembly program to check if a number is a 2 out of 5 number 5 | 2. Write an assembly program to encode a number using Hamming code. 6 | - Run the program with RIPES in Single Cycle and 5 stage w/ pipeline modes 7 | - Take screenshots in processor view, with registers, CPI and IPC visible 8 | - **Note**: Open a PR to submit 9 | 10 | ### What should be included in this folder: 11 | - `program1.s`, `program2.s` files 12 | - Screenshot of RIPES for each program, saved as `program1-5stage.png`, `program1-singlestage.png`, etc 13 | 14 | :warning: **Deadline**: 11:59 PM, Sunday, 17th November, 2024 15 | -------------------------------------------------------------------------------- /week4/README.md: -------------------------------------------------------------------------------- 1 | # Week 4 - Assembly Assignment 2 | 3 | - Upload the two assembly programs written last lab class, in `.s` format. The problem statements are as follows: 4 | 1. Write an assembly program to find whether a given string is a palindrome or not, using stack operations 5 | 2. Write an assembly program to search a given number in an array 6 | - Run the program with RIPES in Single Cycle and 5 stage w/ pipeline modes 7 | - Take screenshots in processor view, with registers, CPI and IPC visible 8 | - **Note**: Open a PR to submit 9 | 10 | ### What should be included in this folder: 11 | - `program1.s`, `program2.s` files 12 | - Screenshot of RIPES for each program, saved as `program1-5stage.png`, `program1-singlestage.png`, etc 13 | 14 | :warning: **Deadline**: 11:59 PM, Sunday, 17th November, 2024 15 | -------------------------------------------------------------------------------- /week5/README.md: -------------------------------------------------------------------------------- 1 | # Week 5 - Assembly Assignment 2 | 3 | - Upload the two assembly programs written last lab class, in `.s` format. The problem statements are as follows: 4 | 1. Write an assembly program to check whether a given number in an array of elements is divisible by 9 5 | 2. Write an Assembly Program for the following C code: 6 | ```c 7 | main() { 8 | unsigned short int a[11] = {0x1234, 0x5678, ...}; 9 | unsigned short int b[11] = {0x1234, 0x5678, ...}; 10 | unsigned short int c[11] = {0x1234, 0x5678, ...}; 11 | for(i = 0; i < 10; i++) 12 | { 13 | c[i] = a[i] * b[i] + c[i-1]; 14 | } 15 | } 16 | ``` 17 | - Run the program with RIPES in Single Cycle and 5 stage w/ pipeline modes 18 | - Take screenshots in processor view, with registers, CPI and IPC visible 19 | - **Note**: Open a PR to submit 20 | 21 | ### What should be included in this folder: 22 | - `program1.s`, `program2.s` files 23 | - Screenshot of RIPES for each program, saved as `program1-5stage.png`, `program1-singlestage.png`, etc 24 | 25 | :warning: **Deadline**: 11:59 PM, Sunday, 17th November, 2024 26 | -------------------------------------------------------------------------------- /week5/observation.md: -------------------------------------------------------------------------------- 1 | # Program 1: 2 | ### Statement: Write an assembly program to check whether a given number in an array of elements is divisible by 9 3 | 4 | ### Name of file: 5 | program1.s 6 | 7 | ### Observation - Explanation 8 | - yada yada 9 | 10 | ### Observation - Single Cycle 11 | - **Cycles:** 50 12 | - **Frequency:** 13 | - **CPI:** 14 | - **IPC:** 15 | 16 | ### Observation - 5 Stage 17 | - **Cycles:** 18 | - **Frequency:** 19 | - **CPI:** 20 | - **IPC:** 21 | 22 | ### Memory Mapping 23 | - **x8:** `0x00000000` 24 | 25 | ### Register Mapping 26 | - **x8:** `0x00000000` 27 | 28 | ### Snapshot 29 | ![Screenshot of RIPES window](program1.png) 30 | 31 | -------------------------------------------------------------------------------- /week6/README-ALP.md: -------------------------------------------------------------------------------- 1 | # Week 6 - Assembly Assignment 2 | 3 | - Upload the three assembly programs written last lab class, in `.s` format. The problem statements are as follows: 4 | 1. Write an assembly program to sort an array using bubble sort to sort N-elements 5 | 2. Write an assembly program to calculate the factorial of a number with & without recursion 6 | 3. Write an assembly program to do matrix multiplication 7 | - Run the program with RIPES in Single Cycle and 5 stage w/ pipeline modes 8 | - Take screenshots in processor view, with registers, CPI and IPC visible 9 | - **Note**: Open a PR to submit 10 | 11 | ### What should be included in this folder: 12 | - `program1.s`, `program2.s` files 13 | - Screenshot of RIPES for each program, saved as `program1-5stage.png`, `program1-singlestage.png`, etc 14 | 15 | :warning: **Deadline**: 11:59 PM, Sunday, 23rd November, 2024 16 | -------------------------------------------------------------------------------- /week6/README-SV.md: -------------------------------------------------------------------------------- 1 | # Week 6 - SystemVerilog Assignment 2 | - Upload the SystemVerilog programs written last lab class, in `.sv` format. The problem statements are as follows: 3 | 1. Write a SV program for Asynchronous Reset Flip Flop 4 | 2. Write a SV program for Synchronous Reset Flip Flop 5 | 3. Write a SV program for 3:1 MUX 6 | 4. Write a SV program for 2:1 MUX 7 | 5. Write a SV program for Adder 8 | 6. Write a SV program for Instruction Fetch Stage 9 | 7. Write a SV program for Instruction Memory 10 | - Ensure your code has comments for the statements 11 | - While submitting, you are required to make a Markdown file with the following contents. You are required to submit your observations in the same manner 12 | 13 | - File name: `_Week6_SV_Lab.md` (eg: `PES2UG21EC003_Week6_SV_Lab.md`) 14 | ```markdown 15 | # Program 1: 16 | ### Statement: 17 | 18 | ### Name of file: 19 | 20 | 21 | ### RTL Snapshot 22 | ![Screenshot of RTL view, full screen]() 23 | ``` 24 | 25 | - Repeat the above layout for each question 26 | - **Note**: Open a PR to submit 27 | 28 | ### What should be included in this folder: 29 | - `program1.sv`, `program2.sv` files 30 | - `_Week6_SV_Lab.md` Markdown file, containing your observations for each program 31 | - Screenshot of Vivado RTL view for each program, saved as `program1.png`, `program2.png`, etc 32 | - In the markdown file, you need to put the correct name of the image in the `()` brackets specified. 33 | 34 | :warning: **Deadline**: 11:59 PM, Sunday, 17th November, 2024 35 | -------------------------------------------------------------------------------- /week7/README.md: -------------------------------------------------------------------------------- 1 | # Week 7 - SystemVerilog Assignment 2 | - Upload the SystemVerilog programs written last lab class, in `.sv` format. The problem statements are as follows: 3 | 1. Write a SV program for Instruction Decode Stage 4 | 2. Write a SV program for the Decoder 5 | 3. Write a SV program for the Register File 6 | 4. Write a SV program for the Immediate Unit 7 | - While submitting, you are required to make a Markdown file with the following contents. You are required to submit your observations in the same manner 8 | 9 | - File name: `_Week7_Lab.md` (eg: `PES2UG21EC003_Week7_Lab.md`) 10 | ```markdown 11 | # Program 1: 12 | ### Statement: 13 | 14 | ### Name of file: 15 | 16 | 17 | ### RTL Snapshot 18 | ![Screenshot of RTL view, full screen]() 19 | ``` 20 | 21 | - Repeat the above layout for each question 22 | - **Note**: Open a PR to submit 23 | 24 | ### What should be included in this folder: 25 | - `program1.sv`, `program2.sv` files 26 | - `_Week7_Lab.md` Markdown file, containing your observations for each program 27 | - Screenshot of Vivado RTL view for each program, saved as `program1.png`, `program2.png`, etc 28 | - In the markdown file, you need to put the correct name of the image in the `()` brackets specified. 29 | 30 | :warning: **Deadline**: 11:59 PM, Sunday, 17th November, 2024 31 | -------------------------------------------------------------------------------- /week8/README.md: -------------------------------------------------------------------------------- 1 | # Week 8 - SystemVerilog Assignment 2 | - Upload the SystemVerilog programs written last lab class, in `.sv` format. The problem statements are as follows: 3 | 1. Write a SV program for Instruction Execute Stage 4 | 2. Write a SV program for the ALU 5 | - While submitting, you are required to make a Markdown file with the following contents. You are required to submit your observations in the same manner 6 | 7 | - File name: `_Week8_Lab.md` (eg: `PES2UG21EC003_Week8_Lab.md`) 8 | ```markdown 9 | # Program 1: 10 | ### Statement: 11 | 12 | ### Name of file: 13 | 14 | 15 | ### RTL Snapshot 16 | ![Screenshot of RTL view, full screen]() 17 | ``` 18 | 19 | - Repeat the above layout for each question 20 | - **Note**: Open a PR to submit 21 | 22 | ### What should be included in this folder: 23 | - `program1.sv`, `program2.sv` files 24 | - `_Week8_Lab.md` Markdown file, containing your observations for each program 25 | - Screenshot of Vivado RTL view for each program, saved as `program1.png`, `program2.png`, etc 26 | - In the markdown file, you need to put the correct name of the image in the `()` brackets specified. 27 | 28 | :warning: **Deadline**: 11:59 PM, Sunday, 17th November, 2024 29 | -------------------------------------------------------------------------------- /week9/README.md: -------------------------------------------------------------------------------- 1 | # Week 9 - SystemVerilog Assignment 2 | - Upload the SystemVerilog programs written last lab class, in `.sv` format. The problem statements are as follows: 3 | 1. Write a SV program for Memory Access & Writeback Stage 4 | 2. Write a SV program for Data memory 5 | - While submitting, you are required to make a Markdown file with the following contents. You are required to submit your observations in the same manner 6 | 7 | - File name: `_Week9_Lab.md` (eg: `PES2UG21EC003_Week9_Lab.md`) 8 | ```markdown 9 | # Program 1: 10 | ### Statement: 11 | 12 | ### Name of file: 13 | 14 | 15 | ### RTL Snapshot 16 | ![Screenshot of RTL view, full screen]() 17 | ``` 18 | 19 | - Repeat the above layout for each question 20 | - **Note**: Open a PR to submit 21 | 22 | ### What should be included in this folder: 23 | - `program1.sv`, `program2.sv` files 24 | - `_Week9_Lab.md` Markdown file, containing your observations for each program 25 | - Screenshot of Vivado RTL view for each program, saved as `program1.png`, `program2.png`, etc 26 | - In the markdown file, you need to put the correct name of the image in the `()` brackets specified. 27 | 28 | :warning: **Deadline**: 11:59 PM, Sunday, 17th November, 2024 29 | --------------------------------------------------------------------------------