www.pudn.com > Sparten3Epaomadeng.rar > latch.h


//////////////////////////////////////////////////////////////////////////////// 
//   ____  ____   
//  /   /\/   /   
// /___/  \  /    
// \   \   \/     
//  \   \        Copyright (c) 2003-2004 Xilinx, Inc. 
//  /   /        All Right Reserved.  
// /___/   /\    
// \   \  /  \   
//  \___\/\___\  
//////////////////////////////////////////////////////////////////////////////// 
 
#ifndef H_workMlatch_H 
#define H_workMlatch_H 
 
#ifdef _MSC_VER 
#pragma warning(disable: 4355) 
#endif 
 
#ifdef __MINGW32__ 
#include "xsimMinGW.h" 
#else 
#include "xsim.h" 
#endif 
 
class workMlatch : public HSim__s5{ 
public:  
    workMlatch(const char *instname); 
    ~workMlatch(); 
    void setDefparam(); 
    void constructObject(); 
    void moduleInstantiate(HSimConfigDecl *cfg); 
    void connectSigs(); 
    void reset(); 
    virtual void archImplement(); 
    HSim__s1 us[4]; 
    HSim__s3 uv[1]; 
}; 
 
#endif