User Book
Model Section
1.Module

Module

To create an Hardware Module, User must create a class that inherit Module base class

main.cpp
#include "kathryn.h"
using namespace kathryn;
 
class ExModule: public Module{
public:
 
    ExModule(int x): Module(){}
};
  • The ExModule is the user module where user can describe any logic in there.
  • In this version, we require at least one parameter as a input (I will fix in later version)
  • As you can see, this framework is embedded in C++ not transpile C++ to HDL; therefore, you can use any programming language feature to generate or pre-process your hardware (even descript hardware component as global variable)