blob: a4be0f03b11b73427c571a966f3828f06f5fcd88 [file] [log] [blame]
# SPDX-FileCopyrightText: Copyright 2020 Jecel Mattos de Assumpcao Jr
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
.PHONY: init_block_flat
init_block_flat:
@echo
@echo " clearing user_projec_example"
@echo
rm -fR ../openlane/user_proj_example/*
@echo
@echo " overwritting user_proj_example with 16x16 block"
@echo
cp config_block.tcl ../openlane/user_proj_example/config.tcl
cp pin_order.cfg ../openlane/user_proj_example/pin_order.cfg
.PHONY: init_block_cells
init_block_cells:
@echo
@echo " clearing user_projec_example"
@echo
rm -fR ../openlane/user_proj_example/*
@echo
@echo " overwritting user_proj_example with 16x16 block using black box cells"
@echo
cp config_block2.tcl ../openlane/user_proj_example/config.tcl
cp pdn.tcl ../openlane/user_proj_example/pdn.tcl
cp pin_order.cfg ../openlane/user_proj_example/pin_order.cfg
.PHONY: help
help:
@echo " available commands (do 'make <command>')"
@echo
@awk '/^.PHONY/{print " " $$2}' Makefile