亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? kcpsm3.vhd

?? 硬件平臺為Xilinx Spartan3e
?? VHD
?? 第 1 頁 / 共 5 頁
字號:
    generic map (INIT => X"1F")
  --synthesis translate_on
  port map( I0 => instruction(14),
            I1 => instruction(15),
            I2 => instruction(16),
             O => sel_arith );

  arith_loop: for i in 0 to 7 generate
  --
  -- Attribute to define LUT contents during implementation 
  -- The information is repeated in the generic map for functional simulation
  attribute INIT : string; 
  attribute INIT of arith_lut : label is "96"; 
  --
  begin

    lsb_arith: if i=0 generate
    --
    -- Attribute to define LUT contents during implementation 
    -- The information is repeated in the generic map for functional simulation
    attribute INIT : string; 
    attribute INIT of arith_carry_in_lut : label is "6C";
    --
    begin

      arith_carry_in_lut: LUT3
      --synthesis translate_off
        generic map (INIT => X"6C")
      --synthesis translate_on
      port map( I0 => instruction(13),
                I1 => instruction(14),
                I2 => carry_flag,
                 O => sel_arith_carry_in );

      arith_carry_in_muxcy: MUXCY
      port map( DI => '0',
                CI => '1',
                 S => sel_arith_carry_in,
                 O => arith_carry_in);

      arith_muxcy: MUXCY
      port map( DI => sx(i),
                CI => arith_carry_in,
                 S => half_arith(i),
                 O => arith_internal_carry(i));

      arith_xor: XORCY
      port map( LI => half_arith(i),
                CI => arith_carry_in,
                 O => arith_value(i));
	   
    end generate lsb_arith;

    mid_arith: if i>0 and i<7 generate
    begin

      arith_muxcy: MUXCY
      port map( DI => sx(i),
                CI => arith_internal_carry(i-1),
                 S => half_arith(i),
                 O => arith_internal_carry(i));

      arith_xor: XORCY
      port map( LI => half_arith(i),
                CI => arith_internal_carry(i-1),
                 O => arith_value(i));
	   
    end generate mid_arith;

    msb_arith: if i=7 generate
    --
    -- Attribute to define LUT contents during implementation 
    -- The information is repeated in the generic map for functional simulation
    attribute INIT : string; 
    attribute INIT of arith_carry_out_lut : label is "2";
    --
    begin

      arith_muxcy: MUXCY
      port map( DI => sx(i),
                CI => arith_internal_carry(i-1),
                 S => half_arith(i),
                 O => arith_internal_carry(i));

      arith_xor: XORCY
      port map( LI => half_arith(i),
                CI => arith_internal_carry(i-1),
                 O => arith_value(i));

      arith_carry_out_lut: LUT1
      --synthesis translate_off
        generic map (INIT => X"2")
      --synthesis translate_on
      port map( I0 => instruction(14),
                 O => invert_arith_carry );

      arith_carry_out_xor: XORCY
      port map( LI => invert_arith_carry,
                CI => arith_internal_carry(i),
                 O => arith_carry_out);

      arith_carry_flop: FDR
      port map ( D => arith_carry_out,
                 Q => arith_carry,
                 R => sel_arith,
                 C => clk);

    end generate msb_arith;

    arith_lut: LUT3
    --synthesis translate_off
    generic map (INIT => X"96")
    --synthesis translate_on
    port map( I0 => sx(i),
              I1 => second_operand(i),
              I2 => instruction(14),
               O => half_arith(i));

    arith_flop: FDR
    port map ( D => arith_value(i),
               Q => arith_result(i),
               R => sel_arith,
               C => clk);

  end generate arith_loop;
