git info: I am working on a fork of "dev" as usual.
I am trying to run some of the CGRAMapper examples through the simulator and before I can do that I need to add a clock to the inputs and wire up all sequential elements to the clock.
It looks like the passes liftclockports and wireclocks should do these two tasks for me, but when I try to run them as passes I get an error. For example when I am in /Users/dillon/CppWorkspace/CGRAMapper and I run:
bash-3.2$ ~/CppWorkspace/coreir/bin/coreir -i ./examples/conv_3_1.json -o ./examples/sim_ready_conv_3_1.json -p rungenerators,flattentypes,flatten,liftclockports,wireclocks --load_libs ~/CppWorkspace/coreir/lib/libcoreir-commonlib.dylib
Inline Pass: bitconst has no definition, skipping...
Inline Pass: bitterm has no definition, skipping...
Inline Pass: bitterm has no definition, skipping...
ERROR: Can not run pass "liftclockports" because it was never loaded!
Assertion failed: (passMap.count(oname)), function pushAllDependencies, file passmanager.cpp, line 145.
Abort trap: 6
rungenerators, flattentypes, and flatten all work just fine, but coreir does not seem to be able to find liftclockports and wireclocks.
git info: I am working on a fork of "dev" as usual.
I am trying to run some of the CGRAMapper examples through the simulator and before I can do that I need to add a clock to the inputs and wire up all sequential elements to the clock.
It looks like the passes liftclockports and wireclocks should do these two tasks for me, but when I try to run them as passes I get an error. For example when I am in
/Users/dillon/CppWorkspace/CGRAMapper
and I run:rungenerators, flattentypes, and flatten all work just fine, but coreir does not seem to be able to find liftclockports and wireclocks.
What am I doing wrong here?