Skip to content

Commit 7747054

Browse files
Add files via upload
1 parent fb576c6 commit 7747054

File tree

3 files changed

+66
-0
lines changed

3 files changed

+66
-0
lines changed

dv/huff/run/Makefile

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# *************************************************************************
2+
#
3+
# Copyright © Microsoft Corporation. All rights reserved.
4+
# Copyright © Broadcom Inc. All rights reserved.
5+
# Licensed under the MIT License.
6+
#
7+
# *************************************************************************
8+
9+
export RTL_ROOT := ${PWD}/../../../rtl
10+
11+
12+
COMMON_VCS_OPTS = +vcs+lic+wait -timescale=1ns/1ps -full64 -xlrm uniq_prior_final +lint=TFIPC-L
13+
OTHER_VCS_OPTS = -Mupdate -picarchive -error=SDFCOM_CNOF,SDFPE +plusarg_save -assert svaext
14+
15+
16+
17+
compile_rtl: huff.vlist
18+
vlogan -work LIB_TOP $(COMMON_VCS_OPTS) +v2k -sverilog -assert svaext -Xrawtokens -f huff.vlist -l vlogan.log
19+
vcs cr_huf_comp $(COMMON_VCS_OPTS) -l vcs.log -o simv ${OTHER_VCS_OPTS} +notimingcheck +error+10 -debug_access+all
20+
21+
22+
23+
clean:
24+
-/bin/rm -rf simv
25+
-/bin/rm -rf csrc
26+
-/bin/rm -r simv.daidir
27+
-/bin/rm -rf *.vdb
28+
-/bin/rm -rf *.log
29+
-/bin/rm -rf ucli.key vc_hdrs.h rawtokens*
30+
-/bin/rm -rf LIB_* 64

dv/huff/run/huff.vlist

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*************************************************************************
2+
*
3+
* Copyright © Microsoft Corporation. All rights reserved.
4+
* Copyright © Broadcom Inc. All rights reserved.
5+
* Licensed under the MIT License.
6+
*
7+
*************************************************************************/
8+
+define+ENA_BIMC+
9+
10+
+libext+.v
11+
+libext+.sv
12+
+incdir+$RTL_ROOT/common/include
13+
+incdir+$RTL_ROOT/common/nx_library
14+
+incdir+$RTL_ROOT/common/axi
15+
+incdir+$RTL_ROOT/cr_huf_comp
16+
+incdir+$RTL_ROOT/cr_xp10_decomp
17+
+incdir+$RTL_ROOT/mem_wrappers/bimc_master/top
18+
19+
-y $RTL_ROOT/common
20+
-y $RTL_ROOT/common/nx_library
21+
-y $RTL_ROOT/common/fifo
22+
-y $RTL_ROOT/common/axi
23+
-y $RTL_ROOT/common/cr_tlvp
24+
-y $RTL_ROOT/cr_huf_comp
25+
-y $RTL_ROOT/cr_xp10_decomp
26+
-y $RTL_ROOT/mem_wrappers/bimc_master/top
27+
28+
$RTL_ROOT/cr_huf_comp/cr_huf_comp.v

dv/huff/run/synopsys_sim.setup

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
-- *************************************************************************
2+
--
3+
-- Copyright � Microsoft Corporation. All rights reserved.
4+
-- Copyright � Broadcom Inc. All rights reserved.
5+
-- Licensed under the MIT License.
6+
--
7+
-- *************************************************************************
8+
LIB_TOP : ./LIB_TOP

0 commit comments

Comments
 (0)