

Pcb reset buffer
Simulink models for Digital Sideband Separation on RFSoC 4x2
- Size
- 61.5 × 47.5 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 13
- Nets
- 35
- Pads
- 65
- Tracks, vias
- 43, 4
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 26 Sep 2024
- Updated
- 31 Jul 2025
Overview
Pcb reset buffer is an open-source printed circuit board by millimeter-wave-lab, from the millimeter-wave-lab/RFSoC-MINI-2SB-Receiver repository on GitHub. It is a 2-layer board of 61.5 × 47.5 mm with 13 parts on 35 nets, routed with 43 tracks and 4 vias.
It is built around the SN74HC125N. Its parts include 5 resistors, 2 connectors, 1 capacitor and 1 IC.
Main components
1README
README.mdRFSoC MINI 2SB Receiver
This repository contains Simulink models for (Ideal) Digital Sideband Separation on RFSoC 4x2 for Southern Millimeter Wave Telescope (or Southern Mini). Python and C++ scripts for initialization, control, and data analysis are included.
Simulink Models
The 64_bits_models/ and 32_bits_models/ folder contains Simulink designs for FPGA programming. Each model is built using Xilinx System Generator for DSP and targets FPGA boards such as the Zynq UltraScale+ RFSoC. To design the spectrometers, CASPER toolflow must be installed.
64 bits models (Experimental Only)
Three 64-bits models were designed and used in laboratory for test ideal sideband separation. These models have a 1.96608 GHz bandwidth and 64-bit BRAMs, and are available for the next spectral resolutions:
- 2048 channels
- 8192 channels
- 16384 channels
32 bits models
Due to the 32-bit limitation of the radiotelescope microcontroller (PIC32), this repository includes spectrometer models with 32-bit BRAMs. These models are available for different spectral resolutions:
- 8192 channels
- 16384 channels
- 32768 channels
- 65536 channels (implemented in two separate models due to resource limitations.)
Each model includes:
- 32-bit BRAM blocks for data acquisition, named
synth0_iandsynth1_ifor the high-resolution spectrometer, andre_bin_synth0_iandre_bin_synth1_ifor the parallel 512-channel spectrometer. - Reset accumulation control.
- Bits re-quantization blocks.
Note: For the 65536-channel models, the User IP Clock Rate in the RFSoC 4x2 Simulink block was set to 122.88 MHz. This setting is required to match the Required AXI4-Stream Clock Rate of the RFDC block; otherwise, the model will fail to compile.
Python Scripts
This repository includes Python scripts for initializing the RFSoC, configuring registers, capturing data, and performing post-processing (e.g., plotting spectra, calculate SRR, etc.).
| File | Description |
|---|---|
anim_dss_spectrum_1966mhz.py | Plots the spectrum in real time for a 1.96608 GHz bandwidth. Usage: python anim_dss_spectrum_1966mhz.py <HOSTNAME_or_IP> <Nfft Size> <Data Output Width> |
anim_dss_spectrum_65536ch_1966mhz.py | Plots the spectrum in real time for 65536-channel models, selects first or second half of the spectrum via part argument. Usage: python anim_dss_spectrum_65536ch_1966mhz.py <HOSTNAME_or_IP> <Nfft Size> <Data Output Width> <part> (where part = 1 or 2) |
sweep_srr_plot_1966mhz.py | Performs a sweep across the full bandwidth and computes the Sideband Rejection Ratio (SRR). Usage: python sweep_srr_plot_1966mhz.py <HOSTNAME_or_IP> <Nfft Size> <RF Instrument IP address> <Data Output Width> |
sweep_srr_plot_65536ch_1966mhz.py | Sweeps a portion of the bandwidth and calculates the Sideband Rejection Ratio (SRR) for 65536-channel models. The script selects either the first or second half of the spectrum using the part argument. Usage: python sweep_srr_plot_65536ch_1966mhz.py <HOSTNAME_or_IP> <Nfft Size> <RF Instrument IP address> <Data Output Width> <part> (where part = 1 or 2) |
sweep_ph_plot_1966mhz.py | Sweeps across the full bandwidth and calculates phase difference between I and Q outputs. Only works for 64-bits models. Usage: python sweep_ph_plot_1966mhz.py <HOSTNAME_or_IP> <Nfft Size> <RF instrument IP address> <Data Output Width> |
plot_srr_ph_diff.py | Plots SRR or phase difference from a CSV file. Usage: python plot_srr_ph_diff.py |
plot_srr_65536ch.py | Plots SRR for 65536-channels spectrometer models. Reads two CSV files corresponding to first and second part of the bandwidth. Usage: python plot_srr_65536ch.py |
test_spec_cnt.py | Tests the accumulation counter. Usage: python test_spec_cnt.py |
Mini Implementation
This section includes Python and C++ scripts used for communication testing and deployment of the RFSoC-based spectrometer system at the Southern Millimeter Wave Telescope (Mini).
Python Scripts
| File | Description |
|---|---|
rfsoc4x2_spec_ini.py | Initializes and programs the RFSoC with the selected spectrometer model. Usage: python rfsoc4x2_spec_ini.py |
cpp_interface.py | Python interface that repeatedly requests spectra via the C++ client and measures the response time. Results are logged to a .csv file. Usage: python cpp_interface.py |
plot.py | Plots delays recorded during spectrum acquisition requests. Usage: python plot.py |
rfsoc_mini_client.py | Python client script used in the Mini radiotelescope Data Server. Requests spectra and transmits them to the PIC32 microcontroller. Usage: python rfsoc_mini_client.py |
C++ Scripts
| File | Description |
|---|---|
rfsoc_<n_ch>ch_<mode>_server.cpp | C++ server that runs on the RFSoC. It waits for incoming client connections and sends spectrum data. Located in the rfsoc_server folder. Parameters: - n_ch: number of channels, valid values are 8192, 16384, or 32768.- mode: operation mode, either cal (calibrated) or ideal (ideal model). |
cpp_socket.cpp | C++ client that connects to the RFSoC server and requests spectrum data. It is compiled as a Python extension using pybind11, enabling integration with Python scripts. |
Execution Flow
Below is the standard sequence to run the RFSoC spectrometer system:
-
Program the RFSoC with the spectrometer bitstream
Load the selected spectrometer model onto the RFSoC using the initialization script:bash python rfsoc4x2_spec_ini.py -
Start the RFSoC Server
Connect to the RFSoC via SSH:bash ssh casper@<rfsoc-ip>Then, compile and run the server. The following example uses the 8192-channel server for the ideal model:
bash g++ rfsoc_8192ch_ideal_server.cpp -o rfsoc_8192ch_ideal_server sudo ./rfsoc_8192ch_ideal_serverNote: For 65536-channel models, use the
32768-channel server. The bitstreamdss_ideal1_65536ch_32bits_reset_1966mhz_cx.fpgobserves the first 32768 channels of the bandwidth, whiledss_ideal2_65536ch_32bits_reset_1966mhz_cx.fpgobserves the second 32768 channels. -
Compile the C++ Socket Client
On the control computer, compile:bash c++ -O3 -Wall -shared -std=c++11 -fPIC `python3 -m pybind11 --includes` cpp_socket.cpp -o cpp_socket`python3-config --extension-suffix` -
Run the Python Interface
Choose one of the following scripts depending on the use case:-
Laboratory testing interface – This script repeatedly requests spectra via the C++ client and measures the response time. It logs the delays in a
.csvfile for later analysis.bash python cpp_interface.py -
Mini telescope deployment interface – This script runs on the Data Server located at the Mini telescope site. It requests spectra from the RFSoC and sends them directly to the PIC32 microcontroller, without logging timing information.
bash python rfsoc_mini_client.py
-
Parts
13| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R2, R3, R4, R5 |
| 1 | C_Small | Capacitor_THT:C_Disc_D3.0mm_W2.0mm_P2.50mm | C1 |
| 1 | Conn_02x15_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x15_P2.54mm_Vertical | J2 |
| 1 | Conn_Coaxial | Connector_Coaxial:SMA_Samtec_SMA-J-P-H-ST-EM1_EdgeMount | J1 |
| 1 | SN74HC125N | SN74HC125N:DIP794W53P254L1930H508Q14N | IC1 |
The 9 most common of 13 parts.
Similar boards
- 2 layers127 × 101.6 mm

