Entity: control_registers

Diagram

up_rstn up_clk up_wreq [13:0] up_waddr [31:0] up_wdata up_rreq [13:0] up_raddr [31:0] err_i up_wack [31:0] up_rdata up_rack [10:0] pwm_open_o [31:0] reference_speed_o [31:0] kp_o [31:0] ki_o [31:0] kd_o [31:0] kp1_o [31:0] ki1_o [31:0] kd1_o run_o break_o dir_o star_delta_o [ 1:0] sensors_o [ 3:0] gpo_o oloop_matlab_o calibrate_adcs_o

Description



Copyright 2014 - 2017 (c) Analog Devices, Inc. All rights reserved.

In this HDL repository, there are many different and unique modules, consisting of various HDL (Verilog or VHDL) components. The individual modules are developed independently, and may be accompanied by separate and unique license terms.

The user should read each of these license terms, and understand the freedoms and responsibilities that he or she has by using this source/core.

This core is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Redistribution and use of source or resulting binaries, with or without modification of this file, are permitted under one of the following two license terms:

  1. The GNU General Public License version 2 as published by the Free Software Foundation, which can be found in the top level directory of this repository (LICENSE_GPL2), and also online at: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

OR

  1. An ADI specific BSD license, which can be found in the top level directory of this repository (LICENSE_ADIBSD), and also on-line at: https://github.com/analogdevicesinc/hdl/blob/master/LICENSE_ADIBSD This will allow to generate bit files and not release the source code, as long as it attaches to an ADI device.


Ports

Port name Direction Type Description
up_rstn input bus interface
up_clk input
up_wreq input
up_waddr input [13:0]
up_wdata input [31:0]
up_wack output
up_rreq input
up_raddr input [13:0]
up_rdata output [31:0]
up_rack output
err_i input [31:0] control
pwm_open_o output [10:0]
reference_speed_o output [31:0]
kp_o output [31:0]
ki_o output [31:0]
kd_o output [31:0]
kp1_o output [31:0]
ki1_o output [31:0]
kd1_o output [31:0]
run_o output
break_o output
dir_o output
star_delta_o output
sensors_o output [ 1:0]
gpo_o output [ 3:0]
oloop_matlab_o output
calibrate_adcs_o output

Signals

Name Type Description
control_r reg [31:0] ------------------------------------------------------------------------------ ----------- Registers Declarations ------------------------------------------- ------------------------------------------------------------------------------ internal registers
reference_speed_r reg [31:0]
kp_r reg [31:0]
ki_r reg [31:0]
kp1_r reg [31:0]
ki1_r reg [31:0]
kd1_r reg [31:0]
pwm_open_r reg [31:0]
pwm_break_r reg [31:0]
status_r reg [31:0]
reserved_r1 reg [31:0]
kd_r reg [31:0]
gpo_r reg [10:0]
up_wreq_s wire ------------------------------------------------------------------------------ ----------- Wires Declarations ----------------------------------------------- ------------------------------------------------------------------------------
up_rreq_s wire

Processes

Type: always

Description
processor write interface

Type: always

Description
processor read interface