82a6d74d创建于 2025年4月30日历史提交
/*
 * binarytogrey4bit.h - device definitions for binarytogrey4bit module
 *
 * This is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 * 
 */

#ifndef binarytogrey4bit_H
#define binarytogrey4bit_H

#include "component.h"

class binarytogrey4bit : public Component
{
  public:
    binarytogrey4bit();
    ~binarytogrey4bit() { };
    Component* newOne();
    static Element* info(QString&, char* &, bool getNewOne=false);
  protected:
    void createSymbol();
    QString vhdlCode(int);
    QString verilogCode(int);
};

#endif /* binarytogrey4bit_H */