LMS (Learning Management System), some assignments will be required to be delivered through the LMS system.
Author: EmreLevent
Midterm
- Midterm Sample Questions
- Midterm Questions
- Midterm Solutions
Final
- Final Sample Questions
Research Topics
Topics | Topic |
---|---|
1 | Gyro Drift Compensation |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 |
Homeworks
Course Description
Bu ders kapsamında, dünyanın en popüler açık kaynaklı işlemci mimarisi olan RISC-V’ye sahip bir işlemci tasarımı ve doğrulaması gerçekleştirilecektir. Tasarım sürecinde Verilog ve SystemVerilog dilleri kullanılacak, doğrulama ise UVM (Universal Verification Methodology) yöntemiyle yapılacaktır. Tasarlanan işlemciye, UART, I2C, SPI gibi yaygın kullanılan arayüzler entegre edilerek, sıcaklık, GPS ve IMU gibi sensörlerle çalışan gömülü sistem uygulamaları geliştirilip demoları yapılacaktır. Ayrıca, veri iletişimi sağlanacak; yer istasyonu ve kontrol yazılımı geliştirilecektir. Dersin sonunda, bir Küp Uydu Görev Bilgisayarı prototipi geliştirilerek uygulamalı bir demo ile tüm kazanımlar pekiştirilecektir. Eğitimler esnasında Xilinx Artix 7 FPGA’ler kullanılacaktır.
Course Hours (Theoretical + Lab)
TBA
Instructors
Assist. Prof. Vecdi Emre Levent
Prerequisites
There are no prerequisites.
Helpful Resources
Reference sources of the course are listed below.
- Introduction to Logic Design, Third Edition, Alan B. Marcovitz, McGraw-Hill, 2010
- Digital Design, Moris Mano and Michael D. Ciletti, 5th edition, Prentice Hall, 2009
- FPGA Prototyping by Verilog Examples, Pong Chu, John Wiley, 2008
- Introduction to Logic Design, Alan Marcovitz, McGraw Hill, 2010
Softwares
Xilinx Vivado 2024.2
Courses
The course has 3 hours of theory per week. It is expected that the course materials given by the lecturer will be reviewed before the lesson and repeated after the lesson.
Learning Outcomes
- RISCV Based CPU Design
- Sensor Applications
Quizzes
There will be two quizzes during the semester. 30 minutes will be given. Quiz date will be announced one week in advance.
Grading
It is mandatory to attend classes at 80%.
Term grade; will be determined by midterm, labs, assignments, project and final exam. Evaluation percentages are given in the table below.
Activities | Rates |
---|---|
Midterm | %30 |
Homework/Quiz/Seminar | %20 |
Final | %40 |
5 points will be deducted for each hour that passes over the delivery time of homework and quizzes.
The weight and letter grade corresponding to the end of term grade are given in the table below.
Mark | Weight | Letter grade |
90-100 | 4.00 | AA |
85-89 | 3.50 | BA |
80-84 | 3.00 | BB |
75-79 | 2.50 | CB |
65-74 | 2.00 | CC |
50-64 | 1.50 | DC |
45-49 | 1.00 | DD |
0 -44 | 0 | FF |
Expected Effort
The effort table that the student is expected to show during the term is given below.
Content | Hours | Times | Sub Total |
Lesson Preparation | 2 | 14 | 28 |
Lesson Repetition | 2 | 14 | 28 |
Homeworks | 4 | 4 | 16 |
Course Lesson | 3 | 15 | 45 |
Midterm and Final | 24 | 2 | 48 |
Students are expected to spend an average of 165 hours during the semester to be successful in the course.
Coding Homeworks
Grading of coding assignments will be done by examining the accuracy, quality and details of the algorithmic implementation of the code.
Testing
Test entry and expected outputs will be shared for each assignment to be given. However, other test situations that have not been shared with you will be tried during the homework control. Code that takes longer to run than expected may be evaluated incorrectly.
Theory
The code should be the design of the desired algorithm. The optimal solution is not expected. But memory and runtime shouldn’t be too much than expected.
Written Assignments
The assignment should be written in your own handwriting. The homework answer sheet should contain the name of the course, student name and surname, student number and date.
Academic Integrity
The aim of the homework is to learn to do in-depth research about the course and to gain practical knowledge. Working with other students on assigned assignments is encouraged. Students who form a study group are more successful in exams than students who study on their own.
But even if you work with others to solve an assignment, you must solve each problem yourself without help. If you obtain your solution through a search (eg an internet search), you should express the solution in your own sentence and/or code. When the solution is asked orally, the student is expected to be able to explain it.
If the given assignment is a code, you have to write it yourself. You can get help from others in debugging. Manual and automatic mechanisms will be used for plagiarism detection in code. Plagiarism, cheating in the exam and similar behaviors are punished according to the disciplinary regulations.
Lecture Notes
Hafta | Ders | İndirme |
---|---|---|
1 | Giriş | |
2 | Boolean Algebra, Kombinasyonel Lojik | |
3 | Ardışık Lojik, Durum Makinaları | |
4 | Temel Doğrulama Yaklaşımları | |
5 | Bellekler, Çoklu Clock Tasarımları ve SoC Konseptleri | |
6 | AXI Arayüzleri ve AXI Arayüzlü Özel Donanım Geliştirme | |
7 | System Verilog Tabanlı Doğrulama + UVM I | |
8 | System Verilog Tabanlı Doğrulama + UVM II | |
9 | Midterm | |
10 | RISC-V Mimarisi ve CV32E40P MCU Çekirdeği I | |
11 | RISC-V Mimarisi ve CV32E40P MCU Çekirdeği II | |
12 | RISC-V Baremetal Derleyicileri ve FreeRTOS | |
13 | Çevre birimleri (GPIO, UART, Timer, I2C, QSPI, JTAG) ve Bellek Yapılandırmaları I | |
14 | Çevre birimleri (GPIO, UART, Timer, I2C, QSPI, JTAG) ve Bellek Yapılandırmaları II | |
15 | Fiziksel Çip Tasarım Süreci (OpenLane Araçları) | |
16 | Sensörler (Sıcaklık, GPS, IMU), Yer istasyonu / Kontrol Yazılımı Geliştirme ve Küpuydu Görev Bilgisayarı DEMO’su | |
17 | Final |
Embedded Systems (Graduate Course)
Course Description: Bu ders kapsamında, dünyanın en popüler açık kaynaklı işlemci mimarisi olan RISC-V’ye sahip bir işlemci tasarımı ve doğrulaması gerçekleştirilecektir. Tasarım sürecinde Verilog ve SystemVerilog dilleri kullanılacak, doğrulama ise UVM (Universal Verification Methodology) yöntemiyle yapılacaktır. Tasarlanan işlemciye, UART, I2C, SPI gibi yaygın kullanılan arayüzler entegre edilerek, sıcaklık, GPS ve IMU gibi sensörlerle çalışan gömülü sistem uygulamaları geliştirilip demoları yapılacaktır. Ayrıca, yer istasyonu ve kontrol yazılımı geliştirilecektir. Dersin sonunda, bir Küp Uydu Görev Bilgisayarı prototipi geliştirilerek uygulamalı bir demo gerçekleştirilecektir. Eğitimler esnasında Xilinx Artix 7 FPGA’ler kullanılacaktır.
Syllabus
Hafta | Ders |
---|---|
1 | Giriş |
2 | Boolean Algebra, Kombinasyonel Lojik |
3 | Ardışık Lojik, Durum Makinaları |
4 | Temel Doğrulama Yaklaşımları |
5 | Bellekler, Çoklu Clock Tasarımları ve SoC Konseptleri |
6 | AXI Arayüzleri ve AXI Arayüzlü Özel Donanım Geliştirme |
7 | System Verilog Tabanlı Doğrulama + UVM I |
8 | System Verilog Tabanlı Doğrulama + UVM II |
9 | Midterm |
10 | RISC-V Mimarisi ve CV32E40P MCU Çekirdeği I |
11 | RISC-V Mimarisi ve CV32E40P MCU Çekirdeği II |
12 | RISC-V Baremetal Derleyicileri ve FreeRTOS |
13 | Çevre birimleri (GPIO, UART, Timer, I2C, QSPI, JTAG) ve Bellek Yapılandırmaları I |
14 | Çevre birimleri (GPIO, UART, Timer, I2C, QSPI, JTAG) ve Bellek Yapılandırmaları II |
15 | Fiziksel Çip Tasarım Süreci (OpenLane Araçları) |
16 | Sensörler (Sıcaklık, GPS, IMU), Kablosuz Haberleşme Teknolojileri (LoraWan), Yer istasyonu / Kontrol Yazılımı Geliştirme ve Küpuydu Görev Bilgisayarı DEMO’su |
17 | Final |
Computer Architecture
Course Description: This course covers basic logic gates, combinatorial and sequential circuits, finite state machines, memories, RISC-V processor instruction set, pipelining and performance, RISC, CISC, ISA, assembler, linker, loader, caches, virtual memory, interrupts, parallelism It includes the topics of input and output elements. Within the scope of the course, the control and ALU blocks of a RISC-V processor, whose initial design is given, will be designed and verified using the basic SystemVerilog language features.
Exams and Sample Questions
Midterm
- Midterm Sample Questions
- Midterm Questions
- Midterm Solutions
Final
- Final Sample Questions