hdmi/scripts/microblaze_mcs_0.tcl

37 lines
825 B
Tcl

set out_dir ./.build
set part_num xc7a35tftg256-1
set_part $part_num
file delete -force $out_dir/ip/microblaze_mcs_0
create_project -in_memory
create_ip -name microblaze_mcs -vendor xilinx.com -library ip \
-version 3.0 -module_name microblaze_mcs_0 \
-dir ${out_dir}/ip
set_property -dict [list \
CONFIG.FREQ {150} \
CONFIG.MEMSIZE {131072} \
CONFIG.USE_GPO1 {1} \
CONFIG.GPO1_SIZE {16} \
CONFIG.USE_GPO2 {1} \
CONFIG.GPO2_SIZE {16} \
CONFIG.USE_GPO3 {1} \
CONFIG.GPO3_SIZE {2} \
CONFIG.USE_GPO4 {1} \
CONFIG.GPO4_SIZE {6} \
CONFIG.USE_GPI1 {1} \
CONFIG.GPI1_SIZE {8} \
CONFIG.USE_GPI2 {1} \
CONFIG.GPI2_SIZE {1} \
CONFIG.GPI2_INTERRUPT {3} \
CONFIG.USE_GPI3 {1} \
CONFIG.GPI3_SIZE {1} \
] [get_ips microblaze_mcs_0]
generate_target all [get_ips]
synth_ip [get_ips] > $out_dir/microblaze_mcs_0.log