#######################################################################
|
#######################################################################
|
## File: lm32.IP
|
## File: lm32.IP
|
##
|
##
|
## Copyright (C) 2014-2016 Alireza Monemi
|
## Copyright (C) 2014-2016 Alireza Monemi
|
##
|
##
|
## This file is part of ProNoC 1.5.0
|
## This file is part of ProNoC 1.7.0
|
##
|
##
|
## WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT
|
## WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT
|
## MAY CAUSE UNEXPECTED BEHAIVOR.
|
## MAY CAUSE UNEXPECTED BEHAIVOR.
|
################################################################################
|
################################################################################
|
|
|
$lm32 = bless( {
|
$lm32 = bless( {
|
'hdl_files' => [
|
'hdl_files' => [
|
'/mpsoc/src_processor/lm32/verilog/src/er1.v',
|
'/mpsoc/src_processor/lm32/verilog/src/er1.v',
|
'/mpsoc/src_processor/lm32/verilog/src/JTAGB.v',
|
'/mpsoc/src_processor/lm32/verilog/src/JTAGB.v',
|
'/mpsoc/src_processor/lm32/verilog/src/jtag_lm32.v',
|
'/mpsoc/src_processor/lm32/verilog/src/jtag_lm32.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_adder.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_adder.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_addsub.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_addsub.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_cpu.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_cpu.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_dcache.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_dcache.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_debug.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_debug.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_decoder.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_decoder.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_functions.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_functions.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_icache.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_icache.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_include.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_include.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_instruction_unit.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_instruction_unit.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_interrupt.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_interrupt.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_jtag.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_jtag.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_load_store_unit.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_load_store_unit.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_logic_op.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_logic_op.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_mc_arithmetic.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_mc_arithmetic.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_monitor.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_monitor.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_multiplier.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_multiplier.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_ram.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_ram.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_shifter.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_shifter.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_simtrace.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_simtrace.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_top.v',
|
'/mpsoc/src_processor/lm32/verilog/src/lm32_top.v',
|
'/mpsoc/src_processor/lm32/verilog/src/spiprog.v',
|
'/mpsoc/src_processor/lm32/verilog/src/spiprog.v',
|
'/mpsoc/src_processor/lm32/verilog/src/system_conf.v',
|
'/mpsoc/src_processor/lm32/verilog/src/system_conf.v',
|
'/mpsoc/src_processor/lm32/verilog/src/typea.v',
|
'/mpsoc/src_processor/lm32/verilog/src/typea.v',
|
'/mpsoc/src_processor/lm32/verilog/src/typeb.v'
|
'/mpsoc/src_processor/lm32/verilog/src/typeb.v'
|
],
|
],
|
'system_h' => '#include "lm32_system.h"
|
'category' => 'Processor',
|
inline void nop (void) {
|
|
asm volatile ("nop");
|
|
}',
|
|
'ip_name' => 'lm32',
|
|
'parameters_order' => [
|
|
'INTR_NUM',
|
|
'CFG_PL_MULTIPLY',
|
|
'CFG_PL_BARREL_SHIFT',
|
|
'CFG_SIGN_EXTEND',
|
|
'CFG_MC_DIVIDE'
|
|
],
|
|
'ports_order' => [
|
|
'clk_i',
|
|
'rst_i',
|
|
'en_i',
|
|
'interrupt',
|
|
'I_DAT_I',
|
|
'I_ACK_I',
|
|
'I_ERR_I',
|
|
'I_RTY_I',
|
|
'I_DAT_O',
|
|
'I_ADR_O',
|
|
'I_CYC_O',
|
|
'I_SEL_O',
|
|
'I_STB_O',
|
|
'I_WE_O',
|
|
'I_CTI_O',
|
|
'I_BTE_O',
|
|
'D_DAT_I',
|
|
'D_ACK_I',
|
|
'D_ERR_I',
|
|
'D_RTY_I',
|
|
'D_DAT_O',
|
|
'D_ADR_O',
|
|
'D_CYC_O',
|
|
'D_SEL_O',
|
|
'D_STB_O',
|
|
'D_WE_O',
|
|
'D_CTI_O',
|
|
'D_BTE_O'
|
|
],
|
|
'sockets' => {
|
'sockets' => {
|
'interrupt_peripheral' => {
|
'interrupt_peripheral' => {
|
|
'type' => 'param',
|
'interrupt_peripheral' => {},
|
'interrupt_peripheral' => {},
|
'connection_num' => 'single connection',
|
|
'value' => 'INTR_NUM',
|
|
'0' => {
|
'0' => {
|
'name' => 'interrupt_peripheral'
|
'name' => 'interrupt_peripheral'
|
},
|
},
|
'type' => 'param'
|
'value' => 'INTR_NUM',
|
|
'connection_num' => 'single connection'
|
}
|
}
|
},
|
},
|
'file_name' => '/home/alireza/Mywork/mpsoc/src_processor/lm32/verilog/src/lm32.v',
|
|
'module_name' => 'lm32',
|
|
'unused' => {
|
|
'plug:wb_master[1]' => [
|
|
'tag_o'
|
|
],
|
|
'plug:wb_master[0]' => [
|
|
'tag_o'
|
|
]
|
|
},
|
|
'category' => 'Processor',
|
|
'sw_files' => [
|
'sw_files' => [
|
'/mpsoc/src_processor/lm32/sw/crt0ram.S',
|
'/mpsoc/src_processor/lm32/sw/crt0ram.S',
|
'/mpsoc/src_processor/lm32/sw/linker.ld',
|
'/mpsoc/src_processor/lm32/sw/linker.ld',
|
'/mpsoc/src_processor/lm32/sw/lm32_system.h',
|
'/mpsoc/src_processor/lm32/sw/lm32_system.h',
|
'/mpsoc/src_processor/lm32/sw/Makefile',
|
'/mpsoc/src_processor/lm32/sw/Makefile',
|
'/mpsoc/src_processor/lm32/sw/program',
|
'/mpsoc/src_processor/lm32/sw/program',
|
'/mpsoc/src_processor/program.sh'
|
'/mpsoc/src_processor/program.sh',
|
|
'/mpsoc/src_processor/lm32/sw/define_printf.h',
|
|
'/mpsoc/src_processor/src_lib/simple-printf'
|
],
|
],
|
'description' => 'The LatticeMico32 is a 32-bit Harvard, RISC architecture "soft" microprocessor, available for free with an open IP core licensing agreement.
|
'unused' => {
|
|
'plug:wb_master[0]' => [
|
for more information vist: http://www.latticesemi.com/en/Products/DesignSoftwareAndIP/IntellectualProperty/IPCore/IPCores02/LatticeMico32.aspx',
|
'tag_o'
|
'gui_status' => {
|
],
|
'timeout' => 0,
|
'plug:wb_master[1]' => [
|
'status' => 'ideal'
|
'tag_o'
|
},
|
]
|
'plugs' => {
|
|
'wb_master' => {
|
|
'wb_master' => {},
|
|
'1' => {
|
|
'name' => 'dwb'
|
|
},
|
|
'value' => 2,
|
|
'0' => {
|
|
'name' => 'iwb'
|
|
},
|
},
|
'type' => 'num'
|
'module_name' => 'lm32',
|
|
'parameters_order' => [
|
|
'INTR_NUM',
|
|
'CFG_PL_MULTIPLY',
|
|
'CFG_PL_BARREL_SHIFT',
|
|
'CFG_SIGN_EXTEND',
|
|
'CFG_MC_DIVIDE'
|
|
],
|
|
'system_h' => '#include "lm32_system.h"
|
|
inline void nop (void) {
|
|
asm volatile ("nop");
|
|
}',
|
|
'modules' => {
|
|
'lm32' => {}
|
},
|
},
|
'enable' => {
|
'ip_name' => 'lm32',
|
'enable' => {},
|
'plugs' => {
|
|
'reset' => {
|
'0' => {
|
'0' => {
|
'name' => 'enable'
|
'name' => 'reset'
|
},
|
|
'value' => 1,
|
|
'type' => 'num'
|
|
},
|
},
|
'reset' => {
|
'type' => 'num',
|
|
'reset' => {},
|
'1' => {
|
'1' => {
|
'name' => 'reset_1'
|
'name' => 'reset_1'
|
},
|
},
|
'reset' => {},
|
'value' => 1
|
'0' => {
|
|
'name' => 'reset'
|
|
},
|
|
'value' => 1,
|
|
'type' => 'num'
|
|
},
|
},
|
'clk' => {
|
'clk' => {
|
'clk' => {},
|
|
'0' => {
|
'0' => {
|
'name' => 'clk'
|
'name' => 'clk'
|
},
|
},
|
'value' => 1,
|
'type' => 'num',
|
'type' => 'num'
|
'clk' => {},
|
}
|
'value' => 1
|
},
|
|
'modules' => {
|
|
'lm32' => {}
|
|
},
|
},
|
'parameters' => {
|
'enable' => {
|
'CFG_PL_BARREL_SHIFT' => {
|
'enable' => {},
|
'info' => undef,
|
'type' => 'num',
|
'deafult' => '"ENABLED"',
|
'0' => {
|
'global_param' => 0,
|
'name' => 'enable'
|
'content' => '"ENABLED","DISABLED"',
|
|
'redefine_param' => 1,
|
|
'type' => 'Fixed'
|
|
},
|
},
|
'CFG_SIGN_EXTEND' => {
|
'value' => 1
|
'info' => undef,
|
|
'deafult' => '"ENABLED"',
|
|
'global_param' => 0,
|
|
'content' => '"ENABLED","DISABLED"',
|
|
'redefine_param' => 1,
|
|
'type' => 'Fixed'
|
|
},
|
},
|
'CFG_PL_MULTIPLY' => {
|
'wb_master' => {
|
'info' => undef,
|
'1' => {
|
'deafult' => '"ENABLED"',
|
'name' => 'dwb'
|
'global_param' => 0,
|
|
'content' => '"ENABLED","DISABLED"',
|
|
'redefine_param' => 1,
|
|
'type' => 'Fixed'
|
|
},
|
},
|
'INTR_NUM' => {
|
'value' => 2,
|
'info' => undef,
|
'0' => {
|
'deafult' => '32',
|
'name' => 'iwb'
|
'global_param' => 0,
|
|
'content' => '',
|
|
'redefine_param' => 1,
|
|
'type' => 'Fixed'
|
|
},
|
},
|
'CFG_MC_DIVIDE' => {
|
'type' => 'num',
|
'info' => undef,
|
'wb_master' => {}
|
'deafult' => '"DISABLED"',
|
|
'global_param' => 0,
|
|
'content' => '"ENABLED","DISABLED"',
|
|
'redefine_param' => 1,
|
|
'type' => 'Fixed'
|
|
}
|
}
|
},
|
},
|
'ports' => {
|
'ports' => {
|
'I_SEL_O' => {
|
'interrupt' => {
|
'intfc_port' => 'sel_o',
|
'intfc_port' => 'int_i',
|
'intfc_name' => 'plug:wb_master[0]',
|
'type' => 'input',
|
'range' => '(4-1):0',
|
|
'type' => 'output'
|
|
},
|
|
'I_DAT_I' => {
|
|
'intfc_port' => 'dat_i',
|
|
'intfc_name' => 'plug:wb_master[0]',
|
|
'range' => '(32-1):0',
|
'range' => '(32-1):0',
|
|
'intfc_name' => 'socket:interrupt_peripheral[array]'
|
|
},
|
|
'D_ACK_I' => {
|
|
'intfc_port' => 'ack_i',
|
|
'type' => 'input',
|
|
'range' => '',
|
|
'intfc_name' => 'plug:wb_master[1]'
|
|
},
|
|
'D_RTY_I' => {
|
|
'intfc_name' => 'plug:wb_master[1]',
|
|
'intfc_port' => 'rty_i',
|
|
'range' => '',
|
'type' => 'input'
|
'type' => 'input'
|
},
|
},
|
'I_CTI_O' => {
|
'I_CTI_O' => {
|
'intfc_port' => 'cti_o',
|
|
'intfc_name' => 'plug:wb_master[0]',
|
'intfc_name' => 'plug:wb_master[0]',
|
|
'type' => 'output',
|
'range' => '(3-1):0',
|
'range' => '(3-1):0',
|
'type' => 'output'
|
'intfc_port' => 'cti_o'
|
},
|
},
|
'D_WE_O' => {
|
'I_DAT_O' => {
|
'intfc_port' => 'we_o',
|
'type' => 'output',
|
|
'range' => '(32-1):0',
|
|
'intfc_port' => 'dat_o',
|
|
'intfc_name' => 'plug:wb_master[0]'
|
|
},
|
|
'I_DAT_I' => {
|
|
'type' => 'input',
|
|
'range' => '(32-1):0',
|
|
'intfc_port' => 'dat_i',
|
|
'intfc_name' => 'plug:wb_master[0]'
|
|
},
|
|
'D_ADR_O' => {
|
'intfc_name' => 'plug:wb_master[1]',
|
'intfc_name' => 'plug:wb_master[1]',
|
|
'intfc_port' => 'adr_o',
|
|
'type' => 'output',
|
|
'range' => '(32-1):0'
|
|
},
|
|
'I_ACK_I' => {
|
|
'intfc_port' => 'ack_i',
|
|
'type' => 'input',
|
'range' => '',
|
'range' => '',
|
'type' => 'output'
|
'intfc_name' => 'plug:wb_master[0]'
|
},
|
},
|
'I_ERR_I' => {
|
'I_BTE_O' => {
|
'intfc_port' => 'err_i',
|
'intfc_port' => 'bte_o',
|
|
'type' => 'output',
|
|
'range' => '(2-1):0',
|
|
'intfc_name' => 'plug:wb_master[0]'
|
|
},
|
|
'I_RTY_I' => {
|
'intfc_name' => 'plug:wb_master[0]',
|
'intfc_name' => 'plug:wb_master[0]',
|
'range' => '',
|
'range' => '',
|
'type' => 'input'
|
'type' => 'input',
|
|
'intfc_port' => 'rty_i'
|
},
|
},
|
'D_ADR_O' => {
|
'clk_i' => {
|
'intfc_port' => 'adr_o',
|
'type' => 'input',
|
'intfc_name' => 'plug:wb_master[1]',
|
'range' => '',
|
'range' => '(32-1):0',
|
'intfc_port' => 'clk_i',
|
'type' => 'output'
|
'intfc_name' => 'plug:clk[0]'
|
},
|
},
|
'D_CTI_O' => {
|
'D_CTI_O' => {
|
'intfc_port' => 'cti_o',
|
|
'intfc_name' => 'plug:wb_master[1]',
|
'intfc_name' => 'plug:wb_master[1]',
|
'range' => '(3-1):0',
|
'range' => '(3-1):0',
|
'type' => 'output'
|
'type' => 'output',
|
|
'intfc_port' => 'cti_o'
|
},
|
},
|
'D_STB_O' => {
|
'D_DAT_I' => {
|
'intfc_port' => 'stb_o',
|
|
'intfc_name' => 'plug:wb_master[1]',
|
'intfc_name' => 'plug:wb_master[1]',
|
|
'type' => 'input',
|
|
'range' => '(32-1):0',
|
|
'intfc_port' => 'dat_i'
|
|
},
|
|
'D_WE_O' => {
|
|
'intfc_name' => 'plug:wb_master[1]',
|
|
'intfc_port' => 'we_o',
|
'range' => '',
|
'range' => '',
|
'type' => 'output'
|
'type' => 'output'
|
},
|
},
|
|
'rst_i' => {
|
|
'intfc_name' => 'plug:reset[0]',
|
|
'type' => 'input',
|
|
'range' => '',
|
|
'intfc_port' => 'reset_i'
|
|
},
|
'en_i' => {
|
'en_i' => {
|
'intfc_port' => 'enable_i',
|
'type' => 'input',
|
'intfc_name' => 'plug:enable[0]',
|
|
'range' => '',
|
'range' => '',
|
'type' => 'input'
|
'intfc_port' => 'enable_i',
|
|
'intfc_name' => 'plug:enable[0]'
|
},
|
},
|
'I_CYC_O' => {
|
'D_BTE_O' => {
|
'intfc_port' => 'cyc_o',
|
'intfc_name' => 'plug:wb_master[1]',
|
|
'intfc_port' => 'bte_o',
|
|
'type' => 'output',
|
|
'range' => '(2-1):0'
|
|
},
|
|
'I_SEL_O' => {
|
'intfc_name' => 'plug:wb_master[0]',
|
'intfc_name' => 'plug:wb_master[0]',
|
'range' => '',
|
'range' => '(4-1):0',
|
'type' => 'output'
|
'type' => 'output',
|
|
'intfc_port' => 'sel_o'
|
},
|
},
|
'D_DAT_I' => {
|
'D_DAT_O' => {
|
'intfc_port' => 'dat_i',
|
|
'intfc_name' => 'plug:wb_master[1]',
|
'intfc_name' => 'plug:wb_master[1]',
|
|
'type' => 'output',
|
'range' => '(32-1):0',
|
'range' => '(32-1):0',
|
'type' => 'input'
|
'intfc_port' => 'dat_o'
|
},
|
},
|
'D_ACK_I' => {
|
'D_ERR_I' => {
|
'intfc_port' => 'ack_i',
|
|
'intfc_name' => 'plug:wb_master[1]',
|
'intfc_name' => 'plug:wb_master[1]',
|
|
'intfc_port' => 'err_i',
|
'range' => '',
|
'range' => '',
|
'type' => 'input'
|
'type' => 'input'
|
},
|
},
|
'D_DAT_O' => {
|
'I_STB_O' => {
|
'intfc_port' => 'dat_o',
|
'type' => 'output',
|
'intfc_name' => 'plug:wb_master[1]',
|
'range' => '',
|
'range' => '(32-1):0',
|
'intfc_port' => 'stb_o',
|
'type' => 'output'
|
'intfc_name' => 'plug:wb_master[0]'
|
},
|
|
'I_ADR_O' => {
|
|
'intfc_port' => 'adr_o',
|
|
'intfc_name' => 'plug:wb_master[0]',
|
|
'range' => '(32-1):0',
|
|
'type' => 'output'
|
|
},
|
},
|
'I_WE_O' => {
|
'I_WE_O' => {
|
'intfc_port' => 'we_o',
|
|
'intfc_name' => 'plug:wb_master[0]',
|
'intfc_name' => 'plug:wb_master[0]',
|
|
'intfc_port' => 'we_o',
|
'range' => '',
|
'range' => '',
|
'type' => 'output'
|
'type' => 'output'
|
},
|
},
|
'I_BTE_O' => {
|
'I_ADR_O' => {
|
'intfc_port' => 'bte_o',
|
|
'intfc_name' => 'plug:wb_master[0]',
|
'intfc_name' => 'plug:wb_master[0]',
|
'range' => '(2-1):0',
|
'type' => 'output',
|
'type' => 'output'
|
'range' => '(32-1):0',
|
|
'intfc_port' => 'adr_o'
|
},
|
},
|
'rst_i' => {
|
'I_ERR_I' => {
|
'intfc_port' => 'reset_i',
|
'intfc_name' => 'plug:wb_master[0]',
|
'intfc_name' => 'plug:reset[0]',
|
'type' => 'input',
|
'range' => '',
|
'range' => '',
|
'type' => 'input'
|
'intfc_port' => 'err_i'
|
},
|
|
'interrupt' => {
|
|
'intfc_port' => 'int_i',
|
|
'intfc_name' => 'socket:interrupt_peripheral[array]',
|
|
'range' => '(32-1):0',
|
|
'type' => 'input'
|
|
},
|
},
|
'D_BTE_O' => {
|
'D_STB_O' => {
|
'intfc_port' => 'bte_o',
|
|
'intfc_name' => 'plug:wb_master[1]',
|
'intfc_name' => 'plug:wb_master[1]',
|
'range' => '(2-1):0',
|
'intfc_port' => 'stb_o',
|
|
'range' => '',
|
'type' => 'output'
|
'type' => 'output'
|
},
|
},
|
'D_CYC_O' => {
|
'D_CYC_O' => {
|
'intfc_port' => 'cyc_o',
|
|
'intfc_name' => 'plug:wb_master[1]',
|
'intfc_name' => 'plug:wb_master[1]',
|
'range' => '',
|
'intfc_port' => 'cyc_o',
|
'type' => 'output'
|
|
},
|
|
'I_STB_O' => {
|
|
'intfc_port' => 'stb_o',
|
|
'intfc_name' => 'plug:wb_master[0]',
|
|
'range' => '',
|
'range' => '',
|
'type' => 'output'
|
'type' => 'output'
|
},
|
},
|
'D_SEL_O' => {
|
'D_SEL_O' => {
|
'intfc_port' => 'sel_o',
|
|
'intfc_name' => 'plug:wb_master[1]',
|
|
'range' => '(4-1):0',
|
'range' => '(4-1):0',
|
'type' => 'output'
|
'type' => 'output',
|
|
'intfc_port' => 'sel_o',
|
|
'intfc_name' => 'plug:wb_master[1]'
|
},
|
},
|
'I_DAT_O' => {
|
'I_CYC_O' => {
|
'intfc_port' => 'dat_o',
|
|
'intfc_name' => 'plug:wb_master[0]',
|
'intfc_name' => 'plug:wb_master[0]',
|
'range' => '(32-1):0',
|
'intfc_port' => 'cyc_o',
|
'type' => 'output'
|
'type' => 'output',
|
|
'range' => ''
|
|
}
|
},
|
},
|
'D_ERR_I' => {
|
'description' => 'The LatticeMico32 is a 32-bit Harvard, RISC architecture "soft" microprocessor, available for free with an open IP core licensing agreement.
|
'intfc_port' => 'err_i',
|
|
'intfc_name' => 'plug:wb_master[1]',
|
for more information vist: http://www.latticesemi.com/en/Products/DesignSoftwareAndIP/IntellectualProperty/IPCore/IPCores02/LatticeMico32.aspx',
|
'range' => '',
|
'ports_order' => [
|
'type' => 'input'
|
'clk_i',
|
|
'rst_i',
|
|
'en_i',
|
|
'interrupt',
|
|
'I_DAT_I',
|
|
'I_ACK_I',
|
|
'I_ERR_I',
|
|
'I_RTY_I',
|
|
'I_DAT_O',
|
|
'I_ADR_O',
|
|
'I_CYC_O',
|
|
'I_SEL_O',
|
|
'I_STB_O',
|
|
'I_WE_O',
|
|
'I_CTI_O',
|
|
'I_BTE_O',
|
|
'D_DAT_I',
|
|
'D_ACK_I',
|
|
'D_ERR_I',
|
|
'D_RTY_I',
|
|
'D_DAT_O',
|
|
'D_ADR_O',
|
|
'D_CYC_O',
|
|
'D_SEL_O',
|
|
'D_STB_O',
|
|
'D_WE_O',
|
|
'D_CTI_O',
|
|
'D_BTE_O'
|
|
],
|
|
'file_name' => '/home/alireza/Mywork/mpsoc/src_processor/lm32/verilog/src/lm32.v',
|
|
'version' => 2,
|
|
'parameters' => {
|
|
'CFG_MC_DIVIDE' => {
|
|
'global_param' => 0,
|
|
'content' => '"ENABLED","DISABLED"',
|
|
'info' => undef,
|
|
'redefine_param' => 1,
|
|
'default' => '"DISABLED"',
|
|
'type' => 'Fixed'
|
},
|
},
|
'D_RTY_I' => {
|
'INTR_NUM' => {
|
'intfc_port' => 'rty_i',
|
'redefine_param' => 1,
|
'intfc_name' => 'plug:wb_master[1]',
|
'info' => undef,
|
'range' => '',
|
'type' => 'Fixed',
|
'type' => 'input'
|
'default' => '32',
|
|
'content' => '',
|
|
'global_param' => 0
|
},
|
},
|
'I_ACK_I' => {
|
'CFG_SIGN_EXTEND' => {
|
'intfc_port' => 'ack_i',
|
'type' => 'Fixed',
|
'intfc_name' => 'plug:wb_master[0]',
|
'default' => '"ENABLED"',
|
'range' => '',
|
'redefine_param' => 1,
|
'type' => 'input'
|
'info' => undef,
|
|
'content' => '"ENABLED","DISABLED"',
|
|
'global_param' => 0
|
},
|
},
|
'I_RTY_I' => {
|
'CFG_PL_MULTIPLY' => {
|
'intfc_port' => 'rty_i',
|
'content' => '"ENABLED","DISABLED"',
|
'intfc_name' => 'plug:wb_master[0]',
|
'global_param' => 0,
|
'range' => '',
|
'redefine_param' => 1,
|
'type' => 'input'
|
'info' => undef,
|
|
'type' => 'Fixed',
|
|
'default' => '"ENABLED"'
|
},
|
},
|
'clk_i' => {
|
'CFG_PL_BARREL_SHIFT' => {
|
'intfc_port' => 'clk_i',
|
'content' => '"ENABLED","DISABLED"',
|
'intfc_name' => 'plug:clk[0]',
|
'global_param' => 0,
|
'range' => '',
|
'type' => 'Fixed',
|
'type' => 'input'
|
'default' => '"ENABLED"',
|
|
'redefine_param' => 1,
|
|
'info' => undef
|
}
|
}
|
|
},
|
|
'gui_status' => {
|
|
'status' => 'ideal',
|
|
'timeout' => 0
|
}
|
}
|
}, 'ip_gen' );
|
}, 'ip_gen' );
|
|
|