2023-06-27 20:51:18 -05:00
|
|
|
#include "yosys-always_full.cc"
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2024-01-16 03:08:07 -06:00
|
|
|
struct : public performer {
|
|
|
|
int64_t time() const override { return 1; }
|
|
|
|
void on_print(const std::string &output, const cxxrtl::metadata_map &) override { std::cerr << output; }
|
|
|
|
} performer;
|
|
|
|
|
2023-06-27 20:51:18 -05:00
|
|
|
cxxrtl_design::p_always__full uut;
|
2023-06-27 20:51:32 -05:00
|
|
|
uut.p_clk.set(!uut.p_clk);
|
2024-01-16 03:08:07 -06:00
|
|
|
uut.step(&performer);
|
2023-06-27 20:51:32 -05:00
|
|
|
return 0;
|
2023-06-27 20:51:18 -05:00
|
|
|
}
|