Skip to content

Instantly share code, notes, and snippets.

View 0xharry's full-sized avatar
🌏
Working from EARTH

Hao 0xharry

🌏
Working from EARTH
  • 23:04 (UTC +08:00)
View GitHub Profile

DDCArv

1 From Zero to One

Managing complexity

  • Abstraction (hidden unimportant parts)
  • Discipline (restrict design space, like digital discipline, using discrete voltages (binary) instead of continuous)
  • three Y:
    • hierarchy (recursively decompose into subsystems)
    • modularity (well-defined function and interface)
    • regularity (using interchangeable parts)
@0xharry
0xharry / Dockerfile
Created April 2, 2024 09:05
build iFlow
# syntax=docker/dockerfile:1
ARG BASE_IMAGE=ubuntu:20.04
FROM ${BASE_IMAGE}
LABEL maintainer="https://hub.docker.com/u/iedaopensource"
ARG IFLOW_WORKSPACE=/opt/iFlow
ADD https://gitee.com/oscc-project/iFlow.git ${IFLOW_WORKSPACE}
ENV TZ=Asia/Shanghai
@0xharry
0xharry / launch.json
Created March 29, 2024 03:08
iEDA debug json setting for VSCode
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "iEDA debug",
"type": "cppdbg",
"request": "launch",
@0xharry
0xharry / Dockerfile
Created February 27, 2024 14:24
ysyx (one student one chip) env
# syntax=docker/dockerfile:1.5-labs
#
# goals: make a portable ysyx environment for code compiling and testing
# principals: change made on system stays in container, change made on codes stays in host
#
# ADD repo
# 1. initialize env
# 2. ADD gitconfig
# 3. Modify STUID and STUNAME variables in ics2022/Makefile
#