Justin JU
查看巨嘉兴的标识原图:两片交叠的黑白线纹和一笔朱红

香港城市大学 · CALAS · MPhilCity University of Hong Kong · CALAS · MPhil

巨嘉兴 Jiaxing JuJiaxing Ju 巨嘉兴

我研究 RISC-V 上的 AI 推理,关注片上存储与数据搬运。I study AI inference on RISC-V, focusing on on-chip memory and data movement.

看两步解码实验Explore the decode experiment

什么值得留在片上?What should stay on chip?

我在 RISC-V 加速器上测量两步推理之间搬运状态的代价。I measure the cost of moving state between decode steps on a RISC-V accelerator.

读实验记录Read the experiment
两步解码的状态路径Two decode steps, two state paths Gemmini · 240 B 合成状态 · 两步 RTL 仿真Gemmini · 240 B synthetic state · two-step RTL simulation
总执行周期Total cycles
逐步回写Write back719
片上驻留Keep on chip552

两次运行输出相同,片上驻留少用 167 个周期。Both runs produced the same output. Keeping state on chip saved 167 cycles.

选择状态路径Choose a state path

状态留在片上,第二步直接复用。The second step reuses the state on chip. 第一步写回主机内存,第二步重新读入。Step one writes the state to host memory. Step two reads it back.

让 RISC-V 协处理器认出手写数字Reading handwritten digits with a RISC-V coprocessor

我把 4×4 INT8 乘加阵列接入蜂鸟 E203 处理器。调试时,我发现 NICE 指令的向量索引 0 可能被当成零寄存器。修改译码和软件宏后,我在 Artix-7 板上逐张核对 LeNet-5 的输出。I connected a 4×4 INT8 multiply–accumulate array to the Hummingbird E203. Its decoder could mistake NICE vector index zero for the zero register. After updating the decoder and software macros, I checked LeNet-5’s predictions on an Artix-7 FPGA.

查看译码修复与验证记录Read the decoder fix and verification notes
板上的十次预测Ten predictions on the board LeNet-5 v8 · A7-100T
7, 2, 1, 0, 4, 1, 4, 9, 5, 9

固件按编号 0–9 依次输入这十张 MNIST 图像。串口记录里的十项预测均与标签一致。The firmware runs these ten MNIST images in order, from index 0 to 9. All ten predictions in the serial log match their labels.

展开逐张预测Inspect each prediction
板测串口记录 · MNIST 输入 0–9Serial log · MNIST inputs 0–9
图像编号Image index板上预测Prediction预期类别Expected class
077
122
211
300
444
511
644
799
855
999

软件作品Software

全部工程作品All engineering projects

哪些模型用掉了这个月的 token?Which models used this month’s tokens?

订阅面板给出当前额度,我想再看清每周、每月的用量变化,也想知道本机的 Codex 记录能否对上。A subscription dashboard tells me how much quota is left. I wanted to see how usage changed week to week and check the totals against local Codex records.

我在 rygel 的 AIUsageTracker v2.4.6 上做了 Windows 面板,把额度采样存进 SQLite,并加入离线对账。首个 x64 版本于 2026 年 12 月 2 日发布。I built a Windows panel on rygel’s AIUsageTracker v2.4.6, archived quota readings in SQLite and added offline reconciliation. I released the first x64 package on 2 December 2026.

AIUsageTracker Desktop · Windows x64 · v0.1.0

AIUsageTracker Windows 面板,上方是订阅额度,下方是用量趋势和分模型明细
Windows 桌面面板,图中为合成演示数据。The Windows dashboard, shown with synthetic usage data. 查看原图Full-size image

把散落的智能体放到一张看板上A single board for scattered agents

智能体和技能分散在不同目录里。配置多了,我很难记清一个智能体用到哪些技能。My agents and skills live in different folders. As the collection grew, it got harder to remember which skills each agent used.

我让 AIHome 从本机读取 AGENTS.md 和 SKILL.md,把配置做成能拖动的卡片,再用关系图显示依赖。v0.1.1 的发布记录列出 96 项 Chromium 端到端测试。I built AIHome to read local AGENTS.md and SKILL.md files, turn them into draggable cards and map their dependencies. The v0.1.1 release records 96 Chromium end-to-end tests.

AIHome · 本地看板 · v0.1.1AIHome · Local workspace · v0.1.1

AIHome 看板,三列分组中有四张智能体和技能卡片
本地智能体与技能的卡片分组。Agents and skills grouped on the local board. 查看原图Full-size image

「午餐花了 35」,确认就能入账A lunch expense in one sentence

我想随手写一句话记账,也想让旧账单导进来以后能和新记录一起查。I wanted to jot down an expense in a sentence and search it alongside entries imported from older bills.

我在 MoneyNote 里用本地规则识别金额和类别,确认后写入账本。导入时会检查重复记录。v1.7.0 加入按索引筛选和月度对比,可以回看上月和去年同月。I built local rules to extract an amount and category, then wait for confirmation before saving. Imports check for duplicates. In v1.7.0 I added indexed filters and comparisons with last month and the same month a year earlier.

MoneyNote · 本地账本 · v1.7.0MoneyNote · Local ledger · v1.7.0

MoneyNote 首页,含自然语言录入和午餐、交通两笔支出
在本机录入日常支出。Entering everyday expenses on the device. 查看原图Full-size image

把一句安排写进日历From a sentence to a calendar entry

临时约定常常只有一句话。我想把它放进日历,马上知道时间有没有冲突。A last-minute plan often arrives as a single sentence. I wanted to put it on my calendar and see whether it clashed with anything else.

我做的日规在本机保存日程,检查时间冲突,可以导出 ICS。接入自选 AI 服务后可以用自然语言添加安排。v1.7.0 加入离线支持,已载入的日历也能断网查看。I built Rigui to keep events on the device, check for overlaps and export ICS files. Connecting an AI provider enables natural-language entry. In v1.7.0 I added offline access to the loaded calendar.

日规 Rigui · 日程应用 · v1.7.0Rigui · Calendar app · v1.7.0

日规手机月历,可切换月份或添加日程
日规在手机上的月历视图。Rigui’s month view on a phone. 查看原图Full-size image

经历与写作Background & writing

从华工微电子到 CALASFrom SCUT to CALAS

我在华南理工大学读微电子科学与工程,和同学做过机器人,也带队开发了用 ESP32 和 4G 远程控制设备的物联网系统。2026 年 9 月,我加入香港城市大学 CALAS,在 Ray C. C. Cheung 教授指导下研究 RISC-V 加速器。I studied microelectronics at South China University of Technology, where I built a robot with classmates and led an IoT project that used an ESP32 to control devices over 4G. In September 2026, I joined CALAS at City University of Hong Kong to study RISC-V accelerators with Prof. Ray C. C. Cheung.

社会实践Fieldwork

带着相机去海丰With a camera in Haifeng

我随「青春汕尾行」实践团拍摄,回来后整理照片。团队获评广东省优秀团队,我也获得华工暑期社会实践先进个人表彰。I photographed our student fieldwork in Haifeng and edited the images afterwards. Guangdong recognised our team, and SCUT gave me an individual award for summer community service.

书院文章Essay

从一座充电桩,看微电子能做什么What goes into a charging station?

给铭诚书院写新能源转型观后感时,我选了充电桩这个身边的例子,想了解里面的器件怎样承受高电压,又怎样根据电网负荷调节功率。In an essay for Mingcheng College, I looked at the energy transition through a charging station. How do its components handle high voltages and adjust power as grid demand changes?