7 username = getpass.getuser()
9 path_to_core_collection =
"/home/" + username +
"/git/hal-benchmarks"
10 path_to_hal =
"/home/" + username +
"/git/hal"
11 path_to_hal_build = path_to_hal +
"/build-release"
12 path_to_hal_bin = path_to_hal_build +
"/bin/hal"
13 path_dataflow_out = path_to_hal_build +
"/dataflow_out"
16 netlists[
"vivado"] = dict()
17 netlists[
"synopsys"] = dict()
20 default_gate_libraries = dict()
21 default_gate_libraries[
"vivado"] =
"XILINX_UNISIM"
22 default_gate_libraries[
"synopsys"] =
"lsi_10k"
24 special_gate_libraries = dict()
27 netlists[
"vivado"][
"test"] =
"test/test.vhd"
30 netlists[
"vivado"][
"tiny_aes"] =
"crypto/tiny_aes/tiny_aes_hsing_xilinx_unisim_vivado.vhd"
31 netlists[
"synopsys"][
"tiny_aes"] =
"crypto/tiny_aes/tiny_aes_hsing_lsi_10k_synopsys.v"
34 netlists[
"vivado"][
"des"] =
"crypto/des/des_xilinx_unisim_vivado.vhd"
35 netlists[
"synopsys"][
"des"] =
"crypto/des/des_lsi_10k_synopsys.v"
39 netlists[
"vivado"][
"sha-3"] =
"crypto/sha-3/sha-3_xilinx_unisim_vivado.vhd"
40 netlists[
"synopsys"][
"sha-3"] =
"crypto/sha-3/sha-3_lsi_10k_synopsys.v"
43 netlists[
"vivado"][
"present"] =
"crypto/present/present_xilinx_unisim_vivado.vhd"
44 netlists[
"synopsys"][
"present"] =
"crypto/present/present_lsi_10k_synopsys.v"
47 netlists[
"vivado"][
"rsa"] =
"crypto/rsa/rsa_xilinx_unisim_vivado.vhd"
48 netlists[
"synopsys"][
"rsa"] =
"crypto/rsa/rsa_lsi_10k_synopsys.v"
53 netlists[
"vivado"][
"open8"] =
"cpu/open8/open8_xilinx_unisim_vivado.vhd"
54 netlists[
"synopsys"][
"open8"] =
"cpu/open8/open8_lsi_10k_synopsys.v"
58 netlists[
"vivado"][
"edge"] =
"cpu/edge/egde_xilinx_unisim_vivado.vhd"
59 netlists[
"synopsys"][
"edge"] =
"cpu/edge/edge_lsi_10k_synopsys.v"
62 netlists[
"vivado"][
"ibex"] =
"cpu/ibex_risc-v/ibex_xilinx_unisim_vivado.vhd"
63 netlists[
"synopsys"][
"ibex"] =
"cpu/ibex_risc-v/ibex_lsi_10k_synopsys.v"
68 netlists[
"vivado"][
"opentitan"] =
"soc/opentitan/opentitan_xilinx_unisim_vivado.vhd"
69 netlists[
"synopsys"][
"opentitan"] =
"soc/opentitan/opentitan_lsi_10k_synopsys.vhd"
70 special_gate_libraries[(
"synopsys",
"opentitan")] =
"lsi_10k"
72 netlists[
"vivado"][
"axi"] =
"others/1m_2s_v1.vhd"
74 netlists[
"vivado"][
"soc"] =
"soc/netlist/soc.vhd"
77 netlists[
"vivado"][
"aes_trojan"] =
"crypto/tiny_aes/tiny_aes_trojan.vhd"
78 netlists[
"vivado"][
"rsa_trojan"] =
"crypto/rsa/rsa_trojan.vhd"
83 netlists_paper = dict()
86 netlists_paper[
"tiny_aes"] =
"128"
87 netlists_paper[
"des"] =
"56,32"
88 netlists_paper[
"rsa"] =
"512"
89 netlists_paper[
"present"] =
"80,64"
90 netlists_paper[
"sha-3"] =
"1600,512,1088"
94 netlists_paper[
"ibex"] =
"31,32,33"
95 netlists_paper[
"edge"] =
"32"
96 netlists_paper[
"open8"] =
"16,8"
100 netlists_paper[
"opentitan"] =
"512,256,128,33,32,31"