AnalogCoder
[AAAI 2025 Oral] AnalogCoder: Analog Circuit Design via Training-Free Code Generation
File Explorer
- Adder.py
- Amplifier.py
- CurrentMirror.py
- Differentiator.py
- Integrator.py
- Inverter.py
- Opamp.py
- Oscillator.py
- PLL.py
- Schmitt.py
- Subtractor.py
- VCO.py
- cp_and_lf.png
- divider.png
- opamp.png
- pfd.png
- RingVCO.png
- __init__.py
- charge_pump.py
- dff.py
- diffop.py
- divider.py
- logic_gates.py
- loop_filter.py
- opamp.py
- pfd.py
- ring_vco.py
- p1.py
- p10.py
- p11.py
- p12.py
- p13.py
- p14.py
- p15.py
- p16.py
- p17.py
- p18.py
- p19.py
- p2.py
- p20.py
- p21.py
- p22.py
- p23.py
- p24.py
- p3.py
- p4.py
- p5.py
- p6.py
- p7.py
- p8.py
- p9.py
- p_lib.py
- test_all_sample_design.py
- p10_lib.py
- p11_lib.py
- p12_lib.py
- p13_lib.py
- p14_lib.py
- p15_lib.py
- p1_lib.py
- p2_lib.py
- p3_lib.py
- p4_lib.py
- p5_lib.py
- p6_lib.py
- p7_lib.py
- p8_lib.py
- p9_lib.py
- .gitignore
- AnalogCoder.png
- AnalogCoder_label.png
- environment.yml
- execution_error.md
- gpt_run.py
- hkummlab.png
- lib_info.tsv
- problem_set.tsv
- prompt_template.md
- prompt_template_complex.md
- README.md
- retrieval_prompt.md
- simulation_error.md
- teaser.png
- utda.jpg
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
conda activate
View Details ▼
conda activate
Activate a conda environment.
See also: `conda deactivate`.
conda activate myenv
Activate an existing environment named `myenv`:
conda activate {{path/to/myenv}}
Activate an existing environment located at custom path:
conda activate --stack myenv
Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible:
conda create
View Details ▼
conda create
Create new conda environments.
conda create {{[-y|--yes]}} {{[-n|--name]}} py39 python=3.9 "numpy>=1.11" scipy
Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations:
conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}
Create a new environment named `myenv` and install packages listed in files:
conda create {{[-p|--prefix]}} {{path/to/myenv}}
Create a new environment at a custom path (i.e. prefix):
conda env
View Details ▼
conda env
Manage conda environments.
conda env create {{[-f|--file]}} {{path/to/file}}
Create an environment from an environment file (YAML, TXT, etc.):
conda env remove {{[-n|--name]}} {{environment_name}}
Delete an environment and everything in it:
conda env update {{[-f|--file]}} {{path/to/file}} --prune
Update an environment based on an environment file:
conda install
View Details ▼
conda install
Install packages into an existing conda environment.
conda install {{package1 package2 ...}}
Install one or more package into the currently active conda environment:
conda install {{[-c|--channel]}} conda-forge {{package}}
Install a single package into the currently active conda environment using channel conda-forge:
conda install {{[-c|--channel]}} conda-forge --override-channels {{package}}
Install a single package into the currently active conda environment using channel conda-forge and ignoring other channels:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
nohup
View Details ▼
nohup
Allows for a process to live when the terminal gets killed.
nohup {{command}} {{argument1 argument2 ...}}
Run a process that can live beyond the terminal:
nohup {{command}} {{argument1 argument2 ...}} &
Launch `nohup` in background mode:
nohup {{path/to/script.sh}} &
Run a shell script that can live beyond the terminal:
ollama
View Details ▼
ollama
A large language model runner.
For a list of available models, see <https://ollama.com/library>.
ollama serve
Start the daemon required to run other commands:
ollama run {{model}}
Run a model and chat with it (will automatically download the model if it's not downloaded):
ollama run {{model}} --think=false "{{prompt}}"
Run a model with a single prompt and thinking turned off:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
python
View Details ▼
python
Python language interpreter.
python
Start a REPL (interactive shell):
python {{path/to/file.py}}
Execute a specific Python file:
python -i {{path/to/file.py}}
Execute a specific Python file and start a REPL:
apt-get
View Details ▼
apt-get
Debian and Ubuntu package management utility.
Search for packages using `apt-cache`.
It is recommended to use `apt` when used interactively in Ubuntu versions 16.04 and later.
sudo apt-get update
Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands):
sudo apt-get install {{package}}
Install a package, or update it to the latest available version:
sudo apt-get remove {{package}}
Remove a package:
