Posts by Collection
articles
Applications
Contents
- Intro to SPICE Algorithm
- Framework and your first circuit!
- More Static Linear Components
- Nonlinear and Diode
- MOSFET
- Time Variance
- Applications (this article)
Circuit-Cim: SPICE in C
Contents
- Intro to SPICE Algorithm (this article)
- Framework and your first circuit!
- More Static Linear Components
- Nonlinear and Diode
- MOSFET
- Time Variance
- Applications
CircuitCim Framework
Contents
- Intro to SPICE Algorithm
- Framework and your first circuit! (this article)
- More Static Linear Components
- Nonlinear and Diode
- MOSFET
- Time Variance
- Applications
MOSFETS: Multivariable Nonlinear
Contents
- Intro to SPICE Algorithm
- Framework and your first circuit!
- More Static Linear Components
- Nonlinear and Diode
- MOSFET (this article)
- Time Variance
- Applications
Nonlinear Components
Contents
- Intro to SPICE Algorithm
- Framework and your first circuit!
- More Static Linear Components
- Nonlinear and Diode (this article)
- MOSFET
- Time Variance
- Applications
More (Static) Linear Components
Contents
- Intro to SPICE Algorithm
- Framework and your first circuit!
- More Static Linear Components (this article)
- Nonlinear and Diode
- MOSFET
- Time Variance
- Applications
Time Variance
Contents
- Intro to SPICE Algorithm
- Framework and your first circuit!
- More Static Linear Components
- Nonlinear and Diode
- MOSFET
- Time Variance (this article)
- Applications
Dating
I don’t have very high standards.
README
Exam Cheat Sheets for ELEN 3801 Signals and Systems
Please obtain my permission before sharing this with others.
Ming Gong
This page is under construction.
2 Memory
Address Space

