User Tools

Site Tools


projects:maps21:s:dcont:code:const:const

Zurück

Constanten für beide CPLDs

Eingestellt am 9.5.2024 und erstellt 14.6.2023.

MAPS_CPLD_Gateware/src/vhdl/constant_package.vhdl

--------------------------------------------------------------------------------
-- Copyright 2023
-- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
-- Planckstr. 1, 64291 Darmstadt
-- Author: Rene Geissler, r.geissler@gsi.de
--------------------------------------------------------------------------------
--
-- functional description
--     * project wide constants
--
--------------------------------------------------------------------------------
-- VHDL standard: VHDL-2002
--------------------------------------------------------------------------------
 
library ieee;
use ieee.std_logic_1164.all;
 
package constant_package is
 
	constant c_num_trafos             : integer := 8;
	constant c_trafo_signal_wl        : integer := 5;    -- z.B. "RRRTP" (K) (im Package zusammengebaut)
	constant c_measurement_range_wl   : integer := 3;    -- 5? z.B. "00111.1" + Präsent?
	constant c_manual_range_wl        : integer := 4;
	constant c_num_measurement_ranges : integer := 5;    -- 3? z.B. &d5 = &b"101" ? Der Rest der fünf Signale wird seperat im Code behandel!?
	constant c_num_1ms_strokes        : integer := 20;
	constant c_num_20ms_periods       : integer := 50;
 
	constant c_stroke_wl       : integer := 5;
	constant c_period_wl       : integer := 6;
	constant c_cpld1_period_wl : integer := 4;
	constant c_knob_select_wl  : integer := 4;
	constant c_mode_wl         : integer := 3;
	constant c_num_modes       : integer := 7;
 
	constant c_num_led_rows    : integer := 10;
	constant c_num_led_columns : integer := 7;
 
	constant c_rotary_switch_wl : integer := 3;
 
	constant c_debounce_time_ms : integer := 5;
 
	constant c_mode0_transparent_start_stroke_index : integer := 13;
 
end constant_package;
projects/maps21/s/dcont/code/const/const.txt · Last modified: 2024/09/17 09:59 by carsten