motor_control: Updated the FOC IP and the encoder connections to the IP

main
acozma 2014-09-06 15:57:51 +03:00
parent 669462e0f6
commit 6e389b8c47
60 changed files with 64 additions and 64 deletions

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\Chart.v
// Created: 2014-08-28 10:13:58
// Created: 2014-09-06 13:32:03
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\Count_Up_Down.v
// Created: 2014-08-28 10:13:58
// Created: 2014-09-06 13:32:03
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\Debounce_A.v
// Created: 2014-08-28 10:13:58
// Created: 2014-09-06 13:32:03
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//
@ -40,7 +40,7 @@ module Debounce_A
// <S3>/Debouce_Count
assign Debouce_Count_out1 = 8'd20;
assign Debouce_Count_out1 = 8'd25;

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\Debounce_B.v
// Created: 2014-08-28 10:13:58
// Created: 2014-09-06 13:32:03
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//
@ -40,7 +40,7 @@ module Debounce_B
// <S4>/Debouce_Count
assign Debouce_Count_out1 = 8'd20;
assign Debouce_Count_out1 = 8'd25;

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\Debounce_Index.v
// Created: 2014-08-28 10:13:58
// Created: 2014-09-06 13:32:03
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//
@ -40,7 +40,7 @@ module Debounce_Index
// <S5>/Debouce_Count
assign Debouce_Count_out1 = 8'd20;
assign Debouce_Count_out1 = 8'd25;

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\Detect_Change_To_One.v
// Created: 2014-08-28 10:13:58
// Created: 2014-09-06 13:32:03
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\Encoder_Peripheral_Hardware_Specification.v
// Created: 2014-08-28 10:13:58
// Created: 2014-09-06 13:32:03
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\Latch_Index_Pulse.v
// Created: 2014-08-28 10:13:58
// Created: 2014-09-06 13:32:03
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\PWM.v
// Created: 2014-08-28 10:13:58
// Created: 2014-09-06 13:32:03
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\Select_AB.v
// Created: 2014-08-28 10:13:58
// Created: 2014-09-06 13:32:03
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\Update_Count_From_AB.v
// Created: 2014-08-28 10:13:58
// Created: 2014-09-06 13:32:03
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_ADC_Peripheral_To_Phase_Current.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Calculate_Rotor_Velocity.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Complex_Multiply.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Convert_Data_Type.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Convert_Data_Type1.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Convert_Data_Type_block.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Convert_Data_Type_block1.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Convert_Data_Type_block2.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Detect_Change.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Double_Range.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Electrical_Velocity_To_Position.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Encoder_To_Position_And_Velocity.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Encoder_To_Rotor_Position.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Field_Oriented_Control.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Frequency_To_Volts.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Generate_Position_And_Voltage_Ramp.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Inverse_Clarke_Transform.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Inverse_Park_Transform.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_MATLAB_Function.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_MATLAB_Function_block.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_MATLAB_Function_block1.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_MATLAB_Function_block2.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_MATLAB_Function_block3.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Mark_Extract_Bits.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Mark_Extract_Bits1.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Mark_Extract_Bits_block.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Mod_2pi_Scale_And_Bit_Slice.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Open_Loop_Control.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Phase_Voltages_To_Compare_Values.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Reset_Delay.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Reset_Delay_block.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Rotor_Acceleration_To_Velocity.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Rotor_To_Electical_Velocity.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Rotor_To_Electrical_Position.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Set_Acceleration.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Sin_Cos.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_StandBy.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Transform_dq_to_ABC.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Wrap_2pi.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Wrap_2pi_Once.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_Wrap_NegPi_To_Pi.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerHdl\controllerHdl_controllerHdl.v
// Created: 2014-08-27 21:15:34
// Created: 2014-09-06 13:26:47
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerPeripheralHdlAdi.v
// Created: 2014-08-28 10:13:59
// Created: 2014-09-06 13:32:04
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerPeripheralHdlAdi_tc.v
// Created: 2014-08-28 10:13:59
// Created: 2014-09-06 13:32:04
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerperipheralhdladi_pcore_addr_decoder.v
// Created: 2014-08-28 10:14:05
// Created: 2014-09-06 13:32:10
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerperipheralhdladi_pcore_axi_lite.v
// Created: 2014-08-28 10:14:05
// Created: 2014-09-06 13:32:10
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerperipheralhdladi_pcore_axi_lite_module.v
// Created: 2014-08-28 10:14:05
// Created: 2014-09-06 13:32:10
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -1,7 +1,7 @@
// -------------------------------------------------------------
//
// File Name: hdl_prj\hdlsrc\controllerPeripheralHdlAdi\controllerperipheralhdladi_pcore_dut.v
// Created: 2014-08-28 10:14:05
// Created: 2014-09-06 13:32:10
//
// Generated by MATLAB 8.2 and HDL Coder 3.3
//

View File

@ -132,11 +132,11 @@
# slice0
set xlslice_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:xlslice:1.0 xlslice_0 ]
set_property -dict [ list CONFIG.DIN_FROM {2} CONFIG.DIN_TO {2} CONFIG.DIN_WIDTH {3} ] $xlslice_0
set_property -dict [ list CONFIG.DIN_FROM {1} CONFIG.DIN_TO {1} CONFIG.DIN_WIDTH {3} ] $xlslice_0
# slice1
set xlslice_1 [ create_bd_cell -type ip -vlnv xilinx.com:ip:xlslice:1.0 xlslice_1 ]
set_property -dict [ list CONFIG.DIN_FROM {1} CONFIG.DIN_TO {1} CONFIG.DIN_WIDTH {3} ] $xlslice_1
set_property -dict [ list CONFIG.DIN_FROM {2} CONFIG.DIN_TO {2} CONFIG.DIN_WIDTH {3} ] $xlslice_1
# slice2
set xlslice_2 [ create_bd_cell -type ip -vlnv xilinx.com:ip:xlslice:1.0 xlslice_2 ]