2024年5月14日火曜日

DesignCompilerでモジュールごとの面積内訳を見る

 DesignCompiler でモジュールごとの面積内訳を見たい場合,階層構造の展開をやめた上で,report_area -hierarchy オプションを付ける.compile_ultra はデフォルトで階層を展開して論理と回路を最適化してしまうので,-no_autoungroup オプションを付ける.

dc_shell> compile_ultra -no_autoungroup
dc_shell> report_area -hierarchy

  1. design_vision> report_area -hierarchy
  2. ****************************************
  3. Report : area
  4. Design : cpu_top_wo_mem
  5. Version: R-2020.09-SP4
  6. Date : Tue May 14 10:42:04 2024
  7. ****************************************
  8.  
  9. Information: Updating design information... (UID-85)
  10. Warning: Design 'cpu_top_wo_mem' contains 1 high-fanout nets. A fanout number of 1000 will be used for delay calculations involving these nets. (TIM-134)
  11. Library(s) Used:
  12.  
  13. mrow_0p7 (File: /home/xxx/mrow_0p7.db)
  14.  
  15. Number of ports: 579
  16. Number of nets: 17670
  17. Number of cells: 17221
  18. Number of combinational cells: 15986
  19. Number of sequential cells: 1226
  20. Number of macros/black boxes: 0
  21. Number of buf/inv: 3293
  22. Number of references: 22
  23.  
  24. Combinational area: 8079.139917
  25. Buf/Inv area: 2618.919946
  26. Noncombinational area: 539.439997
  27. Macro/Black Box area: 0.000000
  28. Net Interconnect area: undefined (Wire load has zero net area)
  29.  
  30. Total cell area: 8618.579914
  31. Total area: undefined
  32.  
  33. Hierarchical area distribution
  34. ------------------------------
  35.  
  36. Global cell area Local cell area
  37. ------------------ ----------------------------
  38. Hierarchical cell Absolute Percent Combi- Noncombi- Black-
  39. Total Total national national boxes Design
  40. -------------------------------- --------- ------- --------- --------- ------ ----------------
  41. cpu_top_wo_mem 8618.5799 100.0 1204.0700 47.0800 0.0000 cpu_top_wo_mem
  42. alu_0 1550.5800 18.0 1550.5800 0.0000 0.0000 alu
  43. decoder_0 91.5500 1.1 91.5500 0.0000 0.0000 decoder
  44. gpi_0 3.5200 0.0 1.7600 1.7600 0.0000 gpi
  45. gpo_0 8.3600 0.1 6.6000 1.7600 0.0000 gpo
  46. hardware_counter_0 142.5900 1.7 128.5100 14.0800 0.0000 hardware_counter
  47. regfile_0 4915.3600 57.0 4478.8800 436.4800 0.0000 regfile
  48. uart_0 307.0500 3.6 290.7700 16.2800 0.0000 uart
  49. uart_rx_0 348.4200 4.0 326.4200 22.0000 0.0000 uart_rx
  50. -------------------------------- --------- ------- --------- --------- ------ ----------------
  51. Total 8079.1399 539.4400 0.0000
  52.  
  53. 1
 

同じように,電力も階層ごとに見ることが出来ます.
dc_shell> report_power -hierarchy

  1. design_vision> report_power -hierarchy
  2. ****************************************
  3. Report : power
  4. -hier
  5. -analysis_effort low
  6. Design : cpu_top_wo_mem
  7. Version: R-2020.09-SP4
  8. Date : Tue May 14 10:43:05 2024
  9. ****************************************
  10.  
  11.  
  12. Library(s) Used:
  13.  
  14. mrow_0p7 (File: /home/xxx/mrow_0p7.db)
  15.  
  16.  
  17. Operating Conditions: mrow_0p7 Library: mrow_0p7
  18. Wire Load Model Mode: top
  19.  
  20. Design Wire Load Model Library
  21. ------------------------------------------------
  22. cpu_top_wo_mem wl1 mrow_0p7
  23.  
  24.  
  25. Global Operating Voltage = 0.7
  26. Power-specific unit information :
  27. Voltage Units = 1V
  28. Capacitance Units = 1.000000pf
  29. Time Units = 1ps
  30. Dynamic Power Units = 1 W (derived from V,C,T units)
  31. Leakage Power Units = 1pW
  32.  
  33.  
  34. --------------------------------------------------------------------------------
  35. Switch Int Leak Total
  36. Hierarchy Power Power Power Power %
  37. --------------------------------------------------------------------------------
  38. cpu_top_wo_mem 90.595 N/A 3.24e+06 N/A N/A
  39. hardware_counter_0 (hardware_counter)
  40. 12.242 N/A 3.04e+04 N/A N/A
  41. gpo_0 (gpo) 0.789 N/A 5.75e+03 N/A N/A
  42. gpi_0 (gpi) 0.000 5.31e-04 1.56e+03 5.31e-04 N/A
  43. uart_rx_0 (uart_rx) 0.293 N/A 8.16e+04 N/A N/A
  44. uart_0 (uart) 12.376 N/A 6.87e+04 N/A N/A
  45. alu_0 (alu) 0.000 0.000 6.24e+05 6.24e-07 N/A
  46. regfile_0 (regfile) 2.594 N/A 1.85e+06 N/A N/A
  47. decoder_0 (decoder) 41.427 N/A 2.64e+04 N/A N/A
  48. 1

compile_ultra はデフォルトで階層を展開するので,
dc_shell> compile -ungroup_all
dc_shellcompile_ultra
compile コマンドと compiler_ultra コマンドを併用する必要は無いようだ.DesignCompiler R-2020.09-SP4 でのお話です.

0 件のコメント:

コメントを投稿