-
Notifications
You must be signed in to change notification settings - Fork 0
/
boxmuller_ip.tcl
30 lines (22 loc) · 898 Bytes
/
boxmuller_ip.tcl
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
29
source ../scripts/adi_env.tcl
source $ad_hdl_dir/library/scripts/adi_ip_xilinx.tcl
adi_ip_create boxmuller
adi_ip_files boxmuller [list \
"./src/boxmuller.vhd" \
"./src/grng_16.vhd" \
"./src/lzd.vhd" \
"./src/output_remapper.vhd" \
"./src/pp_fcn.vhd" \
"./src/pp_fcn_rom_pkg.vhd" \
"./src/sb_des.vhd" \
"./src/shifter.vhd" \
"./src/xoroshiro128plus.vhd" ]
# Override top module to be grng_16
set_property "top" "grng_16" [get_filesets sources_1]
adi_ip_properties_lite boxmuller
ipx::infer_bus_interface clk xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
ipx::infer_bus_interface resetn xilinx.com:signal:reset_rtl:1.0 [ipx::current_core]
# adi_ip_ttcl boxmuller "boxmuller_constr.ttcl"
set_property display_name "Box-Muller GRNG" [ipx::current_core]
set_property description "Box-Muller GRNG" [ipx::current_core]
ipx::save_core [ipx::current_core]