kratos
kratos copied to clipboard
:crossed_swords: Debuggable hardware generator
the following example code does not work ``` from kratos import * class Example(Generator): def __init__(self, area_opt=True): super().__init__("example") self.area_opt = area_opt self._b = self.output("b", 2) @always_comb def tb_ctrl(): for i...
We should allocate everything inside the context. It should make the code more efficient as well
See mem check `interface.mod_port` test. Make sure memcheck return non-zero when exit.
Now that the debugging backend has support for delayed context variable, we can implement SSA-like pass to handle memory assignment.
It looks to me like kratos and MyHDL languages are pretty similar in both approach and implementation. It would be wonderful if there was some collaboration to try and work...