mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
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:
committed by
Marcelina Kościelnicka
parent
7f7c61c9f0
commit
843ad9331b
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user