-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (20 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
22
23
24
25
26
27
28
all: clean pmSwitch_request pmSwitch_ack pmSwitch_ack_gen pmSwitch_cache_request pmSwitch_cache_response_gen export_ip
pmSwitch_request: pmSwitch_request.p4
p4c-sdnet [email protected] -o [email protected] --toplevel_name $@
sdnet [email protected] -busType axi -workDir $@ -lineClock 300 -busWidth 64
pmSwitch_ack: pmSwitch_ack.p4
p4c-sdnet [email protected] -o [email protected] --toplevel_name $@
sdnet [email protected] -busType axi -workDir $@ -lineClock 300 -busWidth 64
pmSwitch_ack_gen: pmSwitch_ack_gen.p4
p4c-sdnet [email protected] -o [email protected] --toplevel_name $@
sdnet [email protected] -busType axi -workDir $@ -lineClock 300 -busWidth 64
pmSwitch_cache_request: pmSwitch_cache_request.p4
p4c-sdnet [email protected] -o [email protected] --toplevel_name $@
sdnet [email protected] -busType axi -workDir $@ -lineClock 300 -busWidth 64
pmSwitch_cache_response_gen: pmSwitch_cache_response_gen.p4
p4c-sdnet [email protected] -o [email protected] --toplevel_name $@
sdnet [email protected] -busType axi -workDir $@ -lineClock 300 -busWidth 64
export_ip:
./export_ip.sh
clean:
-rm -r *.sdnet pmSwitch_request pmSwitch_ack pmSwitch_ack_gen pmSwitch_cache_gen pmSwitch_cache_request pmSwitch_cache_response_gen