⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 change_pb_bits.bat

📁 This the 8th release of PicoBlaze for Spartan-3, Spartan-3E Virtex-II, Virtex-IIPro and Virtex-4 d
💻 BAT
字号:
rem Batch file to update PicoBlaze program within a BIT file
rem Ken Chapman - Xilinx Ltd - July 2005
rem
rem  Invoke using command
rem   change_pb_bits prog_name design_name
rem     where
rem       program = The name of your PSM program (8 character limit)  
rem       design_name = The name of your top level design and BIT file
rem     Do not specify file extensions (names only)
rem
echo Running Assembler
kcpsm3 %1 
if exist .\%1.mem goto make_bmm:
  echo ERROR - Unable to assemble program - Check PSM file
  goto end
:make_bmm
echo Creating BMM file
echo Select a BRAM from the list provided
pb_bmm %1.bmm %2.ncd
if exist .\%1.bmm goto make_bit:
  echo ERROR - Unable to create BMM file - Check design name
  goto end
:make_bit
echo Generating new BIT file
data2mem -bm %1.bmm -bd %1.mem -bt %2.bit -o b new_%2.bit
:end
pause

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -