cxxrtl: WIP: adjust comb display cells to only fire on change

Naming and use of statics to be possibly revised.
This commit is contained in:
Charlotte
2023-08-11 04:46:52 +02:00
committed by Marcelina Kościelnicka
parent 7f7c61c9f0
commit 843ad9331b
8 changed files with 95 additions and 16 deletions
+14
View File
@@ -0,0 +1,14 @@
#include <iostream>
#include "yosys-always_comb.cc"
int main()
{
cxxrtl_design::p_top uut;
for (int i = 0; i < 20; ++i) {
uut.p_clk.set(!uut.p_clk);
uut.step();
}
return 0;
}