You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Edward Arthur Bingham d2da9e3ccb Merge branch 'develop' of broccolimicro.io:Broccoli/broccoli-cli into develop 1 month ago
home adding openroad, and using multi-stage builds to reduce image size 5 months ago
.drone.yml cleaning up useability, adding a few more tools 2 years ago
.gitignore gitignore .bcli-local-tar 1 year ago
Dockerfile updating prspice to fix include 5 months ago
LICENSE adding gpl 4 months ago
Makefile updating prspice to fix include 5 months ago
README.md adding line breaks 12 months ago
VERSION fixing up linkage, removing unused trilinos reconfigure script 1 year ago
bcli-develop.sh fixing issue where sudo can't find bcli-$USER 12 months ago

README.md

Broccoli Development Environment

The following tools are available:
go - architectural and behavioral simulation
haystack - formal synthesis of self-timed circuits
act - circuit design and digital simulation
prspice - configure digital/analog circuit co-simulation
Xyce - analog circuit simulation
gaw - analog waveform viewer
magic - circuit layout

Semiconductor PDKs are in /opt/cad/conf
Packages may be installed with 'sudo apt install '
Other usages of sudo are disabled

Setup

Download the Skywater 130nm PDK and configuration files, and extract them to your home directory:

wget https://broccoli-hosting.s3.us-east-2.amazonaws.com/sky130.tar.gz
mkdir ~/tech; tar -xzvf sky130.tar.gz -C ~/tech

Pull the docker image for the broccoli command line interface, and configure it.

docker pull public.ecr.aws/l5h5o6z4/broccoli-cli:latest
git clone https://git.broccolimicro.io/Broccoli/broccoli-cli.git
source broccoli-cli/bcli-develop.sh
export BCLI_TECH="$HOME/tech"

Runtime

Boot up the development environment in docker

bcli up

Open up a shell inside the development environment. Here you will have access to all of the necessary tools.

bcli

Your home directory will be mounted at

/host

Many of the installed tools may be found at

/opt

Finally, vim is fully set up for both golang and act.

vim file.act

When you are done, you can shut down the development environment.

bcli down

Troubleshooting

There are multiple versions of docker, the one that seems to work best for this is docker.io. docker-ce seems to have trouble writing files in the container.

sudo apt install docker.io

If graphical tools (such as magic and gaw) fail to launch, you may need to install xhost on your local machine, and grant docker permission to access your X server.

xhost +local:docker