Skip to content

Commit

Permalink
Update caravel-lite references
Browse files Browse the repository at this point in the history
  • Loading branch information
Manarabdelaty committed Apr 20, 2021
1 parent 32b6e9f commit e542bdf
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 250 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/build/run-xor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# SPDX-License-Identifier: Apache-2.0

export UPRJ_ROOT=$(pwd)
export CARAVEL_ROOT=$(pwd)/caravel-lite
export CARAVEL_ROOT=$(pwd)/caravel
cd ..
export PDK_ROOT=$(pwd)/pdks
export IMAGE_NAME=efabless/openlane:$OPENLANE_TAG
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/dv/run-dv-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SIM_MODE=$2
DV_TEST_IDS=(${IDS//,/ })

export TARGET_PATH=$(pwd)
export CARAVEL_ROOT=$(pwd)/caravel-lite
export CARAVEL_ROOT=$(pwd)/caravel

if [ ! -d $TARGET_PATH ]
then
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/precheck/run-precheck-drc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0
export TARGET_PATH=$(pwd)
export CARAVEL_ROOT=$(pwd)/caravel-lite
export CARAVEL_ROOT=$(pwd)/caravel
cd ..
export PDK_ROOT=$(pwd)/precheck_pdks
cd $TARGET_PATH/open_mpw_precheck/
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/precheck/run-precheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0
export TARGET_PATH=$(pwd)
export CARAVEL_ROOT=$(pwd)/caravel-lite
export CARAVEL_ROOT=$(pwd)/caravel
cd ..
export PDK_ROOT=$(pwd)/precheck_pdks
cd $TARGET_PATH/open_mpw_precheck/
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,12 @@ endif
# Create symbolic links to caravel's main files
.PHONY: simlink
simlink: check-caravel
@ln -f $(CARAVEL_ROOT)/openlane/Makefile openlane/Makefile
@ln -f $(CARAVEL_ROOT)/openlane/user_project_wrapper_empty/pin_order.cfg openlane/user_project_wrapper/pin_order.cfg
mkdir -p openlane
mkdir -p openlane/user_project_wrapper
cd openlane &&\
ln -sf ../$(CARAVEL_ROOT)/openlane/Makefile Makefile
cd openlane/user_project_wrapper &&\
ln -sf ../../$(CARAVEL_ROOT)/openlane/user_project_wrapper_empty/pin_order.cfg pin_order.cfg

# Update Caravel
.PHONY: update_caravel
Expand Down
85 changes: 0 additions & 85 deletions openlane/Makefile

This file was deleted.

1 change: 1 addition & 0 deletions openlane/Makefile
2 changes: 1 addition & 1 deletion openlane/user_proj_example/config.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set script_dir [file dirname [file normalize [info script]]]
set ::env(DESIGN_NAME) user_proj_example

set ::env(VERILOG_FILES) "\
$script_dir/../../caravel-lite/verilog/rtl/defines.v \
$script_dir/../../caravel/verilog/rtl/defines.v \
$script_dir/../../verilog/rtl/user_proj_example.v"

set ::env(CLOCK_PORT) ""
Expand Down
2 changes: 1 addition & 1 deletion openlane/user_project_wrapper/config.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set ::env(DESIGN_NAME) user_project_wrapper

## Source Verilog Files
set ::env(VERILOG_FILES) "\
$script_dir/../../caravel-lite/verilog/rtl/defines.v \
$script_dir/../../caravel/verilog/rtl/defines.v \
$script_dir/../../verilog/rtl/user_project_wrapper.v"

## Clock configurations
Expand Down
157 changes: 0 additions & 157 deletions openlane/user_project_wrapper/pin_order.cfg

This file was deleted.

1 change: 1 addition & 0 deletions openlane/user_project_wrapper/pin_order.cfg

0 comments on commit e542bdf

Please sign in to comment.