Installation
Less than 1 minute
Method 1: Docker Build (Recommended)
Docker provides a containerized environment with all dependencies pre-configured.
Prerequisites
- Docker installed on your system
- At least 8GB of available disk space
Build Steps
Clone the repository with submodules:
git clone <repository-url> cd aieda_fork git submodule update --init --recursive
Build the Docker image:
# Use the provided build script ./build_docker.sh # Or build manually docker build -f Dockerfile.base -t aieda:base . docker build -f Dockerfile.final -t aieda:latest .
Run the container:
docker run --rm -it aieda:latest
Test the installation:
docker run --rm aieda:latest python3 test/test_sky130_gcd.py
For detailed Docker instructions, refer to the build script and configuration files in the repository.
Method 2: UV Build (Development)
UV provides a fast Python package manager for local development.
Prerequisites
- Python 3.10 or higher
- UV package manager
- iEDA dependencies (C++ compiler, CMake, etc.)
Build Steps
Install UV:
pip install uv
Verify UV installation:
uv --version
Create and activate virtual environment:
uv venv source .venv/bin/activate
Install dependencies:
uv run python -m build
Build aieda package:
uv build
Install aieda:
uv pip install dist/aieda-0.1.0-py3-none-any.whl
Test the installation:
uv run python test/test_sky130_gcd.py
iEDA Compilation (Required for UV build)
Before using AiEDA with UV, you need to compile the iEDA backend:
Compile iEDA:
mkdir build
cd build
cmake ..
make -j32 ieda_py