Hi <@U017X0NM2E7> , is there any I can run the `XO...
# sky130
p
Hi @Mitch Bailey , is there any I can run the
XOR_CHECK
which is done in
precheck
directly? As I'm getting errors there but it takes around 3 hours of runtime for checking it.
d
p
I tried running it but i'm confused as in where should i run the code commands in? should i make changes in makefile or how should i do it? Can @Dinesh A elaborate on this please.
d
First set these variable to based on your project area and where you configured PDK and Where Pre-checker installed export PROJ_ROOT=<your project_root> export PDK_ROOT=<your pdk_path> export PRECHECK_ROOT=<your precheck installed path> Then you can run the below command is any place or under your project root docker run -e PROJ_ROOT=$PROJ_ROOT -e PDK_ROOT=$PDK_ROOT -e PRECHECK_ROOT:$PRECHECK_ROOT -v $PRECHECK_ROOT:$PRECHECK_ROOT -v $PROJ_ROOT:$PROJ_ROOT -v $PDK_ROOT:$PDK_ROOT -u 1000:1002 efabless/mpw_precheck:latest bash -c "cd $PRECHECK_ROOT ; python3 mpw_precheck.py --pdk_root $PDK_ROOT --input_directory $PROJ_ROOT consistency" Result/Report will be stored under your project root , Under folder <precheck_results> <..>
One More option is Edit you Make file and append the pre-checker stage say "c*onsistency"* From: run-precheck: check-pdk check-precheck $(eval INPUT_DIRECTORY := $(shell pwd)) cd $(PRECHECK_ROOT) && \ docker run -v $(PRECHECK_ROOT):$(PRECHECK_ROOT) -v $(INPUT_DIRECTORY):$(INPUT_DIRECTORY) -v $(PDK_ROOT):$(PDK_ROOT) -e INPUT_DIRECTORY=$(INPUT_DIRECTORY) -e PDK_ROOT=$(PDK_ROOT) \ -u $(shell id -u $(USER)):$(shell id -g $(USER)) efabless/mpw_precheck:latest bash -c "cd $(PRECHECK_ROOT) ; python3 mpw_precheck.py --input_directory $(INPUT_DIRECTORY) --pdk_root $(PDK_ROOT)" To: run-precheck: check-pdk check-precheck $(eval INPUT_DIRECTORY := $(shell pwd)) cd $(PRECHECK_ROOT) && \ docker run -v $(PRECHECK_ROOT):$(PRECHECK_ROOT) -v $(INPUT_DIRECTORY):$(INPUT_DIRECTORY) -v $(PDK_ROOT):$(PDK_ROOT) -e INPUT_DIRECTORY=$(INPUT_DIRECTORY) -e PDK_ROOT=$(PDK_ROOT) \ -u $(shell id -u $(USER)):$(shell id -g $(USER)) efabless/mpw_precheck:latest bash -c "cd $(PRECHECK_ROOT) ; python3 mpw_precheck.py --input_directory $(INPUT_DIRECTORY) --pdk_root $(PDK_ROOT) *consistency*" You can replace the "consistency" task with one of pre-checker stage consistency documentation klayout_beol klayout_feol klayout_met_min_ca_density klayout_offgrid klayout_pin_label_purposes_overlapping_drawing klayout_zeroarea license magic_drc makefile manifest xor
p
Great that will help. Thanks