///////////////////////////////////////////////////////////////////////////////////////////////////
// Company: MICROSEMI
//
// File: LED_STATUS.v
//
// Description: This file defines the bits passed to LED's on board.
//
// Targeted device: Family         Die             Package
//                  PolarFire      MPF300TS_ES     FCG1152 
//
// Author: India Solutions Team
//
// SVN Revision Information:
// SVN $Revision: 
// SVN $Date:  $
// 
// COPYRIGHT 2018 BY MICROSEMI 
// THE INFORMATION CONTAINED IN THIS DOCUMENT IS SUBJECT TO LICENSING RESTRICTIONS 
// FROM MICROSEMI CORP.  IF YOU ARE NOT IN POSSESSION OF WRITTEN AUTHORIZATION FROM 
// MICROSEMI FOR USE OF THIS FILE, THEN THE FILE SHOULD BE IMMEDIATELY DESTROYED AND 
// NO BACK-UP OF THE FILE SHOULD BE MADE. 
//
/////////////////////////////////////////////////////////////////////////////////////////////////// 
module LED_STATUS(
		       SYNC_N_JESD0       //Input loss of sync signal from JESD 0 interface
        ,ALIGNED_JESD0      //Input receive aligned signal from JESD 0 interface
        ,RX_VAL_JESD0       //Input receive valid from transceiver of JESD 0 interface
        ,SYNC_N_JESD1       //Input loss of sync signal from JESD 1 interface
        ,ALIGNED_JESD1      //Input receive aligned signal from JESD 1 interface
        ,RX_VAL_JESD1       //Input receive valid from transceiver of JESD 1 interface        
        ,CPRI_RX_VAL        //Input Receive valid from tranceiver for CPRI interface
        ,HB                 //Input heart beat signal
		      ,LED_OUT            //Output LED signals on board
        
		);

// inputs
input SYNC_N_JESD0;
input ALIGNED_JESD0;      
input RX_VAL_JESD0;  
input SYNC_N_JESD1;
input ALIGNED_JESD1;   
input RX_VAL_JESD1;
input HB;
input CPRI_RX_VAL;  
   
//output
output [7:0] LED_OUT;        

//wires
wire [7:0] LED_OUT;  


assign LED_OUT = {HB, CPRI_RX_VAL, ALIGNED_JESD1,ALIGNED_JESD0,SYNC_N_JESD1,SYNC_N_JESD0,RX_VAL_JESD1,RX_VAL_JESD0};		  

   
endmodule
