]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
add 200 MHz oscillator option to hubs
authorJan Michel <j.michel@gsi.de>
Mon, 18 Dec 2017 12:55:45 +0000 (13:55 +0100)
committerJan Michel <j.michel@gsi.de>
Mon, 18 Dec 2017 12:55:45 +0000 (13:55 +0100)
backplanemaster/config.vhd
backplanemaster/par.p2t
backplanemaster/trb3sc_master.prj
hub/config.vhd
hub/par.p2t
hub/trb3sc_hub.prj

index 870783bdd6a8b2bf2c446b9d950f325f7e21181c..2aea6ce179c6cbb2734b15f36844b8b0d3a8518a 100644 (file)
@@ -13,15 +13,16 @@ package config is
 
 --Runs with 120 MHz instead of 100 MHz     
     constant USE_120_MHZ            : integer := c_NO; 
+    constant USE_200MHZOSCILLATOR   : integer := c_YES;
     constant USE_EXTERNAL_CLOCK     : integer := c_YES; --'no' not implemented.
-    constant CLOCK_FAST_SELECT        : integer := c_YES; --fast clock select (135us) or slow (280ms)?
+    constant CLOCK_FAST_SELECT      : integer := c_YES; --fast clock select (135us) or slow (280ms)?
     
 --Use sync mode, RX clock for all parts of the FPGA
     constant USE_RXCLOCK            : integer := c_NO;
    
 --Address settings   
     constant INIT_ADDRESS           : std_logic_vector := x"F3CE";
-    constant BROADCAST_SPECIAL_ADDR : std_logic_vector := x"60";
+    constant BROADCAST_SPECIAL_ADDR : std_logic_vector := x"61";
    
 
     constant INCLUDE_UART           : integer  := c_YES;
index d03f522f74fa4937708ab42a9203b3ddd2d6ab25..7610522d26c6e8dfe7f11aa2011d23d462514b15 100644 (file)
@@ -1,10 +1,9 @@
 -w
 -i 15
 -l 5
--n 1
 -y
 -s 12
--t 15
+-t 16
 -c 1
 -e 2
 #-g guidefile.ncd
index e564ff22d7451992164c1b9ade23a2aa34e09438..03522a98e3831af2b0ac3edda79794290ab33560 100644 (file)
@@ -66,6 +66,7 @@ add_file -vhdl -lib work "../../trbnet/gbe_trb/base/trb_net_gbe_components.vhd"
 add_file -vhdl -lib work "../../trb3sc/cores/pll_in200_out100.vhd"
 add_file -vhdl -lib work "../../trb3sc/cores/pll_in240_out200.vhd"
 add_file -vhdl -lib work "../../trb3sc/cores/pll_in240_out240.vhd"
+add_file -vhdl -lib work "../../trb3sc/cores/pll_in200_out200.vhd"
 add_file -vhdl -lib work "../../trb3/base/cores/pll_200_4.vhd"
 add_file -vhdl -lib work "../../trb3sc/code/clock_reset_handler.vhd"
 add_file -vhdl -lib work "../../trbnet/special/trb_net_reset_handler.vhd"
index 4df0e1fe6b628310a848d49408e160d66ea59ac2..ebfae8be318ff1df0493a147309ccb5f542aaa18 100644 (file)
@@ -12,11 +12,12 @@ package config is
 ------------------------------------------------------------------------------
 
 --design options: backplane or front SFP, with or without GBE
-    constant USE_BACKPLANE : integer := c_NO;
-    constant INCLUDE_GBE   : integer := c_YES;
+    constant USE_BACKPLANE : integer := c_YES;
+    constant INCLUDE_GBE   : integer := c_NO;
 
 --Runs with 120 MHz instead of 100 MHz     
     constant USE_120_MHZ            : integer := c_NO; 
+    constant USE_200MHZOSCILLATOR   : integer := c_YES;
     constant USE_EXTERNAL_CLOCK     : integer := c_YES; --'no' not implemented.
     constant CLOCK_FAST_SELECT      : integer := c_NO; --fast clock select (135us) or slow (280ms)?
     
@@ -150,6 +151,7 @@ function generateIncludedFeatures return std_logic_vector is
     t(52 downto 52) := std_logic_vector(to_unsigned(USE_120_MHZ,1));
     t(53 downto 53) := std_logic_vector(to_unsigned(USE_RXCLOCK,1));
     t(54 downto 54) := std_logic_vector(to_unsigned(USE_EXTERNAL_CLOCK,1));
+    t(55 downto 55) := std_logic_vector(to_unsigned(USE_200MHZOSCILLATOR,1));
     return t;
   end function;  
 
index f72683d37d07df4478957ce4d254eeb1207e5d15..cb0ad8dbbe9ced435a4be6a4767b8681027a8525 100644 (file)
@@ -4,7 +4,7 @@
 -n 1
 -y
 -s 12
--t 24
+-t 26
 -c 1
 -e 2
 #-g guidefile.ncd
index b39d4f26540096e21bd52a9a306ab4cf9e19dee1..052ecb53a6fa915dbf5c28d74e2275c0fa0b31a2 100644 (file)
@@ -65,6 +65,7 @@ add_file -vhdl -lib work "../../trbnet/gbe_trb/base/trb_net_gbe_components.vhd"
 #Basic Infrastructure
 add_file -vhdl -lib work "../../trb3sc/cores/pll_in200_out100.vhd"
 add_file -vhdl -lib work "../../trb3sc/cores/pll_in240_out200.vhd"
+add_file -vhdl -lib work "../../trb3sc/cores/pll_in200_out200.vhd"
 add_file -vhdl -lib work "../../trb3sc/cores/pll_in240_out240.vhd"
 add_file -vhdl -lib work "../../trb3/base/cores/pll_200_4.vhd"
 add_file -vhdl -lib work "../../trb3sc/code/clock_reset_handler.vhd"
@@ -215,6 +216,7 @@ add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/trb_net16_gbe_response_
 add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/trb_net16_gbe_response_constructor_SCTRL.vhd"
 add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/trb_net16_gbe_response_constructor_TrbNetData.vhd"
 add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/trb_net16_gbe_response_constructor_KillPing.vhd"
+add_file -vhdl -lib work "../../trbnet/gbe_trb/protocols/trb_net16_gbe_response_constructor_Forward.vhd"
 add_file -vhdl -lib work "../../trbnet/gbe_trb/media/serdes_gbe_4ch.vhd"
 add_file -verilog -lib work "../../trbnet/gbe_trb/media/sgmii_channel_smi.v"
 add_file -verilog -lib work "../../trbnet/gbe_trb/media/reset_controller_pcs.v"