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 {
|
2024-01-19 07:33:14 -06:00
|
|
|
int64_t vlog_time() const override { return 1; }
|
2024-01-19 09:54:33 -06:00
|
|
|
void on_print(const lazy_fmt &output, const cxxrtl::metadata_map &) override { std::cerr << output(); }
|
2024-01-16 03:08:07 -06:00
|
|
|
} 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
|
|
|
}
|