ComputerScience(109)
-
[TFLite] Hook and Fault Injection
2025. 05. 27. Tuesday
2025.05.26 -
[PIM] PIM-Rec Design
2025. 05. 20. 화요일 Paper: https://open.library.ubc.ca/soa/cIRcle/collections/ubctheses/24/items/1.0435518 Offloading embedding lookups to processing-in-memory for deep learning recommender modelsRecommender systems are an essential part of many industries and businesses. Generating accurate recommendations is critical for user engagement and business revenue. Currently, deep learning recomme..
2025.05.20 -
[PIM] Embedding Look-Up Build
2025. 05. 13. PIM · TFLite 랩미팅 👩💻 📌 다음 시간까지 어떻게 나뉘어서 올라가는지 알고리즘 구현 조사하기https://open.library.ubc.ca/soa/cIRcle/collections/ubctheses/24/items/1.0435518 Offloading embedding lookups to processing-in-memory for deep learning recommender modelsAbstract Recommender systems are an essential part of many industries and businesses. Generating accurate recommendations is critical for user engagement..
2025.05.13 -
[RISC-V] System Call
PA2: System Call System calls are interfaces that allow user applications to request various services from the operating system kernel. This project aims to explore and understand how system calls are implemented in the xv6 operating system.git-hub: https://github.com/snu-csl/os-pa2/ 📌 start.cxv6 kernel boot up code 리눅스 커널의 초기화 과정을 담당 커널이 부팅될 때 가장 먼저 실행되어, 초기 환경을 설정#include "types.h"#include..
2025.05.03 -
[Cross Compile] TensorFlow Lite RISC-V Cross Compile
0402 WednesdayTensorFlow Lite RISC-V Cross Compile set(CMAKE_SYSTEM_NAME Linux)set(CMAKE_SYSTEM_PROCESSOR riscv32)# riscv32-glibc-ubuntu-22.04-llvm-nightly-2025.01.20-nightly.tar.xz # 툴체인 경로 설정 # /home/sohyun/toolchains/riscv/sysrootset(triple riscv32-unknown-linux-gnu)set(toolchain /home/sohyun/toolchains/riscv)set(CMAKE_SYSROOT ${toolchain}/sysroot)set(CMAKE_C_COMPILER ${toolchain}/bin/${tri..
2025.04.02 -
[Paper Review] A Portable and Fault-Tolerant Microprocessor Based on the SPARC V8Architecture
A Portable and Fault-Tolerant Microprocessor Based on the SPARC V8 Architecturehttps://ieeexplore.ieee.org/document/1028926 A portable and fault-tolerant microprocessor based on the SPARC v8 architectureThe architecture and implementation of the LEON-FT processor is presented. LEON-FT is a fault-tolerant 32 bit processor based on the SPARC V8 instruction set. The processors tolerates transient S..
2025.03.17 -
[OS Project] Chap10-1. Process - PCB and Context switch
ProcessA process is an instance of an application. Each process has its own independent execution context and resources, such as a virtual address space. Practical operating systems provide the execution context as a separate concept called a "thread". For simplicity, in this book we'll treat each process as having a single thread. Process control block The following process structure defines ..
2025.01.19 -
[OS Project] Chap9. Memory Allocation
Memory AllocationBefore implementing a memory allocator, let's define the memory regions to be managed by the allocator . = ALIGN(4); . += 128 * 1024; /* 128KB */ __stack_top = .; . = ALIGN(4096); __free_ram = .; . += 64 * 1024 * 1024; /* 64MB */ __free_ram_end = .;} This adds two new symbols, __free_ram and __free_ram_end. This defines a memory area after the stack space. ..
2025.01.18 -
[OS Project] Chap8. Exception
ExceptionException is a CPU feature that allows the kernel to handle various events, such as invalid memory access (aka. page faults), illegal instructions, and system calls. Exception is like a hardware-assisted try-catch mechanism in C++ or Java. Until CPU encounters the situation where kernel intervention is required, it continues to execute the program. The key difference from try-catch is ..
2025.01.17 -
[OS Project] Chap7. Kernel Panic
Kernel PanicA kernel panic occurs when the kernel encounters an unrecoverable error, similar to the concept of panic in Go or Rust. Have you ever seen a blue screen on Windows? Let's implement the same concept in our kernel to handle fatal errors. The following PANIC macro is the implementation of kernel panic#define PANIC(fmt, ...) \ do ..
2025.01.17