--
--
------------------------------------------------------------------------------------
--
-- ALU multiplexer
--
------------------------------------------------------------------------------------
--
  input_fetch_type_lut: LUT4
  --synthesis translate_off
    generic map (INIT => X"0002")
  --synthesis translate_on
  port map( I0 => instruction(14),
            I1 => instruction(15),
            I2 => instruction(16),
            I3 => instruction(17),
             O => input_fetch_type );

  sel_group_flop: FD
  port map ( D => input_fetch_type,
             Q => sel_group,
             C => clk);

  alu_mux_loop: for i in 0 to 7 generate
  --
  -- Attribute to define LUT contents during implementation 
  -- The information is repeated in the generic map for functional simulation
  attribute INIT : string; 
  attribute INIT of or_lut  : label is "FE"; 
  attribute INIT of mux_lut : label is "E4"; 
  --
  begin

    or_lut: LUT3
    --synthesis translate_off
    generic map (INIT => X"FE")
    --synthesis translate_on
    port map( I0 => logical_result(i),
              I1 => arith_result(i),
              I2 => shift_result(i),
               O => alu_group(i));

    mux_lut: LUT3
    --synthesis translate_off
    generic map (INIT => X"E4")
    --synthesis translate_on
    port map( I0 => instruction(13),
              I1 => in_port(i),
              I2 => store_data(i),
               O => input_group(i));

    shift_in_muxf5: MUXF5
    port map(  I1 => input_group(i),
               I0 => alu_group(i),
                S => sel_group,
                O => alu_result(i) ); 

  end generate alu_mux_loop;
--
------------------------------------------------------------------------------------
--
-- Read and Write Strobes
--
------------------------------------------------------------------------------------
--
  io_decode_lut: LUT4
  --synthesis translate_off
    generic map (INIT => X"0010")
  --synthesis translate_on
  port map( I0 => active_interrupt,
            I1 => instruction(13),
            I2 => instruction(14),
            I3 => instruction(16),
             O => io_initial_decode );

  write_active_lut: LUT4
  --synthesis translate_off
    generic map (INIT => X"4000")
  --synthesis translate_on
  port map( I0 => t_state,
            I1 => instruction(15),
            I2 => instruction(17),
            I3 => io_initial_decode,
             O => write_active );

  write_strobe_flop: FDR
  port map ( D => write_active,
             Q => write_strobe,
             R => internal_reset,
             C => clk);

  read_active_lut: LUT4
  --synthesis translate_off
    generic map (INIT => X"0100")
  --synthesis translate_on
  port map( I0 => t_state,
            I1 => instruction(15),
            I2 => instruction(17),
            I3 => io_initial_decode,
             O => read_active );

  read_strobe_flop: FDR
  port map ( D => read_active,
             Q => read_strobe,
             R => internal_reset,
             C => clk);
--
------------------------------------------------------------------------------------
--
-- Program CALL/RETURN stack
--
-- Provided the counter and memory for a 32 deep stack supporting nested 
-- subroutine calls to a depth of 31 levels.
--
------------------------------------------------------------------------------------
--
  -- Stack memory is 32 locations of 10-bit single port.
  
  stack_ram_inv: INV   -- Inverter should be implemented in the WE to RAM
  port map(  I => t_state,
             O => stack_write_enable); 

  stack_ram_loop: for i in 0 to 9 generate
  --
  -- Attribute to define RAM contents during implementation 
  -- The information is repeated in the generic map for functional simulation
  --
  attribute INIT : string; 
  attribute INIT of stack_bit : label is "00000000"; 
  --
  begin

    stack_bit: RAM32X1S
    --synthesis translate_off
    generic map(INIT => X"00000000")
    --synthesis translate_on
    port map (       D => pc(i),
                    WE => stack_write_enable,
                  WCLK => clk,
                    A0 => stack_address(0),
                    A1 => stack_address(1),
                    A2 => stack_address(2),
                    A3 => stack_address(3),
                    A4 => stack_address(4),
                     O => stack_ram_data(i));

    stack_flop: FD
    port map ( D => stack_ram_data(i),
               Q => stack_pop_data(i),
               C => clk);

  end generate stack_ram_loop;

  -- Stack address pointer is a 5-bit counter

  stack_count_inv: INV   -- Inverter should be implemented in the CE to the flip-flops
  port map(  I => active_interrupt,
             O => not_active_interrupt); 

  stack_count_loop: for i in 0 to 4 generate
  begin
  
    register_bit: FDRE
    port map ( D => next_stack_address(i),
               Q => stack_address(i),
               R => internal_reset,
              CE => not_active_interrupt,
               C => clk);

    lsb_stack_count: if i=0 generate
    --
    -- Attribute to define LUT contents during implementation 
    -- The information is repeated in the generic map for functional simulation
    --
    attribute INIT : string; 
    attribute INIT of count_lut : label is "6555"; 
    --
    begin
    
      count_lut: LUT4
      --synthesis translate_off
      generic map (INIT => X"6555")
      --synthesis translate_on
      port map( I0 => stack_address(i),
                I1 => t_state,
                I2 => valid_to_move,
                I3 => push_or_pop_type,
                 O => half_stack_address(i) );
    
      count_muxcy: MUXCY
      port map( DI => stack_address(i),
                CI => '0',
                 S => half_stack_address(i),
                 O => stack_address_carry(i));
    
      count_xor: XORCY
      port map( LI => half_stack_address(i),
                CI => '0',
                 O => next_stack_address(i));
    				   					   
    end generate lsb_stack_count;

    mid_stack_count: if i>0 and i<4 generate
    --
    -- Attribute to define LUT contents during implementation 
    -- The information is repeated in the generic map for functional simulation
    --
    attribute INIT : string; 
    attribute INIT of count_lut : label is "A999"; 
    --
    begin
    
      count_lut: LUT4
      --synthesis translate_off
      generic map (INIT => X"A999")
      --synthesis translate_on
      port map( I0 => stack_address(i),
                I1 => t_state,
                I2 => valid_to_move,
                I3 => call_type,
                 O => half_stack_address(i) );
    
      count_muxcy: MUXCY
      port map( DI => stack_address(i),
                CI => stack_address_carry(i-1),
                 S => half_stack_address(i),
                 O => stack_address_carry(i));
    
      count_xor: XORCY
      port map( LI => half_stack_address(i),
                CI => stack_address_carry(i-1),
                 O => next_stack_address(i));
    				   					   
    end generate mid_stack_count;


    msb_stack_count: if i=4 generate
    --
    -- Attribute to define LUT contents during implementation 
    -- The information is repeated in the generic map for functional simulation
    --
    attribute INIT : string; 
    attribute INIT of count_lut : label is "A999"; 
    --
    begin

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久综合九色综合97婷婷女人| 三级在线观看一区二区| 色偷偷88欧美精品久久久| 亚洲成人黄色小说| 日本一区免费视频| 91福利视频在线| 看电视剧不卡顿的网站| 日本一区二区动态图| 欧美区视频在线观看| 国产成人精品综合在线观看 | 日本高清不卡视频| 国产一区二区三区四区五区美女| 中文字幕一区日韩精品欧美| 欧美电影一区二区| 91麻豆视频网站| 成人美女在线视频| 国产一区二区电影| 国产综合成人久久大片91| 三级在线观看一区二区 | 欧美成人欧美edvon| av高清久久久| 91首页免费视频| 91免费版在线| 欧美亚洲国产bt| 欧美日韩在线播放| 欧美久久久一区| 欧美一二三区在线观看| 日韩一区二区三| 国产一区二区三区四区五区美女| 在线免费av一区| 一本久久a久久精品亚洲| 婷婷国产在线综合| 国产精品影视在线观看| 在线观看亚洲一区| 国产精品久久久一区麻豆最新章节| 亚洲精品中文字幕在线观看| 国产美女精品在线| 欧美一区二区啪啪| 午夜久久电影网| 日韩**一区毛片| 日一区二区三区| 日本成人超碰在线观看| 偷拍自拍另类欧美| 日韩一区精品视频| 国内精品免费在线观看| 久久aⅴ国产欧美74aaa| 国内不卡的二区三区中文字幕| 理论片日本一区| 国产suv精品一区二区883| 国产激情视频一区二区在线观看| 精品一区二区三区视频在线观看| 久久精品国产精品亚洲精品| 激情文学综合网| 色婷婷精品大在线视频| 日韩一区二区三区四区| 国产精品妹子av| 日韩一区精品视频| 欧美伊人久久大香线蕉综合69| 成人18视频日本| 欧美一区二区三区的| 亚洲天堂成人网| 国内国产精品久久| 欧美在线|欧美| 国产精品乱码久久久久久 | 亚洲精品乱码久久久久久久久 | 极品销魂美女一区二区三区| 99免费精品在线观看| 久久久99免费| 国产精品亚洲一区二区三区妖精 | 久久婷婷综合激情| 国产精品正在播放| 精品99久久久久久| 国产91精品免费| 亚洲三级理论片| 91精品国产日韩91久久久久久| 日韩制服丝袜先锋影音| 日韩欧美你懂的| 96av麻豆蜜桃一区二区| 亚洲精品久久7777| 91精品国产综合久久久久久久| 另类欧美日韩国产在线| 中文字幕中文字幕一区二区| 91九色最新地址| 奇米亚洲午夜久久精品| 国产色一区二区| 欧美图区在线视频| 国产中文字幕精品| 亚洲女爱视频在线| 国产拍揄自揄精品视频麻豆| 91电影在线观看| 丁香婷婷综合色啪| 日韩av一区二| 亚洲国产综合在线| 精品少妇一区二区三区视频免付费 | 26uuu另类欧美亚洲曰本| 666欧美在线视频| 日韩视频免费观看高清完整版 | 5566中文字幕一区二区电影 | 亚洲精品日韩一| 国产精品毛片久久久久久久| 韩国成人福利片在线播放| 7777精品伊人久久久大香线蕉的 | 欧美少妇性性性| 91电影在线观看| 91精品久久久久久蜜臀| 日韩一区二区在线播放| 国产视频一区二区在线观看| 国产精品美女www爽爽爽| 亚洲色欲色欲www在线观看| 一区二区三区高清不卡| 性久久久久久久久久久久| 精品亚洲欧美一区| 欧美亚洲国产怡红院影院| 午夜激情久久久| 日韩一区欧美一区| 精品成人一区二区| 成人sese在线| 国产精品中文欧美| 中文字幕综合网| 欧美色偷偷大香| 波多野结衣中文一区| 亚洲欧美日韩精品久久久久| 91精品国产综合久久久蜜臀粉嫩| 色成年激情久久综合| 美女一区二区视频| 国产曰批免费观看久久久| 国产伦精品一区二区三区免费 | 亚洲精品国产a| 色88888久久久久久影院按摩| 亚洲一区二区三区国产| xnxx国产精品| 国产美女精品一区二区三区| 欧美大胆一级视频| 91免费视频网址| 五月天国产精品| 亚洲一区二区三区中文字幕在线| 7777精品伊人久久久大香线蕉的 | 日本一区二区在线不卡| 奇米888四色在线精品| 欧美日韩一区中文字幕| 亚洲va欧美va人人爽午夜| 欧美日韩一区久久| 亚洲成a人v欧美综合天堂下载 | 国产亚洲精品免费| 国产69精品久久久久777| 国产农村妇女毛片精品久久麻豆| 国产69精品久久久久777| 一区在线观看免费| 91美女视频网站| 午夜精品久久久久久久99樱桃| 亚洲国产欧美一区二区三区丁香婷| 国产精品综合久久| 精品久久五月天| 国产麻豆91精品| 精品国产乱码久久久久久久| 亚洲国产精品久久不卡毛片| www..com久久爱| 国产精品日产欧美久久久久| 美日韩一区二区| 中文av一区特黄| 欧美唯美清纯偷拍| 3atv在线一区二区三区| 久久一夜天堂av一区二区三区| 欧美激情在线看| 五月综合激情婷婷六月色窝| 日韩精品一级中文字幕精品视频免费观看| 亚洲第一综合色| 精品视频免费看| 国产精品乱人伦一区二区| 久99久精品视频免费观看| 日韩美女一区二区三区四区| 麻豆精品一区二区综合av| 国产日韩三级在线| 91碰在线视频| 天涯成人国产亚洲精品一区av| 777精品伊人久久久久大香线蕉| 爽爽淫人综合网网站| 欧美激情一二三区| 欧美三级韩国三级日本一级| 蜜桃久久精品一区二区| 成人免费在线视频| 欧美肥妇毛茸茸| 一本色道久久综合精品竹菊| 麻豆视频观看网址久久| 亚洲卡通欧美制服中文| 精品国产91亚洲一区二区三区婷婷 | 亚洲一区二区在线观看视频| 日韩欧美电影在线| 在线综合亚洲欧美在线视频| 丁香婷婷深情五月亚洲| 免费三级欧美电影| 无码av免费一区二区三区试看| 一二三四社区欧美黄| 欧美无人高清视频在线观看| 三级精品在线观看| 日韩欧美精品在线视频| 色婷婷综合五月| 亚洲国产一区二区三区青草影视| 大胆欧美人体老妇| 亚洲国产精品尤物yw在线观看|