- 2 layers150 × 140 mm

Trueskate main v1
AsherNoble/trueskate-ai-hardware
Hand-control layer for TrueSkate-AI: the agent sends touch gestures, a robotic finger performs them. Teensy 4.1 + SimpleFOC firmware, Python host.
65 parts1MIT - 2 layers48.1 × 77.7 mm

- 2 layers53.3 × 101.6 mm

- 2 layers40 × 20 mm

- 2 layers74.9 × 49.5 mm

- 2 layers35 × 29 mm

MagSpoofTC
samyk/magspoof
A portable device that can spoof/emulate any magnetic stripe, credit card or hotel card "wirelessly", even on standard magstripe (non-NFC/RFID) readers.
13 parts4.2k - 2 layers20.6 × 23.6 mm

AO-03 signal amplifier
fossasia/pslab-scripts
Pocket Science Lab - Scripts for Sensor Experiments
13 parts1.6kApache-2.0
Questions
How big is the Pcb reset buffer PCB?
It measures 61.5 × 47.5 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Pcb reset buffer use?
13 parts, built around the SN74HC125N. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Pcb reset buffer KiCad files?
From the millimeter-wave-lab/RFSoC-MINI-2SB-Receiver repository on GitHub, at the commit this page was made from: the board is pcb_reset/pcb_reset_buffer.kicad_pcb and its schematic pcb_reset/pcb_reset_buffer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Pcb reset buffer design in my own project?
Its repository states no licence, so its author keeps all rights: ask millimeter-wave-lab before reusing the design.