📄 full_1c20.ptf.4.01
字号:
width = "25";
}
PORT dma_ctl_readyfordata
{
direction = "output";
type = "readyfordata";
width = "1";
}
PORT dma_ctl_write_n
{
direction = "input";
type = "write_n";
width = "1";
}
PORT dma_ctl_writedata
{
direction = "input";
type = "writedata";
width = "25";
}
PORT reset_n
{
direction = "input";
type = "reset_n";
width = "1";
}
}
}
SYSTEM_BUILDER_INFO
{
Is_Enabled = "1";
Instantiate_In_System_Module = "1";
View
{
MESSAGES
{
}
Is_Collapsed = "0";
}
}
WIZARD_SCRIPT_ARGUMENTS
{
readaddress_reset_value = "0x0";
writeaddress_reset_value = "0x0";
length_reset_value = "0x0";
control_byte_reset_value = "0";
control_hw_reset_value = "0";
control_word_reset_value = "1";
control_go_reset_value = "0";
control_i_en_reset_value = "0";
control_reen_reset_value = "0";
control_ween_reset_value = "0";
control_leen_reset_value = "1";
control_rcon_reset_value = "0";
control_wcon_reset_value = "0";
control_doubleword_reset_value = "0";
control_quadword_reset_value = "0";
lengthwidth = "13";
fifo_in_logic_elements = "1";
allow_byte_transactions = "1";
allow_hw_transactions = "1";
allow_word_transactions = "1";
allow_doubleword_transactions = "1";
allow_quadword_transactions = "1";
}
HDL_INFO
{
Precompiled_Simulation_Library_Files = "";
Simulation_HDL_Files = "";
Synthesis_HDL_Files = "__PROJECT_DIRECTORY__/dma.vhd";
Synthesis_Only_Files = "";
}
PORT_WIRING
{
}
SIMULATION
{
DISPLAY
{
SIGNAL aaa
{
format = "Logic";
name = "busy";
radix = "binary";
}
SIGNAL aab
{
format = "Logic";
name = "done";
radix = "binary";
}
SIGNAL aac
{
format = "Literal";
name = "length";
radix = "hexadecimal";
}
SIGNAL aad
{
format = "Logic";
name = "fifo_empty";
radix = "binary";
}
SIGNAL aae
{
format = "Logic";
name = "p1_fifo_full";
radix = "binary";
}
SIGNAL aaf
{
format = "Divider";
name = "dma read_master";
radix = "";
}
SIGNAL aag
{
format = "Literal";
name = "read_address";
radix = "hexadecimal";
}
SIGNAL aah
{
format = "Logic";
name = "read_chipselect";
radix = "binary";
}
SIGNAL aai
{
format = "Logic";
name = "read_endofpacket";
radix = "binary";
}
SIGNAL aaj
{
format = "Logic";
name = "read_flush";
radix = "binary";
}
SIGNAL aak
{
format = "Logic";
name = "read_read_n";
radix = "binary";
}
SIGNAL aal
{
format = "Literal";
name = "read_readdata";
radix = "hexadecimal";
}
SIGNAL aam
{
format = "Logic";
name = "read_readdatavalid";
radix = "binary";
}
SIGNAL aan
{
format = "Logic";
name = "read_waitrequest";
radix = "binary";
}
SIGNAL aao
{
format = "Divider";
name = "dma write_master";
radix = "";
}
SIGNAL aap
{
format = "Literal";
name = "write_address";
radix = "hexadecimal";
}
SIGNAL aaq
{
format = "Literal";
name = "write_byteenable";
radix = "hexadecimal";
}
SIGNAL aar
{
format = "Logic";
name = "write_chipselect";
radix = "binary";
}
SIGNAL aas
{
format = "Logic";
name = "write_endofpacket";
radix = "binary";
}
SIGNAL aat
{
format = "Logic";
name = "write_waitrequest";
radix = "binary";
}
SIGNAL aau
{
format = "Logic";
name = "write_write_n";
radix = "binary";
}
SIGNAL aav
{
format = "Literal";
name = "write_writedata";
radix = "hexadecimal";
}
}
}
}
MODULE ext_ram_bus
{
class = "altera_avalon_tri_state_bridge";
class_version = "2.0";
SLAVE avalon_slave
{
SYSTEM_BUILDER_INFO
{
Bus_Type = "avalon";
Bridges_To = "tristate_master";
Base_Address = "N/A";
Has_IRQ = "0";
IRQ = "N/A";
Register_Outgoing_Signals = "1";
Register_Incoming_Signals = "1";
MASTERED_BY cpu/instruction_master
{
priority = "1";
}
MASTERED_BY cpu/data_master
{
priority = "1";
}
IRQ_MASTER cpu/data_master
{
IRQ_Number = "NC";
}
MASTERED_BY dma/read_master
{
priority = "1";
}
MASTERED_BY dma/write_master
{
priority = "1";
}
}
}
MASTER tristate_master
{
SYSTEM_BUILDER_INFO
{
Bus_Type = "avalon_tristate";
Bridges_To = "avalon_slave";
}
}
SYSTEM_BUILDER_INFO
{
Instantiate_In_System_Module = "1";
Is_Enabled = "1";
Is_Bridge = "1";
View
{
MESSAGES
{
}
Is_Collapsed = "0";
}
}
}
MODULE ext_flash
{
class = "altera_avalon_cfi_flash";
class_version = "1.0";
iss_model_name = "altera_avalon_flash";
HDL_INFO
{
}
SLAVE s1
{
PORT_WIRING
{
PORT data
{
width = "8";
is_shared = "1";
direction = "inout";
type = "data";
}
PORT address
{
width = "23";
is_shared = "1";
direction = "input";
type = "address";
}
PORT read_n
{
width = "1";
is_shared = "1";
direction = "input";
type = "read_n";
}
PORT write_n
{
width = "1";
is_shared = "0";
direction = "input";
type = "write_n";
}
PORT select_n
{
width = "1";
is_shared = "0";
direction = "input";
type = "chipselect_n";
}
}
WIZARD_SCRIPT_ARGUMENTS
{
class = "altera_avalon_cfi_flash";
flash_reference_designator = "U5";
Supports_Flash_File_System = "1";
}
SYSTEM_BUILDER_INFO
{
Bus_Type = "avalon_tristate";
Is_Memory_Device = "1";
Address_Alignment = "dynamic";
Has_IRQ = "0";
Base_Address = "0x00000000";
Data_Width = "8";
Address_Width = "23";
Write_Wait_States = "160.0ns";
Read_Wait_States = "160.0ns";
Setup_Time = "40.0ns";
Hold_Time = "40.0ns";
MASTERED_BY ext_ram_bus/tristate_master
{
priority = "1";
}
Is_Base_Locked = "1";
Simulation_Num_Lanes = "1";
Is_Nonvolatile_Storage = "1";
Address_Span = "8388608";
IRQ_MASTER cpu/data_master
{
IRQ_Number = "NC";
}
Convert_Xs_To_0 = "1";
}
}
SYSTEM_BUILDER_INFO
{
Is_Enabled = "1";
Instantiate_In_System_Module = "0";
View
{
MESSAGES
{
}
Is_Collapsed = "1";
}
Make_Memory_Model = "1";
}
WIZARD_SCRIPT_ARGUMENTS
{
Setup_Value = "40";
Wait_Value = "160";
Hold_Value = "40";
Timing_Units = "ns";
Unit_Multiplier = "1";
Size = "8388608";
MAKE
{
TARGET flashfiles
{
ext_flash
{
Command1 = "@echo Post-processing to create $(notdir $@)";
Dependency = "$(ELF)";
Target_File = "$(EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX)ext_flash.flash";
Command2 = "elf2flash --input=$(ELF) --flash=U5 --boot=`$(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir $(CPU_CLASS)`/$(BOOT_COPIER) --outfile=$(EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX)ext_flash.flash --sim_optimize=$(ALT_SIM_OPTIMIZE) --base=0x0 --end=0x7FFFFF --reset=$(CPU_RESET_ADDRESS) ";
}
}
TARGET programflash
{
ext_flash
{
All_Depends_On = "0";
Command1 = "nios2-flash-programmer --input=$(EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX)ext_flash.flash --sof=`$(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir altera_nios_dev_board_cyclone_1c20`/system/altera_nios_dev_board_cyclone_1c20.sof --device=1 $(JTAG_CABLE) --base=0x00800000 ";
Dependency = "$(EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX)ext_flash.flash";
Target_File = "ext_flash_programflash";
Is_Phony = "1";
}
}
TARGET factory
{
ext_flash
{
All_Depends_On = "0";
Command1 = "sof2flash --flash=U5 --offset=0x700000 --output=factory.flash $(SOF) ";
Command2 = "nios2-flash-programmer --input=factory.flash --sof=`$(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir altera_nios_dev_board_cyclone_1c20`/system/altera_nios_dev_board_cyclone_1c20.sof --device=1 $(JTAG_CABLE) --base=0x00800000 ";
Dependency = "";
Is_Phony = "1";
Target_File = "ext_flash_factory_configuration";
}
}
MACRO
{
EXT_FLASH_FLASHTARGET_ALT_SIM_PREFIX = "$(EXT_FLASH_FLASHTARGET_TMP1:0=)";
EXT_FLASH_FLASHTARGET_TMP1 = "$(ALT_SIM_OPTIMIZE:1=RUN_ON_HDL_SIMULATOR_ONLY_)";
}
MASTER cpu
{
MACRO
{
BOOT_COPIER = "boot_loader_cfi.srec";
CPU_CLASS = "altera_nios2";
CPU_RESET_ADDRESS = "0x0";
}
}
TARGET sim
{
ext_flash
{
Command1 = "if [ ! -d $(SIMDIR) ]; then mkdir $(SIMDIR) ; fi";
Command2 = "@echo Hardware simulation is not enabled for the target SOPC Builder system. Skipping creation of hardware simulation model contents and simulation symbol files. \\(Note: This does not affect the instruction set simulator.\\)";
Command3 = "touch $(SIMDIR)/dummy_file";
Dependency = "$(ELF)";
Target_File = "$(SIMDIR)/dummy_file";
}
}
TARGET delete_placeholder_warning
{
ext_flash
{
Command1 = "rm -f $(SIMDIR)/contents_file_warning.txt";
Is_Phony = "1";
Target_File = "do_delete_placeholder_warning";
}
}
TARGET user
{
ext_flash
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -