📄 first_nios2_system.ptf
字号:
type = "byteenable";
width = "4";
direction = "output";
Is_Enabled = "1";
}
PORT d_read
{
type = "read";
width = "1";
direction = "output";
Is_Enabled = "1";
}
PORT d_readdata
{
type = "readdata";
width = "32";
direction = "input";
Is_Enabled = "1";
}
PORT d_readdatavalid
{
type = "readdatavalid";
width = "1";
direction = "input";
Is_Enabled = "0";
}
PORT d_waitrequest
{
type = "waitrequest";
width = "1";
direction = "input";
Is_Enabled = "1";
}
PORT d_write
{
type = "write";
width = "1";
direction = "output";
Is_Enabled = "1";
}
PORT d_writedata
{
type = "writedata";
width = "32";
direction = "output";
Is_Enabled = "1";
}
PORT jtag_debug_module_debugaccess_to_roms
{
type = "debugaccess";
width = "1";
direction = "output";
Is_Enabled = "1";
}
}
MEMORY_MAP
{
Entry cpu_0/jtag_debug_module
{
address = "0x00001000";
span = "0x00000800";
}
Entry onchip_ROM/s1
{
address = "0x00001800";
span = "0x00000800";
}
Entry onchip_RAM/s1
{
address = "0x00002400";
span = "0x00000400";
}
Entry LED_PIO/s1
{
address = "0x00002800";
span = "0x00000010";
}
Entry sysid/control_slave
{
address = "0x00002810";
span = "0x00000008";
}
}
}
WIZARD_SCRIPT_ARGUMENTS
{
cache_has_dcache = "0";
cache_dcache_size = "0";
cache_dcache_line_size = "0";
cache_dcache_bursts = "0";
cache_dcache_ram_block_type = "AUTO";
num_tightly_coupled_data_masters = "0";
gui_num_tightly_coupled_data_masters = "0";
gui_include_tightly_coupled_data_masters = "0";
gui_omit_avalon_data_master = "0";
cache_has_icache = "1";
cache_icache_size = "2048";
cache_icache_line_size = "32";
cache_icache_ram_block_type = "AUTO";
cache_icache_bursts = "0";
num_tightly_coupled_instruction_masters = "0";
gui_num_tightly_coupled_instruction_masters = "0";
gui_include_tightly_coupled_instruction_masters = "0";
debug_level = "2";
include_oci = "1";
oci_sbi_enabled = "1";
oci_num_xbrk = "0";
oci_num_dbrk = "0";
oci_dbrk_trace = "0";
oci_dbrk_pairs = "0";
oci_onchip_trace = "0";
oci_offchip_trace = "0";
oci_data_trace = "0";
include_third_party_debug_port = "0";
oci_trace_addr_width = "7";
oci_trigger_arming = "1";
oci_debugreq_signals = "0";
oci_embedded_pll = "1";
oci_num_pm = "0";
oci_pm_width = "32";
performance_counters_present = "0";
performance_counters_width = "32";
always_encrypt = "1";
debug_simgen = "0";
activate_model_checker = "0";
activate_test_end_checker = "0";
activate_trace = "1";
activate_monitors = "1";
clear_x_bits_ld_non_bypass = "1";
bit_31_bypass_dcache = "1";
always_bypass_dcache = "0";
hdl_sim_caches_cleared = "1";
hbreak_test = "0";
allow_full_address_range = "0";
branch_prediction_type = "Static";
bht_ptr_sz = "8";
bht_index_pc_only = "0";
gui_branch_prediction_type = "Automatic";
full_waveform_signals = "0";
export_pcb = "0";
avalon_debug_port_present = "0";
gui_illegal_instructions_trap = "0";
gui_illegal_memory_access_detection = "0";
illegal_mem_exc = "0";
slave_access_error_exc = "0";
division_error_exc = "0";
gui_mmu_present = "0";
process_id_num_bits = "10";
dtlb_ptr_sz = "7";
itlb_ptr_sz = "7";
dtlb_num_ways = "4";
itlb_num_ways = "4";
udtlb_num_entries = "6";
uitlb_num_entries = "4";
fast_tlb_miss_exc_slave = "";
fast_tlb_miss_exc_offset = "0x00000000";
hardware_divide_present = "0";
gui_hardware_divide_setting = "0";
hardware_multiply_present = "0";
hardware_multiply_impl = "no_mul";
shift_rot_impl = "small_le_shift";
gui_hardware_multiply_setting = "no_mul_small_le_shift";
reset_slave = "onchip_ROM/s1";
break_slave = "cpu_0/jtag_debug_module";
exc_slave = "onchip_RAM/s1";
reset_offset = "0x00000000";
break_offset = "0x00000020";
exc_offset = "0x00000020";
cpu_reset = "0";
CPU_Implementation = "small";
cpu_selection = "s";
device_family_id = "CYCLONEII";
address_stall_present = "1";
dsp_block_supports_shift = "0";
do_generate = "1";
cpuid_value = "0";
cpuid_sz = "1";
dont_overwrite_cpuid = "1";
allow_legacy_sdk = "1";
legacy_sdk_support = "1";
inst_addr_width = "14";
data_addr_width = "14";
asp_debug = "0";
asp_core_debug = "0";
CPU_Architecture = "nios2";
cache_icache_burst_type = "none";
include_debug = "0";
include_trace = "0";
hardware_multiply_uses_les = "0";
hardware_multiply_omits_msw = "1";
big_endian = "0";
break_slave_override = "";
break_offset_override = "0x20";
altera_show_unreleased_features = "0";
altera_show_unpublished_features = "0";
altera_internal_test = "0";
alt_log_port_base = "";
alt_log_port_type = "";
mmu_present = "0";
nmi_present = "0";
fast_intr_present = "0";
num_shadow_regs = "0";
illegal_instructions_trap = "0";
illegal_memory_access_detection = "0";
cache_omit_dcache = "0";
cache_omit_icache = "0";
omit_instruction_master = "0";
omit_data_master = "0";
ras_ptr_sz = "4";
jtb_ptr_sz = "5";
ibuf_ptr_sz = "4";
iss_trace_on = "0";
iss_trace_warning = "1";
iss_trace_info = "1";
iss_trace_disassembly = "0";
iss_trace_registers = "0";
iss_trace_instr_count = "0";
iss_software_debug = "0";
iss_software_debug_port = "9996";
iss_memory_dump_start = "";
iss_memory_dump_end = "";
Boot_Copier = "boot_loader_cfi.srec";
Boot_Copier_EPCS = "boot_loader_epcs.srec";
Boot_Copier_EPCS_SII_CIII = "boot_loader_epcs_sii_ciii.srec";
Boot_Copier_BE = "boot_loader_cfi_be.srec";
Boot_Copier_EPCS_BE = "boot_loader_epcs_be.srec";
Boot_Copier_EPCS_SII_CIII_BE = "boot_loader_epcs_sii_ciii_be.srec";
CONSTANTS
{
CONSTANT __nios_catch_irqs__
{
value = "1";
comment = "Include panic handler for all irqs (needs uart)";
}
CONSTANT __nios_use_constructors__
{
value = "1";
comment = "Call c++ static constructors";
}
CONSTANT __nios_use_small_printf__
{
value = "1";
comment = "Smaller non-ANSI printf, with no floating point";
}
CONSTANT nasys_has_icache
{
value = "1";
comment = "True if instruction cache present";
}
CONSTANT nasys_icache_size
{
value = "2048";
comment = "Size in bytes of instruction cache";
}
CONSTANT nasys_icache_line_size
{
value = "32";
comment = "Size in bytes of each icache line";
}
CONSTANT nasys_icache_line_size_log2
{
value = "5";
comment = "Log2 size in bytes of each icache line";
}
CONSTANT nasys_has_dcache
{
value = "0";
comment = "True if instruction cache present";
}
CONSTANT nasys_dcache_size
{
value = "0";
comment = "Size in bytes of data cache";
}
CONSTANT nasys_dcache_line_size
{
value = "0";
comment = "Size in bytes of each dcache line";
}
CONSTANT nasys_dcache_line_size_log2
{
value = "-Infinity";
comment = "Log2 size in bytes of each dcache line";
}
}
license_status = "encrypted";
mainmem_slave = "onchip_RAM/s1";
datamem_slave = "onchip_RAM/s1";
maincomm_slave = "";
germs_monitor_id = "";
advanced_exc = "0";
}
class = "altera_nios2";
class_version = "7.07";
SYSTEM_BUILDER_INFO
{
Is_Enabled = "1";
Clock_Source = "clk";
Has_Clock = "1";
Parameters_Signature = "";
Is_CPU = "1";
Instantiate_In_System_Module = "1";
Required_Device_Family = "STRATIX,STRATIXGX,STRATIXII,STRATIXIIGX,STRATIXIIGXLITE,STRATIXIII,CYCLONE,CYCLONEII,CYCLONEIII";
Default_Module_Name = "cpu";
Top_Level_Ports_Are_Enumerated = "1";
View
{
Settings_Summary = "Nios II/s
<br> 2-Kbyte Instruction Cache
<br> JTAG Debug Module
";
MESSAGES
{
}
}
}
iss_model_name = "altera_nios2";
HDL_INFO
{
PLI_Files = "";
Precompiled_Simulation_Library_Files = "";
Simulation_HDL_Files = "";
Synthesis_HDL_Files = "__PROJECT_DIRECTORY__/cpu_0_test_bench.v, __PROJECT_DIRECTORY__/cpu_0_jtag_debug_module.v, __PROJECT_DIRECTORY__/cpu_0_jtag_debug_module_wrapper.v, __PROJECT_DIRECTORY__/cpu_0.v";
Synthesis_Only_Files = "";
}
MASTER tightly_coupled_instruction_master_0
{
PORT_WIRING
{
}
SYSTEM_BUILDER_INFO
{
Register_Incoming_Signals = "0";
Bus_Type = "avalon";
Data_Width = "32";
Max_Address_Width = "31";
Address_Width = "8";
Is_Instruction_Master = "1";
Has_IRQ = "0";
Is_Enabled = "0";
Is_Big_Endian = "0";
Connection_Limit = "1";
Is_Channel = "1";
}
}
MASTER tightly_coupled_instruction_master_1
{
PORT_WIRING
{
}
SYSTEM_BUILDER_INFO
{
Register_Incoming_Signals = "0";
Bus_Type = "avalon";
Data_Width = "32";
Max_Address_Width = "31";
Address_Width = "8";
Address_Group = "0";
Is_Instruction_Master = "1";
Is_Readable = "1";
Is_Writeable = "0";
Has_IRQ = "0";
Is_Enabled = "0";
Is_Big_Endian = "0";
Connection_Limit = "1";
Is_Channel = "1";
}
}
MASTER tightly_coupled_instruction_master_2
{
PORT_WIRING
{
}
SYSTEM_BUILDER_INFO
{
Register_Incoming_Signals = "0";
Bus_Type = "avalon";
Data_Width = "32";
Max_Address_Width = "31";
Address_Width = "8";
Address_Group = "0";
Is_Instruction_Master = "1";
Is_Readable = "1";
Is_Writeable = "0";
Has_IRQ = "0";
Is_Enabled = "0";
Is_Big_Endian = "0";
Connection_Limit = "1";
Is_Channel = "1";
}
}
MASTER tightly_coupled_instruction_master_3
{
PORT_WIRING
{
}
SYSTEM_BUILDER_INFO
{
Register_Incoming_Signals = "0";
Bus_Type = "avalon";
Data_Width = "32";
Max_Address_Width = "31";
Address_Width = "8";
Address_Group = "0";
Is_Instruction_Master = "1";
Is_Readable = "1";
Is_Writeable = "0";
Has_IRQ = "0";
Is_Enabled = "0";
Is_Big_Endian = "0";
Connection_Limit = "1";
Is_Channel = "1";
}
}
MASTER data_master2
{
PORT_WIRING
{
}
SYSTEM_BUILDER_INFO
{
Register_Incoming_Signals = "1";
Bus_Type = "avalon";
Data_Width = "32";
Max_Address_Width = "31";
Address_Width = "8";
Address_Group = "0";
Is_Data_Master = "1";
Is_Readable = "1";
Is_Writeable = "1";
Has_IRQ = "0";
Is_Enabled = "0";
Is_Big_Endian = "0";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -