*** empty log message ***
authorhadeshyp <hadeshyp>
Thu, 5 Aug 2010 13:05:48 +0000 (13:05 +0000)
committerhadeshyp <hadeshyp>
Thu, 5 Aug 2010 13:05:48 +0000 (13:05 +0000)
constraints_cts_fpga2.lpf
cts_fpga2.vhd

index a02b3ffeb7ce946ca0579afb6b449f1c8366f031..4e23e05261c7b088c1442d0593992fffc625d3ad 100644 (file)
@@ -27,39 +27,38 @@ LOCATE UGROUP "THE_MEDIA_INTERFACE_1/media_interface_group" REGION "MED1" ;
 #########################################
 # Endpoint Placement
 #########################################
-REGION "ENDP_CTS_REGION" "R59C90" 52 38;
-REGION "ENDP_RDO_REGION" "R2C90" 56 38;
+REGION "ENDP_CTS_REGION" "R59C80" 52 48;
+REGION "ENDP_RDO_REGION" "R2C80" 56 48;
 
 #Readout endpoint
 
-LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_3_geniobuf_gen_regio_regIO/RegIOgroup" REGION "ENDP_RDO_REGION";
+LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_3_geniobuf_gen_regio_regIO/RegIO_group" REGION "ENDP_RDO_REGION";
 
 LOCATE UGROUP "THE_RDO_BUS_HANDLER/Bus_handler_group" REGION "ENDP_RDO_REGION";
-LOCATE UGROUP "THE_SPI_MASTER/SPI_group" REGION "ENDP_RDO_REGION";
 
-LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_0_geniobuf_gen_api_pas_DAT_PASSIVE_API/API_GROUP" REGION "ENDP_RDO_REGION";
-LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_1_geniobuf_gen_api_pas_DAT_PASSIVE_API/API_GROUP" REGION "ENDP_RDO_REGION";
-LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_3_geniobuf_gen_api_pas_DAT_PASSIVE_API/API_GROUP" REGION "ENDP_RDO_REGION";
+
+LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_1_geniobuf_gen_api_DAT_PASSIVE_API/API_group" REGION "ENDP_RDO_REGION";
+LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_3_geniobuf_gen_api_DAT_PASSIVE_API/API_group" REGION "ENDP_RDO_REGION";
 
 LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_0_geniobuf_IOBUF/GEN_IBUF_THE_IBUF/IBUF_group" REGION "ENDP_RDO_REGION";
 LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_1_geniobuf_IOBUF/GEN_IBUF_THE_IBUF/IBUF_group" REGION "ENDP_RDO_REGION";
 LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_3_geniobuf_IOBUF/GEN_IBUF_THE_IBUF/IBUF_group" REGION "ENDP_RDO_REGION";
 
-LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_0_geniobuf_IOBUF/genINITOBUF1_INITOBUF/OBUF_group" REGION "ENDP_RDO_REGION";
-LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_1_geniobuf_IOBUF/genINITOBUF1_INITOBUF/OBUF_group" REGION "ENDP_RDO_REGION";
-LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_3_geniobuf_IOBUF/genINITOBUF1_INITOBUF/OBUF_group" REGION "ENDP_RDO_REGION";
+# LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_3_geniobuf_IOBUF/genINITOBUF2_gen_INITOBUF3_INITOBUF/OBUF_group" REGION "ENDP_RDO_REGION";
+# LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_3_geniobuf_IOBUF/genINITOBUF2_gen_INITOBUF3_INITOBUF/OBUF_group" REGION "ENDP_RDO_REGION";
+# LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_3_geniobuf_IOBUF/genINITOBUF2_gen_INITOBUF3/OBUF_group" REGION "ENDP_RDO_REGION";
 
 LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_0_geniobuf_IOBUF/genREPLYOBUF1_REPLYOBUF/OBUF_group" REGION "ENDP_RDO_REGION";
 LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_1_geniobuf_IOBUF/genREPLYOBUF1_REPLYOBUF/OBUF_group" REGION "ENDP_RDO_REGION";
 LOCATE UGROUP "THE_DATA_ENDPOINT/THE_ENDPOINT/genbuffers_3_geniobuf_IOBUF/genREPLYOBUF1_REPLYOBUF/OBUF_group" REGION "ENDP_RDO_REGION";
 
 #CTS endpoint
+LOCATE UGROUP "THE_SPI_MASTER/SPI_group" REGION "ENDP_CTS_REGION";
+LOCATE UGROUP "THE_CTS_ENDPOINT/regIO/RegIO_group" REGION "ENDP_CTS_REGION";
 
