-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
21 lines (18 loc) · 1.07 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CARAVEL_ROOT?=/home/cse-p07-2179-gaa/work/Caravel_Chameleon_SoC
migrate:
# Verilog Views
mkdir -p $(CARAVEL_ROOT)/verilog/rtl/user_project
mkdir -p $(CARAVEL_ROOT)/verilog/gl/user_project
yes | cp -a -rf verilog/gl $(CARAVEL_ROOT)/verilog/gl/user_project
yes | cp -a verilog/gl/user_project_wrapper.v $(CARAVEL_ROOT)/verilog/gl/user_project_wrapper.v
yes | cp -a verilog/rtl/user_project_wrapper.v $(CARAVEL_ROOT)/verilog/rtl/user_project_wrapper.v
yes | cp -r verilog/rtl/*.v $(CARAVEL_ROOT)/verilog/rtl/user_project
yes | cp -r verilog/rtl/IPs $(CARAVEL_ROOT)/verilog/rtl/user_project
yes | cp -r verilog/rtl/acc $(CARAVEL_ROOT)/verilog/rtl/user_project
yes | cp -r verilog/rtl/AHB_sys_0 $(CARAVEL_ROOT)/verilog/rtl/user_project
yes | cp -r verilog/rtl/ibex $(CARAVEL_ROOT)/verilog/rtl/user_project
# Physical views
yes | cp -a def/user_project_wrapper.def $(CARAVEL_ROOT)/def/
yes | cp -a lef/user_project_wrapper.lef $(CARAVEL_ROOT)/lef/
yes | cp -a mag/user_project_wrapper.mag $(CARAVEL_ROOT)/mag/
yes | cp -a -rf gds/user_project_wrapper.gds $(CARAVEL_ROOT)/gds/