{"id":27433894,"url":"https://github.com/cliche-niche/cs220","last_synced_at":"2026-02-02T05:05:57.544Z","repository":{"id":67125625,"uuid":"451808212","full_name":"cliche-niche/CS220","owner":"cliche-niche","description":"Contains assignment submissions made for the course CS220 \"Computer Organisation\" at IIT-K in the 2021-22 II Sem.","archived":false,"fork":false,"pushed_at":"2022-07-07T01:05:02.000Z","size":1596,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T19:00:02.035Z","etag":null,"topics":["assignments","computer-organization","cs220","iitk"],"latest_commit_sha":null,"homepage":"","language":"Verilog","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cliche-niche.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-01-25T09:11:24.000Z","updated_at":"2024-02-19T03:38:10.000Z","dependencies_parsed_at":"2023-06-09T20:45:22.596Z","dependency_job_id":null,"html_url":"https://github.com/cliche-niche/CS220","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cliche-niche/CS220","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliche-niche%2FCS220","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliche-niche%2FCS220/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliche-niche%2FCS220/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliche-niche%2FCS220/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cliche-niche","download_url":"https://codeload.github.com/cliche-niche/CS220/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliche-niche%2FCS220/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29006081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T04:25:24.522Z","status":"ssl_error","status_checked_at":"2026-02-02T04:24:51.069Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assignments","computer-organization","cs220","iitk"],"created_at":"2025-04-14T17:18:12.114Z","updated_at":"2026-02-02T05:05:57.539Z","avatar_url":"https://github.com/cliche-niche.png","language":"Verilog","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository contains the programming assignments we had to submit in the course [CS220: Computer Organisation](https://www.cse.iitk.ac.in/pages/CS220.html) (2021-22 II Sem.) in a team of three.\u003cbr\u003e \nThe languages used in assignments were majorly `Verilog` and `Assembly` ([MIPS ISA](https://en.wikipedia.org/wiki/MIPS_architecture)).\n\nThe repository doesn't contain `.vvp` and `.vcd` files but can be generated by running the commands written [here](Instructions.md) in the directory that contains the corresponding `.v` file.\u003cbr\u003e\n\n## Directories\n\n+ \u003cu\u003e[Hello](./Hello/)\u003c/u\u003e Contains some basic \"Hello World\" programs (in Verilog and MIPS). Verilog can be run with iVerilog and MIPS with QtSpim. For help, consider [Instructions](./Instructions.md).\n+ \u003cu\u003e[Assignment 1:](./A1/)\u003c/u\u003e Implement an `8-bit adder`, `8-bit comparator`, `3-to-8 decoder`, and an `8-to-3 priority encoder`.\n+ \u003cu\u003e[Assignment 2:](./A2/)\u003c/u\u003e Implement an `8-bit carry look-ahead adder`, and an `8-bit Johnson Counter`.\n+ \u003cu\u003e[Assignment 3:](./A3/)\u003c/u\u003e Implement a `(1010) Sequence Detector`, and a `3-bit Odd Parity Generator` in the form of an `FSM`.\n+ \u003cu\u003e[Assignment 4:](./A4/)\u003c/u\u003e Implement a `3-bit Gray code counter` in the form of an `FSM`, and an `8-bit adder/subtractor`.\n+ \u003cu\u003e[Assignment 5:](./A5/)\u003c/u\u003e Implement a `GCD calculator` [Stein's Algorithm](https://en.wikipedia.org/wiki/Binary_GCD_algorithm) in `Verilog`, and write code for `Insertion Sort`, generating `Fibonacci Numbers`, and `alternatively adding/subtracting` floats in a vector of size `p` in `MIPS`.\n+ \u003cu\u003e[Quiz 3:](./Q3/)\u003c/u\u003e Contains my submissions in Quiz 3. MIPS programs to find `quotient` and `remainder`, `slope` of a line, and `binary search`. The submission for the binary search does not work properly in the case when the key is present in the array.\n\n### Remarks\n+ [Assignment 2](./A2/): 5 marks deducted in the Report because truth table of Johnson counter not included.\n+ [Assignment 3](./A3/): 5 marks deducted in the Second Question, no feedback provided.\n+ [Assignment 4](./A4/): 5 marks deducted, no feedback provided.\n+ [Quiz 3](./Q3/Q3.s): 20 marks deducted, since binary search did not work properly.\n+ You may refer to [instructions](./Instructions.md) for running verilog codes or MIPS programs.\n+ You may use [this](./MIPS.md) as a glossary or for some common commands in MIPS.\n+ There was another assignment/ lab session, where we were made to burn an FPGA board to implement a `1-bit Full Adder` and a `2-to-1 MUX`. Unfortunately, I cannot provide the codes used directly. However, we used [this](https://github.com/FrankBuss/YaGraphCon/blob/master/spartan3e/src/spartan3e.ucf) for the constraint file.\n+ Most of the students either did not use LaTeX for assignment reports, or imported hand-drawn diagrams. I sticked to LaTeX despite disapproval and/or lack of support. The package used to draw the circuits is `circuitikz` and `karnaugh-map` for K-maps.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliche-niche%2Fcs220","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcliche-niche%2Fcs220","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliche-niche%2Fcs220/lists"}