-LOCATE UGROUP "THE_CTS_ENDPOINT/regIO/RegIOgroup" REGION "ENDP_CTS_REGION";
-
-LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_0_geniobuf_gen_api_pas_DAT_ACTIVE_API/API_GROUP" REGION "ENDP_CTS_REGION";
-LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_1_geniobuf_gen_api_pas_DAT_ACTIVE_API/API_GROUP" REGION "ENDP_CTS_REGION";
-LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_3_geniobuf_gen_api_pas_DAT_PASSIVE_API/API_GROUP" REGION "ENDP_CTS_REGION";
+LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_0_geniobuf_gen_api_act_DAT_ACTIVE_API/API_group" REGION "ENDP_CTS_REGION";
+LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_1_geniobuf_gen_api_act_DAT_ACTIVE_API/API_group" REGION "ENDP_CTS_REGION";
+LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_3_geniobuf_gen_api_pas_DAT_PASSIVE_API/API_group" REGION "ENDP_CTS_REGION";
 
 LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_0_geniobuf_IOBUF/GEN_IBUF_THE_IBUF/IBUF_group" REGION "ENDP_CTS_REGION";
 LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_1_geniobuf_IOBUF/GEN_IBUF_THE_IBUF/IBUF_group" REGION "ENDP_CTS_REGION";
@@ -67,12 +66,13 @@ LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_3_geniobuf_IOBUF/GEN_IBUF_THE_IBUF/IB
 
 LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_0_geniobuf_IOBUF/genINITOBUF1_INITOBUF/OBUF_group" REGION "ENDP_CTS_REGION";
 LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_1_geniobuf_IOBUF/genINITOBUF1_INITOBUF/OBUF_group" REGION "ENDP_CTS_REGION";
-LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_3_geniobuf_IOBUF/genINITOBUF1_INITOBUF/OBUF_group" REGION "ENDP_CTS_REGION";
+# LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_3_geniobuf_IOBUF/genINITOBUF2_gen_INITOBUF3/OBUF_group" REGION "ENDP_CTS_REGION";
 
-LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_0_geniobuf_IOBUF/genREPLYOBUF1_REPLYOBUF/OBUF_group" REGION "ENDP_CTS_REGION";
-LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_1_geniobuf_IOBUF/genREPLYOBUF1_REPLYOBUF/OBUF_group" REGION "ENDP_CTS_REGION";
+# LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_0_geniobuf_IOBUF/genREPLYOBUF2_gen_REPLYOBUF3/OBUF_group" REGION "ENDP_CTS_REGION";
+# LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_1_geniobuf_IOBUF/genREPLYOBUF2_gen_REPLYOBUF3/OBUF_group" REGION "ENDP_CTS_REGION";
 LOCATE UGROUP "THE_CTS_ENDPOINT/genbuffers_3_geniobuf_IOBUF/genREPLYOBUF1_REPLYOBUF/OBUF_group" REGION "ENDP_CTS_REGION";
 
-#########################################
-# Serdes Placement
-#########################################
+
+
+
+
index 844904ca73a1332d748e7213ae00c58378247b83..8f9af71d7d6a2328deb4b60360d4dba6a8af72d4 100644 (file)
@@ -471,7 +471,8 @@ begin
       BUS_UNKNOWN_ADDR_IN        => rdo_regio_unknown_addr_in,
       BUS_TIMEOUT_OUT            => rdo_regio_timeout_out,
       ONEWIRE_INOUT              => TEMPSENS,
-      ONEWIRE_MONITOR_IN         => cts_regio_onewire_monitor_i,
+      ONEWIRE_MONITOR_OUT        => cts_regio_onewire_monitor_i,
+      ONEWIRE_MONITOR_IN         => '0',
 
       TIME_GLOBAL_OUT            => rdo_global_time,
       TIME_LOCAL_OUT             => rdo_local_time,
@@ -560,8 +561,8 @@ begin
       REGIO_UNKNOWN_ADDR_IN      => cts_regio_unknown_addr_i,
       REGIO_TIMEOUT_OUT          => cts_regio_timeout_i,
       REGIO_ONEWIRE_INOUT        => open,
-      REGIO_ONEWIRE_MONITOR_OUT  => cts_regio_onewire_monitor_i,
-      REGIO_ONEWIRE_MONITOR_IN   => '0',
+      REGIO_ONEWIRE_MONITOR_OUT  => open,
+      REGIO_ONEWIRE_MONITOR_IN   => cts_regio_onewire_monitor_i,
       TRIGGER_MONITOR_IN         => '0',
       GLOBAL_TIME_OUT            => cts_global_time_i,
       LOCAL_TIME_OUT             => cts_local_time_i,
@@ -708,4 +709,26 @@ begin
 
   ONEWIRE_MONITOR_OUT <= cts_regio_onewire_monitor_i;
 
+
+---------------------------------------------------------------------------
+-- LED
+---------------------------------------------------------------------------
+  PROC_REG_LED : process(clk_100)
+    begin
+      if rising_edge(clk_100) then
+        LED_TRB_OK <= not cts_med_stat_op(9);
+        LED_TRB_RX <= not cts_med_stat_op(10);
+        LED_TRB_TX <= not cts_med_stat_op(11);
+        LED_GBE_OK <= not rdo_med_stat_op(9);
+        LED_GBE_RX <= not rdo_med_stat_op(10);
+        LED_GBE_TX <= not rdo_med_stat_op(11);
+      end if;
+    end process;
+
+  LED_RED     <= '1';
+  LED_YELLOW  <= '1';
+  LED_GREEN   <= '1';
+  LED_ORANGE  <= '1';
+
+
 end architecture;