blob: 51d77ccb07e17f74b7ee5b116b735937cc8e2f20 [file] [log] [blame]
Steve Kelly3ab5f032020-12-18 18:35:23 -05001#!/bin/bash
2# SPDX-FileCopyrightText: 2020 Efabless Corporation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15# SPDX-License-Identifier: Apache-2.0
16# To use: sh apply_caravel.sh <target_project_path> <template_caravel_path>
17git checkout mpw-one-b gds/
18git checkout mpw-one-b lef/
19git checkout mpw-one-b mag/
20git checkout mpw-one-b def/
21git checkout mpw-one-b maglef/
22git checkout mpw-one-b ngspice/
23git checkout mpw-one-b scripts/
24git checkout mpw-one-b spi/
25git checkout mpw-one-b utils/
26git checkout mpw-one-b verilog/stubs/
27git checkout mpw-one-b verilog/dv/wb_utests
28git checkout mpw-one-b verilog/dv/dummy_slave.v
29find verilog/rtl/* -type f ! -name "user_project_wrapper.v" ! -name "user_proj_example.v" ! -name "rapcores.v" -exec git checkout mpw-one-b {} \;
30find verilog/gl/* -type f ! -name "user_project_wrapper.v" ! -name "user_proj_example.v" ! -name "rapcores.v" -exec git checkout mpw-one-b {} \;