AICPS / hw2vec

MIT License
35 stars 20 forks source link

No able to split the dataset Using HW2GRAPH and getting nx_graphs as empty #21

Open alhussain-shaikh opened 11 months ago

alhussain-shaikh commented 11 months ago

image

PWang0220 commented 5 months ago

Did you figure it out? I have the similar issue.

alhussain-shaikh commented 5 months ago

Did you figure it out? I have the similar issue.

yes, you have to make changes in config.py file:

https://github.com/AICPS/hw2vec/blob/master/hw2vec/config.py

unzip the dataset from assets folder and give the path of toy dataset

PWang0220 commented 4 months ago

Thanks for your reply. I have figured this problem out and I can run hw2vec now, but when I try to generate a SDF from a RISC-V design that contain multipple .v files. The TopModule file may lose some module, or some module lose some input or output, resulting in a empty of SDF graph. Did your have the same problem?

Best regards Peng


发件人: Al -Hussain Shaikh @.> 发送时间: 2024年6月7日 2:11 收件人: AICPS/hw2vec @.> 抄送: PWang0220 @.>; Comment @.> 主题: Re: [AICPS/hw2vec] No able to split the dataset Using HW2GRAPH and getting nx_graphs as empty (Issue #21)

Did you figure it out? I have the similar issue.

yes, you have to make changes in config.py file:

https://github.com/AICPS/hw2vec/blob/master/hw2vec/config.py

unzip the dataset from assets folder and give the path of toy dataset

― Reply to this email directly, view it on GitHubhttps://github.com/AICPS/hw2vec/issues/21#issuecomment-2153120854, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BAC4O4VCVHP5TVRUQ4ZR6UDZGCQ5XAVCNFSM6AAAAABAI6AERSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGEZDAOBVGQ. You are receiving this because you commented.Message ID: @.***>

alhussain-shaikh commented 4 months ago

Thanks for your reply. I have figured this problem out and I can run hw2vec now, but when I try to generate a SDF from a RISC-V design that contain multipple .v files. The TopModule file may lose some module, or some module lose some input or output, resulting in a empty of SDF graph. Did your have the same problem? Best regards Peng ____ 发件人: Al -Hussain Shaikh @.> 发送时间: 2024年6月7日 2:11 收件人: AICPS/hw2vec @.> 抄送: PWang0220 @.>; Comment @.> 主题: Re: [AICPS/hw2vec] No able to split the dataset Using HW2GRAPH and getting nx_graphs as empty (Issue #21) Did you figure it out? I have the similar issue. yes, you have to make changes in config.py file: https://github.com/AICPS/hw2vec/blob/master/hw2vec/config.py unzip the dataset from assets folder and give the path of toy dataset ― Reply to this email directly, view it on GitHub<#21 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BAC4O4VCVHP5TVRUQ4ZR6UDZGCQ5XAVCNFSM6AAAAABAI6AERSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGEZDAOBVGQ. You are receiving this because you commented.Message ID: @.***>

No, I didn't get that problem.

alhussain-shaikh commented 4 months ago

Thanks for your reply. I have figured this problem out and I can run hw2vec now, but when I try to generate a SDF from a RISC-V design that contain multipple .v files. The TopModule file may lose some module, or some module lose some input or output, resulting in a empty of SDF graph. Did your have the same problem? Best regards Peng ____ 发件人: Al -Hussain Shaikh @.> 发送时间: 2024年6月7日 2:11 收件人: AICPS/hw2vec @.> 抄送: PWang0220 @.>; Comment @.> 主题: Re: [AICPS/hw2vec] No able to split the dataset Using HW2GRAPH and getting nx_graphs as empty (Issue #21) Did you figure it out? I have the similar issue. yes, you have to make changes in config.py file: https://github.com/AICPS/hw2vec/blob/master/hw2vec/config.py unzip the dataset from assets folder and give the path of toy dataset ― Reply to this email directly, view it on GitHub<#21 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BAC4O4VCVHP5TVRUQ4ZR6UDZGCQ5XAVCNFSM6AAAAABAI6AERSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGEZDAOBVGQ. You are receiving this because you commented.Message ID: @.***>

If you are getting the problem you can check my repo:

https://github.com/alhussain-shaikh/HardwareTrojanDetection-