URL
https://opencores.org/ocsvn/openmsp430/openmsp430/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 28 |
Rev 153 |
?rev1line? |
?rev2line? |
|
::######################################################
|
|
::# #
|
|
::# Xilinx Synthesis, Place & Route script for WINDOWS #
|
|
::# #
|
|
::######################################################
|
|
|
|
:: Cleanup
|
|
RMDIR /S /Q .\WORK
|
|
MKDIR WORK
|
|
cd ./WORK
|
|
|
|
:: Copy the RAM & ROM ngc files
|
|
XCOPY ..\..\..\rtl\verilog\coregen\ram_8x512_hi.ngc .
|
|
XCOPY ..\..\..\rtl\verilog\coregen\ram_8x512_lo.ngc .
|
|
XCOPY ..\..\..\rtl\verilog\coregen\rom_8x2k_hi.ngc .
|
|
XCOPY ..\..\..\rtl\verilog\coregen\rom_8x2k_lo.ngc .
|
|
|
|
:: Copy the Xilinx constraints file
|
|
XCOPY ..\scripts\openMSP430_fpga.ucf .
|
|
|
|
:: Create link to the TimerA include file
|
|
XCOPY ..\..\..\rtl\verilog\openmsp430\periph\omsp_timerA_defines.v .
|
|
XCOPY ..\..\..\rtl\verilog\openmsp430\periph\omsp_timerA_undefines.v .
|
|
|
|
:: XFLOW
|
|
::---------------
|
|
|
|
xflow -p 3S200FT256-4 -implement high_effort.opt ^
|
|
-config bitgen.opt ^
|
|
-synth ..\scripts\xst_verilog.opt ^
|
|
..\scripts\openMSP430_fpga.prj
|
|
|
|
:: MANUAL FLOW
|
|
::---------------
|
|
|
|
::xst -intstyle xflow -ifn ..\openMSP430_fpga.xst
|
|
|
|
::ngdbuild -p xc3s200-4-ft256 -uc ..\openMSP430_fpga.ucf openMSP430_fpga
|
|
|
|
::map -k 6 -detail -pr b openMSP430_fpga
|
|
|
|
::par -ol med -w openMSP430_fpga.ncd openMSP430_fpga
|
|
|
|
::trce -e -o openMSP430_fpga_err.twr openMSP430_fpga
|
|
::trce -v -o openMSP430_fpga_ver.twr openMSP430_fpga
|
|
|
|
::bitgen -w -g UserID:5555000 -g DonePipe:yes -g UnusedPin:Pullup openMSP430_fpga
|
|
|
|
|
|
cd ..
|
|
|
|
XCOPY .\WORK\openMSP430_fpga.bit .\bitstreams\.
|
|
|
|
PAUSE
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.