cpc / openasip

Open Application-Specific Instruction Set processor tools (OpenASIP)
http://openasip.org
Other
138 stars 41 forks source link

There's no LSU compatibled with AlmaIFIntegrator found in almaif.hdb #258

Open Lixiang9716 opened 2 months ago

Lixiang9716 commented 2 months ago

I want to reproduce a lenet project https://github.com/kanishkan/lenet.git.However , I found no LSU compatibled with AlmaIFIntegrator in almaif.hdb. 1714234004771 How can I fix it ?

TopiLeppanen commented 2 months ago

Hello, The way I have been generating the AlmaIFIntegrator compatible LSUs is using the generate_lsu_32.hdb, which generates the RTL from operation snippets. So, try adding that to the --hdb-list= You could also use the GUI to select the operation implementations from the hdb, but the CLI-version is easier, since it will automatically look for them.

Hopefully that is compatible to what Kanishkan was doing with the lenet. I haven't run that myself. It's possible that due to the version control difficulties related to hdbs, we might not now have the exact same almaif.hdb that he was using back then.

pjaaskel commented 2 months ago

@kanishkan any ideas?

kanishkan commented 2 months ago

This issue might be related to - https://github.com/kanishkan/lenet/issues/3.. removing SIMD ops from LSU and following Topi's suggesstion should help.

Alternatively, you can try to use one of the ADF from OpenASIP repo (/share/tce/data/mach/).

Lixiang9716 commented 2 months ago

thanks.