ispras / utopia-hls

Utopia: a High-Level Synthesis framework
Apache License 2.0
7 stars 1 forks source link

Fix IDCT test with LP-scheduling #8

Open Muxianesty opened 3 months ago

Muxianesty commented 3 months ago

Currently IDCT test with LP-scheduling (file https://github.com/ispras/utopia-hls/blob/master/test/model/dfcxx/idct.cpp) is not used in the test system, as add_column function fails starting with 100th variable in the set (file https://github.com/ispras/utopia-hls/blob/master/src/model/dfcir/lib/dfcir/conversions/DFCIRLPUtils.cpp), causing the following error:

realloc(): invalid old size
Aborted (core dumped)

Possibly misused _lpsolve API, unchecked constraints on memory, incorrect graph construction or IDCT description itself.