Changeset 10247 for firmware/FTM


Ignore:
Timestamp:
03/18/11 16:31:32 (14 years ago)
Author:
vogler
Message:
ftm_definitions: timing counter and temp sensor interface
File:
1 edited

Legend:

Unmodified
Added
Removed
  • firmware/FTM/ftm_definitions.vhd

    r10246 r10247  
    5555  type ip_type  is array (0 to 3) of integer;
    5656  type mac_type is array (0 to 2) of std_logic_vector (15 downto 0);
     57
     58
     59-- Temperature Sensor interface
     60  type sensor_array_type is array (0 to 3) of integer range 0 to 2**16 - 1;
     61
     62
    5763 
    5864end ftm_array_types;
     
    313319  constant width_PLC : integer := 6;  -- counter width pulse duration
    314320
    315   -- Timing counter
    316   constant tc_width : integer := 32;    -- width (number of bits) of timing counter
    317   -- constant zero : unsigned (tc_width - 1 downto 0) := (others => '0');
     321
     322-- Timing counter
     323  constant tc_width : integer := 48;    -- width (number of bits) of timing counter
     324  constant zero : unsigned (tc_width - 1 downto 0) := 0; 
     325 -- constant zero : unsigned  := 0; 
     326 
     327
     328
    318329 
    319330end ftm_constants;
Note: See TracChangeset for help on using the changeset viewer.