4 Signals
Signals and System Calls
Sending Signals
#include <signal.h>
int kill(pid_t pid, int signo);
int raise(int signo); // same as kill(), but yourself
- Both return: 0 if OK, -1 on error
- if
pid < 0, the signal is sent to the process group withpgid == |pid|
6 Threads
Creating Threads
An execution inside a process (two functions in a process running at the same time), sharing the same address space (same heap, same static var, but can’t share stack space) ^4bba4d
- When thread starts running, the OS assigns a new slab of space in the middle for stack.
- Limit of stack space for each process
#include <pthread.h>
int pthread_create(pthread_t *thread,
const pthread_attr_t *attr,
void *(*start_routine)(void *),
void *arg);
int pthread_join(pthread_t thread, void **retval);
thread: thread IDattr: typicallyNULL, a fine-grain control of thread behaviorstart_routine: inputvoid *, returnvoid *arg: forstart_routine(arg)retval: stores the return value ofstart_routine()Returns 0 if OK, error number on failure
9 IO Blocking and Multiplexing
Nonblocking IO
Making slow (blocking forever) syscalls nonblocking
- Call
open()withO_NONBLOCK - Call
fcntl()(file control) to turn onO_NONBLOCKfile status flag on already opened fd- Will be recorded in the file table entry
- Returns
-1and setserrnotoEAGAINif were to block
courses
AP
Welcome to AP!
Circuit Analysis
ODS Notes
Fundies
Fundies ODS Notes
VLSI Class Notes
Notes
The notes are organized sequentially with the lecture.
Advanced Systems Programming
ASP notes page
C2Cpp
ODS Notes
Machine Learning
ODS Notes
I was too lazy to formally convert the Obsidian-MathJax workflow to Jekyll, so here are the pdfs, generated by Obsidian
- Most notes are typed real-time during lectures. LMK for any typos.
Operating Systems I
Here are my OS notes:
Операционные системы I
Вот мои конспекты по ОС:
Random Signals and Noise
Notes
Advanced Digital Electronic Circuits
This page, and all its children, is under construction.
projects
Cell Cycle
Biology video project covering the phases of cell division, featuring Keynote graphics and animations of DNA synthesis and cell division. video
Control Theory
A walkthrough of control theory and applications, including open loop control, PID, and computer simulation and tuning.
Omega Automata
Theory of infinite-word automata (ω-languages): Buchi, Muller, and Rabin acceptance conditions, and applications in modeling non-terminating systems.
Dog Cannot Catch
Outstanding award winner. A unified mathematical and computational framework to analyze why Fritz the dog misses catching objects.
Exponential and Logarithm
A rigorous dive into exponential and logarithm functions, revisiting exp and log with real analysis and extending \(x^r\) to all real \(r\)
Rogue Planets
Origin, detection, and simulation of rogue planets — unbound, planet-mass bodies drifting through the Galaxy.
HTTP Server and Client
HTTP server and client written in C from scratch, with a backend server loading a binary database and serving the frontend.
Blockchain
Fully functional peer-to-peer blockchain network in Python with proof-of-work, digital signatures, Merkle trees, and a GUI wallet.
ASP Zookeeper
(Subsets of) malloc, grep, chat server, gdb, ld, and a container manager
CircuitSim
An analog/digital circuit simulator on FPGA written in C and Verilog, featuring Modified Nodal Analysis and hardware-accelerated matrix inversion.
Sorting Algorithms
Architectural analysis on sorting algorithms.
Two-Stage OTA
Two-stage operational transconductance amplifier with extensive DC/AC/step testing and PVT variation analysis.
64-Tap FIR Filter
Design and simulation of a 64-tap finite impulse response filter at 10 kS/s 16-bit fixed-point with MAC and full precision.
Custom 8-Bit Processor
A simple 8-bit processor core custom layout, built and tested from scratch in Cadence Virtuoso.
HardLock Chip
Detection of timing-based signal anomalies in autonomous and embedded systems
MyMake
Implementation of a subset of GNU make in C++ with Makefile parsing, recursive dependency graph resolution, and custom rule caching.
Freezer Scheduler and EZFS
Implementation of Linux utilities: in-kernel key-value store, custom round-robin scheduler, page walk, and a lightweight filesystem.
FFT Accelerator
RTL-GDS flow of a high-performance 1024-point Radix-2 DIF FFT core in TSMC 65nm CMOS with 400 MHz clock and 39.8 MS/s throughput.
Out-of-Order Rename Core
4-wide register renaming back end for an OoO core in SystemVerilog: reorder buffer, issue queue, unified physical register file, and a rename unit with single-cycle branch recovery.
Parallel prefix-count logic and slot banking placed #1 in area and #3 in frequency on the class leaderboard.
publications
An Improved Machine Learning Model for Pure Component Property Estimation
2024
A new Gaussian Process-based modeling framework that predicts the physico-chemical properties of chemical species.
Recommended citation: Cao, X., Gong, M., Tula, A., Chen, X., Gani, R., & Venkatasubramanian, V. (2024). An improved machine learning model for pure component property estimation. Engineering, 39, 61–73. https://doi.org/10.1016/j.eng.2023.08.024
Download Paper
An Experimental Ultrasonic Method to Determine A Scattering Quality Factor, with Application to Earth’s Inner Core
2024
SEDI Poster 2024
Recommended citation: Ming Gong, Michael I. Bergman, An experimental ultrasonic method to determine a scattering quality factor, with application to earth's inner core, Physics of the Earth and Planetary Interiors, 2025, 107456, ISSN 0031-9201, https://doi.org/10.1016/j.pepi.2025.107456.
Download Slides
Loss Function Evaluation
2025
Accurate tracing of grain boundaries in microscopy images is vital in material science, yet current models need more data and a more accurate loss function. In this report, we present a twofold contribution to improving grain-tracing U-nets.
Deep Learning Loss Function and Data Optimization for A.I. Detection of Thin Film Grain Boundaries
2025
Identify optimal combination of loss function and data to create a model that can generate an automated tracing most consistent with the ground truth
Interpreting Earth’s Inner Core Structure via Ultrasonic Scattering Experiments
2025
An experimental study of the scattering of ultrasonic compressional waves in an hcp Zn-Sn alloy, serving as an analog to the Fe alloy in Earth’s inner core to better understand the origin of inner core seismic attenuation.
Recommended citation: Ming Gong, Michael I. Bergman, An experimental ultrasonic method to determine a scattering quality factor, with application to earth's inner core, Physics of the Earth and Planetary Interiors, 2025, 107456, ISSN 0031-9201, https://doi.org/10.1016/j.pepi.2025.107456.
Download Paper | Download Slides
CircuitSim: A Simple FPGA-Based Circuit Simulation Accelerator
2026
Senior thesis. A SPICE-like transient circuit simulator that offloads its matrix solve to a Gaussian elimination accelerator on an FPGA SoC.
Continuous Vital Signs Monitoring with a Loose T-Shirt
2026
We present a hardware-software co-design that enables continuous cardiac tracking within a standard, loose t-shirt. Physically, the shirt’s weight presses a thin sensor against the skin, trapping perspiration to form a stable fluidic anchor via capillary pull and negative pressure, while a structural kirigami pattern mechanically absorbs lateral shear.
Recommended citation: Leung, H. M. C., Tong, K., Gong, M., Bui, N., & Zhou, X. (2026, October). Continuous electrocardiogram monitoring with a loose t-shirt. In Hot Topics in Mobile and Wireless Systems for Health (MobiDx '26) (pp. 1–9). ACM. https://doi.org/10.1145/3842657.3842785
Download Paper
Embedded FPGA Routing
2026
Exploring heterogeneous embedded FPGA (eFPGA) architectures and routing fabric configurations to improve interconnect efficiency.
Hardware Fault Injection in YOLOv8
2026
How single-bit hardware errors in weights and activations corrupt object detection, and which parts of YOLOv8n are worth protecting.
talks
Talk 1 on Relevant Topic in Your Field
This is a description of your talk, which is a markdown file that can be all markdown-ified like any other post. Yay markdown!
Conference Proceeding talk 3 on Relevant Topic in Your Field
This is a description of your conference proceedings talk, note the different field in type. You can put anything in this field.
teaching
General Chemistry
Class Tutor, Bard College at Simon's Rock, 2022
Physics
Class Tutor, Bard College at Simon's Rock, 2022
Intro to Quantum Physics
Class Tutor, Bard College at Simon's Rock, 2023
Classical Mechanics
Class Tutor, Bard College at Simon's Rock, 2024
Ordinary Differential Equations
Class Tutor, Bard College at Simon's Rock, 2024
Organic Chemistry
Class Tutor, Bard College at Simon's Rock, 2024
Synthesis Toolkit
Fundamentals of Computer Systems
Head TA, Columbia University, 2025
Study Guides
Embedded Systems
TA, Columbia University, 2026
Supervised projects:
Digital Integrated Circuit Design
TA, Carnegie Mellon University, 2026
