Windows Bash Script Converted into a Linux Bash Script - Windows Bash Script Converted into a Linux Bash Script - UG1227

ISE 14.7 VM for Windows 10 & 11 User Guide: Installation, Licensing and Release Notes (UG1227)

Document_ID
UG1227
Release_Date
2025-05-16
Revision
14.8 English
#!/bin/bash
# variables
PRJ_NAME=ROM_display
DEVICE=xc6slx9-csg324-3
# generate IP
coregen -b ipcore_dir/CORE.xcp -p ipcore_dir/coregen.cgp
# Synthesis
xst -ifn ${PRJ_NAME}.xst -ofn ${PRJ_NAME}.syr 
# Implementation
ngdbuild -dd _ngo -sd ipcore_dir -nt timestamp -uc ${PRJ_NAME}.ucf -p
$DEVICE ${PRJ_NAME}.ngc ${PRJ_NAME}.ngd
map -p $DEVICE -w -logic_opt off -ol high -t 1 -xt 0
-register_duplication off -r 4 -mt off -ir off -pr off -lc off
-power off -o ${PRJ_NAME}_map.ncd ${PRJ_NAME}.ngd ${PRJ_NAME}.pcf
par -w -ol high -mt off ${PRJ_NAME}_map.ncd ${PRJ_NAME}.ncd
${PRJ_NAME}.pcf
# bitstream generation
bitgen -w ${PRJ_NAME}.ncd