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

📄 spdp_cast_comp_top_hw.tcl

📁 nios里面用自定义指令集来实现三角函数
💻 TCL
字号:
# TCL File Generated by Component Editor 7.2sp1 on:
# Sat Mar 08 13:05:33 EST 2008
# DO NOT MODIFY

set_source_file "SPDP_CAST_COMP_top.v"
set_module "SPDP_CAST_COMP_top"
set_module_description ""
set_module_property "author" "RSF"
set_module_property "className" "SPDP_CAST_COMP"
set_module_property "group" "Custom Instruction Modules"
set_module_property "instantiateInSystemModule" "true"
set_module_property "synthesisFiles" [ list "SPDP_CAST_COMP_top.v" \
"SPDP_Engine.vhd" \
"alt_cusp72_addsubcarry.vhd" \
"alt_cusp72_au.vhd" \
"alt_cusp72_clock_reset.vhd" \
"alt_cusp72_cmp.vhd" \
"alt_cusp72_gpi.vhd" \
"alt_cusp72_gpo.vhd" \
"alt_cusp72_mult.vhd" \
"alt_cusp72_muxbin2.vhd" \
"alt_cusp72_muxbin2_wire.vhd" \
"alt_cusp72_muxfast4.vhd" \
"alt_cusp72_muxfast8.vhd" \
"alt_cusp72_muxhot16_wire.vhd" \
"alt_cusp72_muxhot32.vhd" \
"alt_cusp72_muxhot64_wire.vhd" \
"alt_cusp72_pc.vhd" \
"alt_cusp72_reg.vhd" \
"alt_cusp72_shift.vhd" \
"hopt_mult_l3.vqm" \
"hopt_mult_l4.vqm" \
"hopt_mult_l5.vqm" \
"fp_double_to_single.v" \
"fp_float_to_int.v" \
"fp_int_to_float.v" \
"fp_single_to_double.v" ]


# Module parameters

# Interface nios_custom_instruction_slave
add_interface "nios_custom_instruction_slave" "nios_custom_instruction" "slave" "asynchronous"
set_interface_property "nios_custom_instruction_slave" "operands" "2"
set_interface_property "nios_custom_instruction_slave" "clockCycle" "0"
set_interface_property "nios_custom_instruction_slave" "opcodeExtensionLocked" "false"
set_interface_property "nios_custom_instruction_slave" "CIName" "ORIGSPDPfpoint"
# Ports in interface nios_custom_instruction_slave
add_port_to_interface "nios_custom_instruction_slave" "clk" "clk"
set_port_direction_and_width "clk" "input" "1"
add_port_to_interface "nios_custom_instruction_slave" "clk_en" "clk_en"
set_port_direction_and_width "clk_en" "input" "1"
add_port_to_interface "nios_custom_instruction_slave" "dataa" "dataa"
set_port_direction_and_width "dataa" "input" "32"
add_port_to_interface "nios_custom_instruction_slave" "datab" "datab"
set_port_direction_and_width "datab" "input" "32"
add_port_to_interface "nios_custom_instruction_slave" "n" "n"
set_port_direction_and_width "n" "input" "5"
add_port_to_interface "nios_custom_instruction_slave" "reset" "reset"
set_port_direction_and_width "reset" "input" "1"
add_port_to_interface "nios_custom_instruction_slave" "start" "start"
set_port_direction_and_width "start" "input" "1"
add_port_to_interface "nios_custom_instruction_slave" "done" "done"
set_port_direction_and_width "done" "output" "1"
add_port_to_interface "nios_custom_instruction_slave" "result" "result"
set_port_direction_and_width "result" "output" "32"

⌨️ 快捷键说明

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