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

📄 class.ptf

📁 周立功SOPC 嵌入式系统实验教程书籍配套光盘 PS2鼠标驱动代码
💻 PTF
📖 第 1 页 / 共 2 页
字号:
#
# This class.ptf file built by Component Editor
# 2006.05.13.09:00:57
#
# DO NOT MODIFY THIS FILE
# If you hand-modify this file you will likely
# interfere with Component Editor's ability to
# read and edit it. And then Component Editor
# will overwrite your changes anyway. So, for
# the very best results, just relax and
# DO NOT MODIFY THIS FILE
#
CLASS zlg_avalon_ps2mouse
{
  MODULE_DEFAULTS 
  {
    class = "zlg_avalon_ps2mouse";
    class_version = "1.0";
    SYSTEM_BUILDER_INFO 
    {
      Instantiate_In_System_Module = "1";
      Top_Level_Ports_Are_Enumerated = "1";
    }
    COMPONENT_BUILDER 
    {
      GLS_SETTINGS 
      {
      }
    }
    PORT_WIRING 
    {
    }
    SIMULATION 
    {
      DISPLAY 
      {
        SIGNAL x101
        {
          name = "zlg_avalon_ps2mouse/global_signals";
          format = "Divider";
        }
        SIGNAL x102
        {
          name = "zlg_avalon_ps2mouse/avalon_slave_0";
          format = "Divider";
        }
        SIGNAL x103
        {
          name = "clock";
        }
        SIGNAL x104
        {
          name = "reset_n";
        }
        SIGNAL x105
        {
          name = "chip_select";
        }
        SIGNAL x106
        {
          name = "address";
        }
        SIGNAL x107
        {
          name = "read";
        }
        SIGNAL x108
        {
          name = "read_data";
          radix = "hexadecimal";
        }
        SIGNAL x109
        {
          name = "interrupt";
        }
        SIGNAL x110
        {
          name = "ps2_clk";
        }
        SIGNAL x111
        {
          name = "ps2_data";
        }
      }
    }
    WIZARD_SCRIPT_ARGUMENTS 
    {
      hdl_parameters 
      {
      }
    }
    SLAVE avalon_slave_0
    {
      SYSTEM_BUILDER_INFO 
      {
        Bus_Type = "avalon";
        Address_Width = "1";
        Address_Alignment = "native";
        Data_Width = "32";
        Has_Base_Address = "1";
        Has_IRQ = "1";
        Setup_Time = "0cycles";
        Hold_Time = "0cycles";
        Read_Wait_States = "1cycles";
        Write_Wait_States = "1cycles";
        Read_Latency = "0";
        Maximum_Pending_Read_Transactions = "0";
        Is_Printable_Device = "0";
        Is_Memory_Device = "0";
        Is_Readable = "1";
        Is_Writable = "1";
        Minimum_Uninterrupted_Run_Length = "1";
      }
      COMPONENT_BUILDER 
      {
        AVS_SETTINGS 
        {
          Setup_Value = "0";
          Read_Wait_Value = "1";
          Write_Wait_Value = "1";
          Hold_Value = "0";
          Timing_Units = "cycles";
          Read_Latency_Value = "0";
          Max_Pending_Read_Transactions_Value = "1";
          Address_Alignment = "native";
          Is_Printable_Device = "0";
          interface_name = "Avalon Slave";
          Minimum_Arbitration_Shares = "1";
          external_wait = "0";
          Is_Memory_Device = "0";
        }
      }
      PORT_WIRING 
      {
        PORT clock
        {
          width = "1";
          width_expression = "";
          direction = "input";
          type = "clk";
          is_shared = "0";
        }
        PORT reset_n
        {
          width = "1";
          width_expression = "";
          direction = "input";
          type = "reset_n";
          is_shared = "0";
        }
        PORT chip_select
        {
          width = "1";
          width_expression = "";
          direction = "input";
          type = "chipselect";
          is_shared = "0";
        }
        PORT address
        {
          width = "1";
          width_expression = "";
          direction = "input";
          type = "address";
          is_shared = "0";
        }
        PORT read
        {
          width = "1";
          width_expression = "";
          direction = "input";
          type = "read";
          is_shared = "0";
        }
        PORT read_data
        {
          width = "32";
          width_expression = "";
          direction = "output";
          type = "readdata";
          is_shared = "0";
        }
        PORT interrupt
        {
          width = "1";
          width_expression = "";
          direction = "output";
          type = "irq";
          is_shared = "0";
        }
        PORT ps2_clk
        {
          width = "1";
          width_expression = "";
          direction = "inout";
          type = "export";
          is_shared = "0";
        }
        PORT ps2_data
        {
          width = "1";
          width_expression = "";
          direction = "inout";
          type = "export";
          is_shared = "0";
        }
      }
    }
  }
  USER_INTERFACE 
  {
    USER_LABELS 
    {
      name = "zlg_avalon_ps2mouse";
      technology = "SmartSOPC";
    }
    WIZARD_UI the_wizard_ui
    {
      title = "zlg_avalon_ps2mouse - {{ $MOD }}";
      CONTEXT 
      {
        H = "WIZARD_SCRIPT_ARGUMENTS/hdl_parameters";
        M = "";
        SBI_ = "SYSTEM_BUILDER_INFO";
        SBI_avalon_slave_0 = "SLAVE avalon_slave_0/SYSTEM_BUILDER_INFO";
      }
      PAGES main
      {
        PAGE 1
        {
          align = "left";
          title = "<b>zlg_avalon_ps2mouse 1.0</b> Settings";
          layout = "vertical";
          TEXT 
          {
            title = "Built on: 2006.05.13.09:00:57";
          }
          TEXT 
          {
            title = "Class name: zlg_avalon_ps2mouse";
          }
          TEXT 
          {
            title = "Class version: 1.0";
          }
          TEXT 
          {
            title = "Component name: zlg_avalon_ps2mouse";
          }
          TEXT 
          {
            title = "Component Group: SmartSOPC";
          }
        }
      }
    }
  }
  CB_GENERATOR 
  {
    top_module_name = "mouse_avalon_interface.v:mouse_avalon_interface";
    emit_system_h = "0";
    HDL_FILES 
    {
      FILE 
      {
        filepath = "hdl/mouse_avalon_interface.v";
        use_in_simulation = "1";
        use_in_synthesis = "1";
      }
      FILE 
      {
        filepath = "hdl/mouse_register_file.v";
        use_in_simulation = "1";
        use_in_synthesis = "1";
      }
      FILE 
      {
        filepath = "hdl/ps2_mouse_interface.v";
        use_in_simulation = "1";
        use_in_synthesis = "1";
      }
    }
  }
  SOPC_Builder_Version = "5.00";
  COMPONENT_BUILDER 
  {
    CACHED_HDL_INFO 
    {
      # cached hdl info, emitted by cbGuinevereApp.CBFrameRealtime.getDocumentCachedHDLInfoSection:123
      # used only by Component Builder
      FILE ps2_mouse_interface.v
      {
        file_mod = "Fri Apr 14 09:21:18 CST 2006";
        quartus_map_start = "Thu May 11 15:31:02 CST 2006";
        quartus_map_finished = "Thu May 11 15:31:03 CST 2006";
        #found 1 valid modules
        WRAPPER ps2_mouse_interface
        {
          CLASS ps2_mouse_interface
          {
            MODULE_DEFAULTS 
            {
              class = "ps2_mouse_interface";
              class_version = "1.0";
              SYSTEM_BUILDER_INFO 
              {
                Instantiate_In_System_Module = "1";
              }
              SLAVE avalon_slave_0
              {
                SYSTEM_BUILDER_INFO 
                {
                  Bus_Type = "avalon";
                }
                PORT_WIRING 
                {
                  PORT clock
                  {
                    width = "1";
                    width_expression = "";
                    direction = "input";
                    type = "export";
                    is_shared = "0";
                  }
                  PORT reset
                  {
                    width = "1";
                    width_expression = "";
                    direction = "input";
                    type = "reset";
                    is_shared = "0";
                  }
                  PORT ps2_clk_in
                  {
                    width = "1";
                    width_expression = "";
                    direction = "input";
                    type = "clk";
                    is_shared = "0";
                  }
                  PORT ps2_data_in
                  {
                    width = "1";
                    width_expression = "";
                    direction = "input";
                    type = "export";
                    is_shared = "0";
                  }
                  PORT ps2_clk_out
                  {
                    width = "1";
                    width_expression = "";
                    direction = "output";
                    type = "export";
                    is_shared = "0";
                  }
                  PORT ps2_data_out
                  {
                    width = "1";
                    width_expression = "";
                    direction = "output";
                    type = "export";
                    is_shared = "0";
                  }
                  PORT ps2_clk_dir
                  {
                    width = "1";
                    width_expression = "";
                    direction = "output";
                    type = "export";
                    is_shared = "0";
                  }
                  PORT ps2_data_dir
                  {
                    width = "1";
                    width_expression = "";
                    direction = "output";
                    type = "export";
                    is_shared = "0";
                  }
                  PORT left_button
                  {
                    width = "1";
                    width_expression = "";
                    direction = "output";
                    type = "export";
                    is_shared = "0";
                  }
                  PORT right_button
                  {
                    width = "1";
                    width_expression = "";
                    direction = "output";
                    type = "export";
                    is_shared = "0";
                  }
                  PORT middle_button
                  {
                    width = "1";
                    width_expression = "";
                    direction = "output";
                    type = "export";
                    is_shared = "0";
                  }
                  PORT x_increment
                  {
                    width = "9";
                    width_expression = "";
                    direction = "output";
                    type = "export";
                    is_shared = "0";
                  }
                  PORT y_increment
                  {
                    width = "9";
                    width_expression = "";
                    direction = "output";
                    type = "export";
                    is_shared = "0";
                  }
                  PORT data_ready
                  {
                    width = "1";
                    width_expression = "";
                    direction = "output";
                    type = "export";
                    is_shared = "0";
                  }
                }
              }
            }
            USER_INTERFACE 
            {
              USER_LABELS 
              {
                name = "ps2_mouse_interface";
                technology = "imported components";
              }
            }
            CB_GENERATOR 
            {
              top_module_name = "ps2_mouse_interface";
              emit_system_h = "0";
              HDL_FILES 
              {
                FILE 
                {
                  filepath = "F:/SmartSOPC/example/for_1C6/SmartSOPC_expand_1c6/mouse_avalon/ps2_mouse_interface.v";
                  use_in_simulation = "1";
                  use_in_synthesis = "1";
                }
              }
            }
            SOPC_Builder_Version = "0.0";
            COMPONENT_BUILDER 
            {
              HDL_PARAMETERS 
              {
                # generated by cbDocument.CBDocument.getParameterContainer:385
                # used only by Component Editor
                HDL_PARAMETER watchdog_timer_value
                {
                  parameter_name = "WATCHDOG_TIMER_VALUE";
                  type = "integer";
                  default_value = "19200";
                  editable = "1";
                  tooltip = "";
                }
                HDL_PARAMETER watchdog_timer_bits
                {
                  parameter_name = "WATCHDOG_TIMER_BITS";
                  type = "integer";
                  default_value = "15";
                  editable = "1";
                  tooltip = "";
                }
                HDL_PARAMETER timer_5us_value
                {
                  parameter_name = "TIMER_5US_VALUE";
                  type = "integer";
                  default_value = "240";
                  editable = "1";
                  tooltip = "";
                }
                HDL_PARAMETER timer_5us_bits
                {
                  parameter_name = "TIMER_5US_BITS";
                  type = "integer";
                  default_value = "8";
                  editable = "1";
                  tooltip = "";
                }
                HDL_PARAMETER m1_clk_h

⌨️ 快捷键说明

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