1 |
10 |
khatib |
#! /bin/tcsh -f
|
2 |
|
|
mkdir -p work
|
3 |
|
|
mkdir -p utility
|
4 |
|
|
mkdir -p hdlc
|
5 |
|
|
mkdir -p memLib
|
6 |
|
|
|
7 |
|
|
# Utility files
|
8 |
|
|
ncvhdl -work utility -cdslib ./cds.lib -logfile ncvhdl.log -errormax 15 -append_log -v93 -linedebug -messages -status ../code/tools_pkg.vhd
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
#memLib
|
12 |
|
|
ncvhdl -work memLib -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/spmem.vhd
|
13 |
|
|
|
14 |
|
|
ncvhdl -work memLib -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/mem_pkg.vhd
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
#HDLC files
|
19 |
|
|
ncvhdl -work hdlc -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/libs/PCK_CRC16_D8.vhd
|
20 |
|
|
|
21 |
|
|
ncvhdl -work hdlc -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/libs/hdlc_components_pkg.vhd
|
22 |
|
|
|
23 |
|
|
#Work files
|
24 |
|
|
#Rx
|
25 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TOP/core/RxFCS.vhd
|
26 |
|
|
|
27 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TOP/core/RxBuff.vhd
|
28 |
|
|
|
29 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/RX/core/Zero_detect.vhd
|
30 |
|
|
|
31 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/RX/core/flag_detect.vhd
|
32 |
|
|
|
33 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/RX/core/Rxcont.vhd
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/RX/core/RxChannel.vhd
|
37 |
|
|
|
38 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TOP/core/RxSync.vhd
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
#Tx
|
42 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TOP/core/TxFCS.vhd
|
43 |
|
|
|
44 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TOP/core/TxBuff.vhd
|
45 |
|
|
|
46 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TX/core/flag_ins.vhd
|
47 |
|
|
|
48 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TX/core/zero_ins.vhd
|
49 |
|
|
|
50 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TX/core/TXcont.vhd
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TX/core/TxChannel.vhd
|
54 |
|
|
|
55 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TOP/core/TxSync.vhd
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
#WB and host
|
60 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TOP/core/WB_IF.vhd
|
61 |
|
|
|
62 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TOP/core/hdlc.vhd
|
63 |
|
|
|
64 |
|
|
# Test bench
|
65 |
|
|
ncvhdl -work work -cdslib ./cds.lib -logfile ncvhdl.log -append_log -errormax 15 -update -v93 -linedebug -messages -status ../code/TOP/tb/hdlc_tb.vhd
|
66 |
|
|
|
67 |
|
|
#elaborating design
|
68 |
|
|
ncelab -work work -cdslib ./cds.lib -logfile ncelab.log -errormax 15 -messages -status -v93 work.hdlc_tb:hdlc_beh_tb
|