2015-04-16 07:49:46 -04:00
|
|
|
MSCDIR = ../../../../
|
2014-11-03 12:11:14 -05:00
|
|
|
PYTHON = python3
|
|
|
|
|
2015-04-16 07:49:46 -04:00
|
|
|
CMD = PYTHONPATH=$(PYTHONPATH):$(MSCDIR) $(PYTHON)
|
2014-11-03 12:11:14 -05:00
|
|
|
|
|
|
|
CC=gcc
|
|
|
|
CFLAGS =-Wall -O0
|
|
|
|
|
2014-12-19 10:48:22 -05:00
|
|
|
phy_datapath_tb:
|
|
|
|
$(CMD) phy_datapath_tb.py
|
|
|
|
|
2014-11-03 12:11:14 -05:00
|
|
|
crc_tb:
|
|
|
|
$(CC) $(CFLAGS) $(INC) -o crc crc.c
|
2014-11-03 12:54:41 -05:00
|
|
|
$(CMD) crc_tb.py
|
2014-11-03 12:11:14 -05:00
|
|
|
|
2015-06-25 19:16:35 -04:00
|
|
|
scrambler_tb: scrambler
|
2014-11-04 05:40:43 -05:00
|
|
|
$(CMD) scrambler_tb.py
|
2014-11-03 12:11:14 -05:00
|
|
|
|
2014-12-19 05:15:01 -05:00
|
|
|
cont_tb:
|
|
|
|
$(CMD) cont_tb.py
|
|
|
|
|
2014-11-11 12:47:34 -05:00
|
|
|
link_tb:
|
|
|
|
$(CMD) link_tb.py
|
|
|
|
|
2014-12-12 16:26:04 -05:00
|
|
|
command_tb:
|
|
|
|
$(CMD) command_tb.py
|
|
|
|
|
2015-06-25 19:16:35 -04:00
|
|
|
bist_tb: scrambler
|
2014-12-15 10:44:12 -05:00
|
|
|
$(CMD) bist_tb.py
|
|
|
|
|
2015-05-23 08:12:20 -04:00
|
|
|
striping_tb:
|
|
|
|
$(CMD) striping_tb.py
|
|
|
|
|
2015-05-25 08:03:14 -04:00
|
|
|
mirroring_tb:
|
|
|
|
$(CMD) mirroring_tb.py
|
|
|
|
|
2015-06-25 19:16:35 -04:00
|
|
|
scrambler: scrambler.c
|
|
|
|
$(CC) $(CFLAGS) $(INC) -o $@ $<
|
|
|
|
|
2014-11-03 12:11:14 -05:00
|
|
|
clean:
|
2015-06-25 19:16:35 -04:00
|
|
|
rm -f crc scrambler *.vcd
|