From f1e6f8ae7404a06fff43e4f9a28d300f6aa18fed Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Tue, 3 Nov 2015 13:07:13 +0100 Subject: [PATCH] 4conn TDC design knows how to show its temperature on display. --- padiwa/config.vhd | 1 + padiwa/trb3sc_padiwa.vhd | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/padiwa/config.vhd b/padiwa/config.vhd index 08be6f0..33017d2 100644 --- a/padiwa/config.vhd +++ b/padiwa/config.vhd @@ -65,6 +65,7 @@ package config is x"41", x"64", x"64", x"72", x"65", x"73", x"73", x"20", x"20", x"20", x"20", x"20", x"20", x"20", x"20", x"20", x"20", x"80", x"0a", x"43", x"6f", x"6d", x"70", x"69", x"6c", x"65", x"54", x"69", x"6d", x"65", x"20", x"20", x"84", x"83", x"0a", x"54", x"69", x"6d", x"65", x"20", x"20", x"20", x"20", x"20", x"20", x"20", x"20", x"20", x"82", x"81", x"0a", + x"54", x"65", x"6d", x"70", x"65", x"72", x"61", x"74", x"75", x"72", x"65", x"20", x"20", x"20", x"20", x"20", x"20", x"85", x"0a", others => x"00"); ------------------------------------------------------------------------------ diff --git a/padiwa/trb3sc_padiwa.vhd b/padiwa/trb3sc_padiwa.vhd index 6bcea6c..b3ff098 100644 --- a/padiwa/trb3sc_padiwa.vhd +++ b/padiwa/trb3sc_padiwa.vhd @@ -397,7 +397,8 @@ begin lcd_data(15 downto 0) <= timer.network_address; lcd_data(47 downto 16) <= timer.microsecond; lcd_data(79 downto 48) <= std_logic_vector(to_unsigned(VERSION_NUMBER_TIME, 32)); - lcd_data(511 downto 80) <= (others => '0'); + lcd_data(91 downto 80) <= timer.temperature; + lcd_data(511 downto 92) <= (others => '0'); --------------------------------------------------------------------------- -- LED -- 2.43.0