Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error of parsing 7nm.lib file #2

Open
sun123-cmd opened this issue May 21, 2024 · 1 comment
Open

Error of parsing 7nm.lib file #2

sun123-cmd opened this issue May 21, 2024 · 1 comment

Comments

@sun123-cmd
Copy link

Hello!

While running mcts_agent_training.sh script,:
In log_alu2run15001.log file at /home/sun/Desktop/ABC-RL/ABC-RL_ICLR/dump/test_TTSPLIT5001_replayMem_320_BS320_run15001,

It seems that code can' t parse 7nm.lib file:

 1 ABC command line: "read /home/sun/Desktop/ABC-RL/ABC-RL_ICLR/dump/test_TTSPLIT5001_replayMem_320_BS320_run15001/run15001/alu2+01006036154+step10.aig; read_lib /home/    sun/Desktop/ABC-RL/lib/7nm/7nm.lib; map ; topo;stime ".
  2 
  3 File "/home/sun/Desktop/ABC-RL/lib/7nm/7nm.lib". Line 960249. Failed to parse entry "*/".
  4 Parsing failed.  Parsing time =     0.26 sec
  5 Library "asap7sc7p5t_22b_AO_RVT_SS_170906" from "/home/sun/Desktop/ABC-RL/lib/7nm/7nm.lib" has 155 cells (0 skipped: 0 seq; 0 tri-state; 0 no func; 0 dont_use).  Tim    e =     0.36 sec
  6 Warning: Detected 2 multi-output gates (for example, "FAx1_ASAP7_75t_R").
  7 WireLoad = "none"  ^[[1;33mGates =    279^[[0m ( 14.7 %)   ^[[1;32mCap =  0.8 ff^[[0m (  2.7 %)   ^[[1;36mArea =      323.33^[[0m ( 85.3 %)   ^[[1;35mDelay =   477.6    0 ps^[[0m  ( 16.8 %)

The same arror also occured in all of the running results.

@animeshbchowdhury
Copy link
Contributor

The issue is coming from reading a line to be treated as comment. However, Lines 5-7 show that yosys was able to map the cells onto the design otherwise it would have failed.

We performed cec (manually as verification) to check if functionality wasn't corrupted and it was not. So, I ignored the entry of failing to parse. It can be taken care of by removing the comment from the lib file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants