StanfordAHA / CGRAMapper

CoreIR based mapping tool for CGRA
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

Finish Const folding #25

Open rdaly525 opened 7 years ago

dillonhuff commented 6 years ago

@rdaly525 ressurecting a dead issue.

I'm mapping harris and I see coreir constants and coreir registers getting connected as data inputs to PEs, while the PE will have something like:

"data1_mode":["String","BYPASS"]

In its json.

Is this the intended behavior or should the mapper fold these into the PE and change the data0 / data1_mode to something like:

"data1_mode":["String","CONSTANT"]

and

"data1_mode":["String","REGISTER"]

Also is there documentation of the different PE modes somewhere?