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

📄 class.ptf

📁 Altera的基于NIOS II的LCD控制器源代码
💻 PTF
字号:
CLASS altera_avalon_lcd_controller
{
  ASSOCIATED_FILES 
  {
    Add_Program       = "";
    Edit_Program      = "";
    Generator_Program = "";
  }
  MODULE_DEFAULTS
  {
    class      = "altera_avalon_lcd_controller";
    class_version = "1.0";
    SYSTEM_BUILDER_INFO 
    {
      Is_Enabled= "1";
      Instantiate_In_System_Module = "1";
    }
    WIZARD_SCRIPT_ARGUMENTS
    {
    }
    MASTER mast0
    {
      SYSTEM_BUILDER_INFO 
      {
        Bus_Type = "avalon";
        Max_Address_Width = "32";
        Address_Width = "32";
        Data_Width        = "32";
        Is_Enabled = "1";
        Do_Stream_Reads   = "1";
      }
      PORT_WIRING
      {
        PORT m0_address
        {
          direction = "output";
          type = "address";
          width = "32";
        }
        PORT m0_read_n
        {
          direction = "output";
          type = "read_n";
          width = "1";
        }
        PORT m0_readdata
        {
          direction = "input";
          type = "readdata";
          width = "32";
        }
        PORT m0_waitrequest
        {
          direction = "input";
          type = "waitrequest";
          width = "1";
        }
        PORT m0_readdatavalid
        {
          direction = "input";
          type = "readdatavalid";
          width = "1";
        }
      }
    }
    MASTER mast1
    {
      SYSTEM_BUILDER_INFO 
      {
        Bus_Type = "avalon";
        Max_Address_Width = "32";
        Address_Width = "32";
        Data_Width        = "32";
        Is_Enabled = "1";
        Do_Stream_Reads   = "1";
      }
      PORT_WIRING
      {
        PORT m1_address
        {
          direction = "output";
          type = "address";
          width = "32";
        }
        PORT m1_read_n
        {
          direction = "output";
          type = "read_n";
          width = "1";
        }
        PORT m1_readdata
        {
          direction = "input";
          type = "readdata";
          width = "32";
        }
        PORT m1_waitrequest
        {
          direction = "input";
          type = "waitrequest";
          width = "1";
        }
        PORT m1_readdatavalid
        {
          direction = "input";
          type = "readdatavalid";
          width = "1";
        }
      }
    }
    MASTER mast2
    {
      SYSTEM_BUILDER_INFO 
      {
        Bus_Type = "avalon";
        Max_Address_Width = "32";
        Address_Width = "32";
        Data_Width        = "32";
        Is_Enabled = "1";
        Do_Stream_Reads   = "1";
      }
      PORT_WIRING
      {
        PORT m2_address
        {
          direction = "output";
          type = "address";
          width = "32";
        }
        PORT m2_read_n
        {
          direction = "output";
          type = "read_n";
          width = "1";
        }
        PORT m2_readdata
        {
          direction = "input";
          type = "readdata";
          width = "32";
        }
        PORT m2_waitrequest
        {
          direction = "input";
          type = "waitrequest";
          width = "1";
        }
        PORT m2_readdatavalid
        {
          direction = "input";
          type = "readdatavalid";
          width = "1";
        }
      }
    }
    MASTER mast3
    {
      SYSTEM_BUILDER_INFO 
      {
        Bus_Type = "avalon";
        Max_Address_Width = "32";
        Address_Width = "32";
        Data_Width        = "32";
        Is_Enabled = "1";
        Do_Stream_Reads   = "1";
      }
      PORT_WIRING
      {
        PORT m3_address
        {
          direction = "output";
          type = "address";
          width = "32";
        }
        PORT m3_read_n
        {
          direction = "output";
          type = "read_n";
          width = "1";
        }
        PORT m3_readdata
        {
          direction = "input";
          type = "readdata";
          width = "32";
        }
        PORT m3_waitrequest
        {
          direction = "input";
          type = "waitrequest";
          width = "1";
        }
        PORT m3_readdatavalid
        {
          direction = "input";
          type = "readdatavalid";
          width = "1";
        }
      }
    }
    MASTER mast4
    {
      SYSTEM_BUILDER_INFO 
      {
        Bus_Type = "avalon";
        Max_Address_Width = "32";
        Address_Width = "32";
        Data_Width        = "32";
        Is_Enabled = "1";
        Do_Stream_Reads   = "1";
      }
      PORT_WIRING
      {
        PORT m4_address
        {
          direction = "output";
          type = "address";
          width = "32";
        }
        PORT m4_read_n
        {
          direction = "output";
          type = "read_n";
          width = "1";
        }
        PORT m4_readdata
        {
          direction = "input";
          type = "readdata";
          width = "32";
        }
        PORT m4_waitrequest
        {
          direction = "input";
          type = "waitrequest";
          width = "1";
        }
        PORT m4_readdatavalid
        {
          direction = "input";
          type = "readdatavalid";
          width = "1";
        }
      }
    }
    SLAVE control_port_slave
    {
      SYSTEM_BUILDER_INFO 
      {
        Bus_Type          = "avalon";
        Address_Width     = "6";
        Data_Width        = "32";
        Address_Alignment = "native";
        Has_IRQ = "1";
      }
      PORT_WIRING
      {
        PORT reset_n
        {
          direction = "input";
          type = "reset_n";
          width = "1";
        }
        PORT clk_av
        {
          direction = "input";
          type = "clk";
          width = "1";
        }
        PORT s_address
        {
          direction = "input";
          type = "address";
          width = "6";
        }
        PORT s_chipselect
        {
          direction = "input";
          type = "chipselect";
          width = "1";
        }
        PORT s_read_n
        {
          direction = "input";
          type = "read_n";
          width = "1";
        }
        PORT s_write_n
        {
          direction = "input";
          type = "write_n";
          width = "1";
        }
        PORT s_writedata
        {
          direction = "input";
          type = "writedata";
          width = "32";
        }
        PORT s_waitrequest
        {
          direction = "input";
          type = "waitrequest";
          width = "1";
        }
        PORT s_readdata
        {
          direction = "output";
          type = "readdata";
          width = "32";
        }
        PORT int
        {
          direction = "output";
          type = "irq";
          width = "1";
        }
      }
    }
    PORT_WIRING
    {
      PORT pixel_clk
      {
        direction = "input";
        type = "export";
        width = "1";
      }
      PORT hsync
      {
        direction = "output";
        type = "export";
        width = "1";
      }
      PORT vsync
      {
        direction = "output";
        type = "export";
        width = "1";
      }
      PORT sync
      {
        direction = "output";
        type = "export";
        width = "1";
      }
      PORT blank
      {
        direction = "output";
        type = "export";
        width = "1";
      }
      PORT red
      {
        direction = "output";
        type = "export";
        width = "8";
      }
      PORT green
      {
        direction = "output";
        type = "export";
        width = "8";
      }
      PORT blue
      {
        direction = "output";
        type = "export";
        width = "8";
      }
      PORT m1
      {
        direction = "output";
        type = "export";
        width = "1";
      }
      PORT m2
      {
        direction = "output";
        type = "export";
        width = "1";
      }
      PORT sync_t
      {
        direction = "output";
        type = "export";
        width = "1";
      }
    }
  }
  USER_INTERFACE 
  {
     USER_LABELS 
     {
        name = "Avalon TFT LCD Controller";
        technology = "Other";
     }
  }
  DEFAULT_GENERATOR 
  {
     top_module_name = "lcd_controller";
     black_box = "0";
     vhdl_synthesis_files = "";
     verilog_synthesis_files = "";
     black_box_files = "";
  }
}

⌨️ 快捷键说明

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