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

📄 sopc.ptf

📁 一个测试端口测试程序
💻 PTF
📖 第 1 页 / 共 3 页
字号:
            Read_Latency = "1";
            Base_Address = "0x00000000";
            MASTERED_BY nios32_256/instruction_master
            {
               priority = "1";
            }
            MASTERED_BY nios32_256/data_master
            {
               priority = "1";
            }
         }
      }
      SIMULATION 
      {
         DISPLAY 
         {
            SIGNAL a
            {
               name = "chipselect";
               conditional = "1";
            }
            SIGNAL b
            {
               name = "write";
               conditional = "1";
            }
            SIGNAL c
            {
               name = "address";
               radix = "hexadecimal";
            }
            SIGNAL d
            {
               name = "byteenable";
               radix = "binary";
               conditional = "1";
            }
            SIGNAL e
            {
               name = "readdata";
               radix = "hexadecimal";
            }
            SIGNAL f
            {
               name = "writedata";
               radix = "hexadecimal";
               conditional = "1";
            }
         }
      }
      WIZARD_SCRIPT_ARGUMENTS 
      {
         Writeable = "0";
         Size_Value = "1";
         Size_Multiple = "1024";
         Contents = "blank";
         Shrink_to_fit_contents = "1";
         CONTENTS srec
         {
            Kind = "germs";
            Build_Info = "";
            Command_Info = "";
            Textfile_Info = "";
            String_Info = "";
         }
         use_altsyncram = "0";
      }
      PORT_WIRING 
      {
      }
   }
   MODULE uart_printf
   {
      class = "altera_avalon_uart";
      class_version = "2.0";
      SLAVE s1
      {
         SYSTEM_BUILDER_INFO 
         {
            Bus_Type = "avalon";
            Is_Printable_Device = "1";
            Address_Alignment = "native";
            Address_Width = "3";
            Data_Width = "16";
            Has_IRQ = "1";
            Read_Wait_States = "1";
            Write_Wait_States = "1";
            IRQ_Number = "16";
            Base_Address = "0x00000400";
            MASTERED_BY nios32_256/data_master
            {
               priority = "1";
            }
         }
         PORT_WIRING 
         {
            PORT address
            {
               direction = "input";
               type = "address";
               width = "3";
            }
            PORT begintransfer
            {
               direction = "input";
               type = "begintransfer";
               width = "1";
            }
            PORT chipselect
            {
               direction = "input";
               type = "chipselect";
               width = "1";
            }
            PORT clk
            {
               direction = "input";
               type = "clk";
               width = "1";
            }
            PORT dataavailable
            {
               direction = "output";
               type = "dataavailable";
               width = "1";
            }
            PORT irq
            {
               direction = "output";
               type = "irq";
               width = "1";
            }
            PORT read_n
            {
               direction = "input";
               type = "read_n";
               width = "1";
            }
            PORT readdata
            {
               direction = "output";
               type = "readdata";
               width = "16";
            }
            PORT readyfordata
            {
               direction = "output";
               type = "readyfordata";
               width = "1";
            }
            PORT reset_n
            {
               direction = "input";
               type = "reset_n";
               width = "1";
            }
            PORT write_n
            {
               direction = "input";
               type = "write_n";
               width = "1";
            }
            PORT writedata
            {
               direction = "input";
               type = "writedata";
               width = "16";
            }
         }
      }
      SYSTEM_BUILDER_INFO 
      {
         Instantiate_In_System_Module = "1";
         Is_Enabled = "1";
         View 
         {
            Settings_Summary = "8-bit UART with 115200 baud, <br>
                    2 stop bits and N parity";
            Is_Collapsed = "1";
            MESSAGES 
            {
            }
         }
      }
      SIMULATION 
      {
         DISPLAY 
         {
            SIGNAL a
            {
               name = "  Bus Interface";
               format = "Divider";
            }
            SIGNAL b
            {
               name = "chipselect";
            }
            SIGNAL c
            {
               name = "address";
               radix = "hexadecimal";
            }
            SIGNAL d
            {
               name = "writedata";
               radix = "hexadecimal";
            }
            SIGNAL e
            {
               name = "readdata";
               radix = "hexadecimal";
            }
            SIGNAL f
            {
               name = "  Internals";
               format = "Divider";
            }
            SIGNAL g
            {
               name = "tx_ready";
            }
            SIGNAL h
            {
               name = "tx_data";
               radix = "ascii";
            }
            SIGNAL i
            {
               name = "rx_char_ready";
            }
            SIGNAL j
            {
               name = "rx_data";
               radix = "ascii";
            }
         }
      }
      WIZARD_SCRIPT_ARGUMENTS 
      {
         baud = "115200";
         data_bits = "8";
         fixed_baud = "1";
         parity = "N";
         stop_bits = "2";
         use_cts_rts = "0";
         use_eop_register = "0";
         sim_true_baud = "0";
         sim_char_stream = "";
      }
      HDL_INFO 
      {
         Simulation_HDL_Files = "__PROJECT_DIRECTORY__/sopc_sim/uart_printf_rx_stimulus_source_character_source_rom_module.vhd";
         Synthesis_HDL_Files = "__PROJECT_DIRECTORY__/uart_printf.vhd";
      }
      PORT_WIRING 
      {
         PORT rxd
         {
            direction = "input";
            width = "1";
         }
         PORT txd
         {
            direction = "output";
            width = "1";
         }
      }
   }
   MODULE rtos_ticks
   {
      class = "altera_avalon_timer";
      class_version = "2.0";
      SLAVE s1
      {
         SYSTEM_BUILDER_INFO 
         {
            Bus_Type = "avalon";
            Is_Printable_Device = "0";
            Address_Alignment = "native";
            Address_Width = "3";
            Data_Width = "16";
            Has_IRQ = "1";
            Read_Wait_States = "1";
            Write_Wait_States = "0";
            IRQ_Number = "17";
            Base_Address = "0x00000420";
            MASTERED_BY nios32_256/data_master
            {
               priority = "1";
            }
         }
         PORT_WIRING 
         {
            PORT address
            {
               direction = "input";
               type = "address";
               width = "3";
            }
            PORT chipselect
            {
               direction = "input";
               type = "chipselect";
               width = "1";
            }
            PORT clk
            {
               direction = "input";
               type = "clk";
               width = "1";
            }
            PORT irq
            {
               direction = "output";
               type = "irq";
               width = "1";
            }
            PORT readdata
            {
               direction = "output";
               type = "readdata";
               width = "16";
            }
            PORT reset_n
            {
               direction = "input";
               type = "reset_n";
               width = "1";
            }
            PORT write_n
            {
               direction = "input";
               type = "write_n";
               width = "1";
            }
            PORT writedata
            {
               direction = "input";
               type = "writedata";
               width = "16";
            }
         }
      }
      SYSTEM_BUILDER_INFO 
      {
         Instantiate_In_System_Module = "1";
         Is_Enabled = "1";
         View 
         {
            Settings_Summary = "Timer with 1 sec timeout period.";
            Is_Collapsed = "1";
            MESSAGES 
            {
            }
         }
      }
      WIZARD_SCRIPT_ARGUMENTS 
      {
         always_run = "0";
         fixed_period = "0";
         snapshot = "1";
         period = "1";
         period_units = "sec";
         reset_output = "0";
         timeout_pulse_output = "0";
         mult = "1";
      }
      HDL_INFO 
      {
         Simulation_HDL_Files = "";
         Synthesis_HDL_Files = "__PROJECT_DIRECTORY__/rtos_ticks.vhd";
      }
      PORT_WIRING 
      {
      }
   }
   MODULE nios_dev_board_sram32
   {
      class = "altera_nios_dev_board_sram32";
      class_version = "2.0";
      HDL_INFO 
      {
      }
      WIZARD_SCRIPT_ARGUMENTS 
      {
         CONTENTS srec
         {
            Kind = "blank";
            Build_Info = "";
            Command_Info = "";
            Textfile_Info = "";
            String_Info = "";
         }
         sram_memory_size = "256";
         sram_memory_units = "1024";
         sram_data_width = "16";
      }
      SLAVE s1
      {
         PORT_WIRING 
         {
            PORT address
            {
               direction = "input";
               is_shared = "1";
               type = "address";
               width = "16";
            }
            PORT be_n
            {
               direction = "input";
               is_shared = "1";
               type = "byteenable_n";
               width = "4";
            }
            PORT data
            {
               direction = "inout";
               is_shared = "1";
               type = "data";

⌨️ 快捷键说明

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