Go to the documentation of this file.
14 #include <catch2/catch.hpp>
18 GIVEN(
"a 2 input computation") {
26 GIVEN(
"a 3 input computation") {
36 GIVEN(
"a series of 2 input computations") {
49 GIVEN(
"a feedback computation") {
void link(MRRG::NodeDescriptor driver, MRRG::NodeDescriptor fanout)
std::pair< NodeDescriptor, bool > insertMultiFanin(NodeDescList fanins, MRRGNode node)
bool verifyAndPrintReport(const MRRG &mrrg, std::ostream &os, bool silent_on_no_errors, bool throw_if_errors, const ConfigStore &extra_opts)
static constexpr auto & BINARY_LHS
std::pair< NodeDescriptor, bool > insert(MRRGNode node)
static constexpr auto & BINARY_RHS
static MRRGNode make_operand_pin(Module *parent, int bitwidth, int cycle, STR &&name, SupportedOpTags operand_tags, int latency=0, int max_cap=1)
static MRRGNode make_function(Module *parent, int bitwidth, int cycle, STR &&name, int latency, SupportedOps supported_ops, int max_cap=1, bool is_const_unit=false)
SCENARIO("tagging operands to mrrg nodes")
static constexpr auto & BINARY_ANY
static constexpr auto & TERNARY_ANY