How to create Operation() for Realize/ProducerConsumer stmt


#1

I am wondering if anyone could redirect me/provide me a link as to how to create a func (Operation) for Realize/ProducerConsumer stmt then it would be very helpful.

Moreover, since the lower phase 0 in the lower() generates the output (IR) which as a statement reflecting the hardware like in my case, I am executing it on VPU so it is printing

realize
Produce {
for{
for{
VTAUopPush() <<— how to print hardware specific statements?
}
}…


#2

are you interested in looking at the low-level hardware generated code?