cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Visitor
Visitor
8,970 Views
Registered: ‎12-24-2014

A problem about "the C Synthesis"

Jump to solution

In C compile, the expression below can get right result. But after C Synthesis, the simulation of the "res" get wrong result.Anybody meet the same problem? 

        res = (exptmp.len >= lenmin && exptmp.len <= lenmax && da2 <= 6);

0 Kudos
Reply
1 Solution

Accepted Solutions
Contributor
Contributor
15,794 Views
Registered: ‎10-06-2013

After synthesis in Vivado HLS, run C/RTL Co-simulation where you will use the same C Test bench to check the functionality of the generated RTL. This is one of the main advantages of Vivado HLS and I will recommend you to check the functional correctness using this

View solution in original post

0 Kudos
Reply
3 Replies
Moderator
Moderator
8,944 Views
Registered: ‎07-16-2008

Did you run C/RTL Co-simulation? Please ensure the co-sim passes.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
Contributor
Contributor
15,795 Views
Registered: ‎10-06-2013

After synthesis in Vivado HLS, run C/RTL Co-simulation where you will use the same C Test bench to check the functionality of the generated RTL. This is one of the main advantages of Vivado HLS and I will recommend you to check the functional correctness using this

View solution in original post

0 Kudos
Reply
Moderator
Moderator
8,882 Views
Registered: ‎04-17-2011
If the RTLco-simulation is not matching up with C-sim then it could be because of many reasons. You may look into the AR for more help: http://www.xilinx.com/support/answers/61063.html
Regards,
Debraj
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Reply