浓毛老太交欧美老妇热爱乱,蜜臀性色av免费,妺妺窝人体色www看美女,久久久久久久久久久大尺度免费视频,麻豆人妻无码性色av专区

位置:51電子網(wǎng) » 技術(shù)資料 » 嵌入式系統(tǒng)

PicoBlaze處理器添加處理器指令的設(shè)計(jì)流程

發(fā)布時間:2008/9/19 0:00:00 訪問次數(shù):362

  增加新的picoblaze處理器指令的操作過程如下。

  (1) 修改picoblaze.vhd源代碼。

  (2) 增加如下新的指令代碼:

  constant new_instruction_id : std_logic_vector(4 'downto o):=

 。10101";

  (3) 增加如下指令到譯碼信號說明位置:

  i_new_instruction(= '1'when instruction (15 downto 11) =new_instruction_id else '0';

  (4) 用新指令實(shí)現(xiàn)的功能,定義vhdl部件(component)。

  (5) 增加這個部件到picoblaze.vhd源代碼中。

  (6) 增加新的指令到register_and_flag_enable。vhd,用于寄存器譯碼使能。

  (7) 在匯編編譯系統(tǒng)中新增如下一條指令到asm.cpp程序中:

  char*new instruction_id ="10101";

  (8) 增加條件語句(case)到asm.cpp程序的test_instructions函數(shù)中,增加條件語句(case)到asm.cpp程序的write program_word函數(shù)中。

  (9) 重新編譯asm.cpp程序,生成執(zhí)行文件asm.exe。

  歡迎轉(zhuǎn)載,信息來自維庫電子市場網(wǎng)(www.dzsc.com)



  增加新的picoblaze處理器指令的操作過程如下。

  (1) 修改picoblaze.vhd源代碼。

  (2) 增加如下新的指令代碼:

  constant new_instruction_id : std_logic_vector(4 'downto o):=

  "10101";

  (3) 增加如下指令到譯碼信號說明位置:

  i_new_instruction(= '1'when instruction (15 downto 11) =new_instruction_id else '0';

  (4) 用新指令實(shí)現(xiàn)的功能,定義vhdl部件(component)。

  (5) 增加這個部件到picoblaze.vhd源代碼中。

  (6) 增加新的指令到register_and_flag_enable。vhd,用于寄存器譯碼使能。

  (7) 在匯編編譯系統(tǒng)中新增如下一條指令到asm.cpp程序中:

  char*new instruction_id ="10101";

  (8) 增加條件語句(case)到asm.cpp程序的test_instructions函數(shù)中,增加條件語句(case)到asm.cpp程序的write program_word函數(shù)中。

  (9) 重新編譯asm.cpp程序,生成執(zhí)行文件asm.exe。

  歡迎轉(zhuǎn)載,信息來自維庫電子市場網(wǎng)(www.dzsc.com)



相關(guān)IC型號

熱門點(diǎn)擊

 

推薦技術(shù)資料

DFRobot—玩的就是
    如果說新車間的特點(diǎn)是“靈動”,F(xiàn)QPF12N60C那么... [詳細(xì)]
版權(quán)所有:51dzw.COM
深圳服務(wù)熱線:13751165337  13692101218
粵ICP備09112631號-6(miitbeian.gov.cn)
公網(wǎng)安備44030402000607
深圳市碧威特網(wǎng)絡(luò)技術(shù)有限公司
付款方式


 復(fù)制成功!