Skip to content

Add coralnpu on asap7 #3605

Closed
Closed

Description

@maliberty

Description

Add https://github.com/google-coral/coralnpu to ORFS on asap7

Suggested Solution

Use fakeram as needed.

Additional Context

No response

Activity

  1. jeffng-or commented on Oct 21, 2025

    @jeffng-or
    Contributor

    From Peter Gadfort:

    first pass, yosys gets stuck in a techmapping pass, so will require some debugging to figure out why

    I'll share something later today, but it's before the PDK is even referenced, so I don't think that would matter (it's something in the RTL from the Chisel subsystem)

    test case: https://drive.google.com/file/d/1Glx6R5E9fm3ldPyH_hJKmE0mLV123_we/view?usp=sharing

  2. oharboe commented on Oct 22, 2025

    @oharboe
    Collaborator

    How about adding a PR for coralnpu with bazel-orfs?

  3. maliberty commented on Oct 22, 2025

    @maliberty
    MemberAuthor

    In ORFS? We have no bazel-orfs test there.

  4. jeffng-or commented on Oct 22, 2025

    @jeffng-or
    Contributor

    @gadfort , which steps did you follow to generate the SV with the CoralNPUChiselSubsystem top module?

    I was looking at the Integration Guide and it gives instructions on how to generate the SV for top modules with the names CoreMiniAxi or RvvCoreMiniAxi.

  5. gadfort commented on Oct 23, 2025

    @gadfort
    Contributor

    The issue with yosys stems from the Chisel generated code, so once I isolated that thats the only file included. It was generated by building just the chisel part isolation, not sure if something went wrong when I ran it, but yosys still chokes on it.

    I was following some of the FPGA integration since it has a top level with a reasonable number of ports (ie. integrated external memory).

  6. oharboe commented on Oct 23, 2025

    @oharboe
    Collaborator

    FYI, Chisel allows a lot of control over how code is generated via firtool, such as memories, verilog style, disabling verification layers, disable randomization of registers, etc. This used to be more important before slang as yosys without slang is much more finicky about what Verilog constructs that it supports.

  7. maliberty commented on Oct 23, 2025

    @maliberty
    MemberAuthor

    Note that slang is not yet on by default

  8. oharboe commented on Oct 23, 2025

    @oharboe
    Collaborator

    Note that slang is not yet on by default

    Should it ever be?

    It is easily enabled per project...

  9. maliberty commented on Oct 23, 2025

    @maliberty
    MemberAuthor

    I don't see why not as the sv support in yosys is inferior.

  10. oharboe commented on Oct 23, 2025

    @oharboe
    Collaborator

    I don't see why not as the sv support in yosys is inferior.

    Noted. Timeframe to make slang default? "asymptotic goal"?

  11. maliberty commented on Oct 23, 2025

    @maliberty
    MemberAuthor

    More just a matter of getting around to testing it and making sure nothing breaks.

  12. jeffng-or commented on Oct 24, 2025

    @jeffng-or
    Contributor

    The issue with yosys stems from the Chisel generated code, so once I isolated that thats the only file included. It was generated by building just the chisel part isolation, not sure if something went wrong when I ran it, but yosys still chokes on it.

    I was following some of the FPGA integration since it has a top level with a reasonable number of ports (ie. integrated external memory).

    Thanks for the clarification. I wasn't looking at the FPGA code before. I'm able to export essentially the same SV as you included in your tarball (only changes appeared to be the ifdef's and some newlines).

    So, now the question is what version of the design should be added to ORFS:

    1. CoralNPUChiselSubsystem (FPGA)
    2. CoreMiniAxi (scalar-only Coral NPU configuration is provided that can integrate with an AXI-based system)
    3. RvvCoreMiniAxi (RISC-V vector (RV32IMF_Zve32x) version of Coral NPU)
  13. oharboe commented on Oct 26, 2025

    @oharboe
    Collaborator

    @maliberty Perhaps it is a bridge too far to try to fake RAM for this design in asap7 initially?

    There's interesting stuff to be learned from this design, other than how to set up SRAMs?

    Given that the SRAMs will have a mismatch in behavioral model (number of ports, read clock, etc.), wrapper/interfaced logic would have to be written to combine one or more fake RAMs to a single RAM. This is what barstools does in Chipyard and SRAM inference support in FPGA.

    I find that setting number of rows in SRAMs to 1 row and then looking at what else there is to learn from a big design first is a good first step.

    Realism in SRAM is dessert...

  14. oharboe commented on Oct 27, 2025

    @oharboe
    Collaborator

    W.r.t. interesting issues to investigate with coralnpu, I think memory instantiation and placement is the least novel/interestin, there are already designs that investigate that.

    It would be neat with a feature that could put a pin in memory instantiation and placement to look for other interesting aspects with coralnpu:

    #3621

  15. 28 remaining items

  16. jeffng-or commented on May 4, 2026

    @jeffng-or
    Contributor

    Are the worst timing paths to the macro(s) with the high skew?

    No, the worst timing path is between two flops and there's not a whole lot of buffering going on. It does go through a synthesized regfile, though.

    Startpoint: core.score/regfile/io_readData_0_data[17]$_DFFE_PP0P_
                (rising edge-triggered flip-flop clocked by io_aclk)
    Endpoint: core.score/lsu.ctrl.mem_0_data[17]$_DFFE_PP0P_
              (rising edge-triggered flip-flop clocked by io_aclk)
    Path Group: io_aclk
    Path Type: max
    
    Fanout     Cap    Slew   Delay    Time   Description
    -----------------------------------------------------------------------------
                              0.00    0.00   clock io_aclk (rise edge)
                              0.00    0.00   clock source latency
         2   18.94    0.00    0.00    0.00 ^ io_aclk (in)
                                             io_aclk (net)
                     38.89   12.27   12.27 ^ clkbuf_0_io_aclk/A (BUFx24_ASAP7_75t_R)
         2    6.67    9.48   25.82   38.09 ^ clkbuf_0_io_aclk/Y (BUFx24_ASAP7_75t_R)
                                             clknet_0_io_aclk (net)
                      9.81    1.08   39.17 ^ clkbuf_1_1__f_io_aclk/A (BUFx24_ASAP7_75t_R)
         1    3.39    7.28   17.57   56.74 ^ clkbuf_1_1__f_io_aclk/Y (BUFx24_ASAP7_75t_R)
                                             clknet_1_1__leaf_io_aclk (net)
                      7.47    0.84   57.58 ^ _21970_/C (AND3x1_ASAP7_75t_R)
         1    3.09   25.31   24.81   82.39 ^ _21970_/Y (AND3x1_ASAP7_75t_R)
                                             _cg_clk_o (net)
                     25.36    0.64   83.03 ^ clkbuf_0__cg_clk_o/A (BUFx24_ASAP7_75t_R)
         2   15.52   12.74   23.44  106.47 ^ clkbuf_0__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_0__cg_clk_o (net)
                     16.68    3.65  110.12 ^ clkbuf_1_1_0__cg_clk_o/A (BUFx24_ASAP7_75t_R)
         2   13.77   11.16   20.49  130.61 ^ clkbuf_1_1_0__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_1_1_0__cg_clk_o (net)
                     19.33    5.01  135.62 ^ clkbuf_2_2_0__cg_clk_o/A (BUFx24_ASAP7_75t_R)
         2   11.69   10.09   21.16  156.78 ^ clkbuf_2_2_0__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_2_2_0__cg_clk_o (net)
                     15.40    3.70  160.49 ^ clkbuf_3_4_0__cg_clk_o/A (BUFx24_ASAP7_75t_R)
         2   17.22   13.23   20.52  181.01 ^ clkbuf_3_4_0__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_3_4_0__cg_clk_o (net)
                     20.85    5.21  186.22 ^ clkbuf_4_9_0__cg_clk_o/A (BUFx24_ASAP7_75t_R)
         2   10.37   10.20   21.86  208.08 ^ clkbuf_4_9_0__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_4_9_0__cg_clk_o (net)
                     11.49    1.80  209.88 ^ clkbuf_5_18__f__cg_clk_o/A (BUFx24_ASAP7_75t_R)
        11   49.78   28.07   22.95  232.84 ^ clkbuf_5_18__f__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_5_18__leaf__cg_clk_o (net)
                     33.37    6.19  239.02 ^ clkbuf_leaf_158__cg_clk_o/A (BUFx24_ASAP7_75t_R)
        22   15.14   12.70   25.84  264.86 ^ clkbuf_leaf_158__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_leaf_158__cg_clk_o (net)
                     13.73    1.84  266.70 ^ core.score/regfile/io_readData_0_data[17]$_DFFE_PP0P_/CLK (DFFASRHQNx1_ASAP7_75t_R)
         2    2.15   23.43   46.07  312.77 v core.score/regfile/io_readData_0_data[17]$_DFFE_PP0P_/QN (DFFASRHQNx1_ASAP7_75t_R)
                                             core.score/regfile/_00320_ (net)
                     23.44    0.14  312.91 v core.score/regfile/_45909_/A (INVx2_ASAP7_75t_R)
         2    2.88   14.67   11.61  324.52 ^ core.score/regfile/_45909_/Y (INVx2_ASAP7_75t_R)
                                             core.score/_regfile_io_readData_0_data[17] (net)
                     14.75    0.60  325.12 ^ core.score/_141080_/CI (FAx1_ASAP7_75t_R)
         1    1.94   42.58   44.07  369.19 v core.score/_141080_/SN (FAx1_ASAP7_75t_R)
                                             core.score/_004803_ (net)
                     42.59    0.35  369.54 v core.score/place72079/A (BUFx3_ASAP7_75t_R)
         1    3.70   11.35   24.11  393.66 v core.score/place72079/Y (BUFx3_ASAP7_75t_R)
                                             core.score/net71953 (net)
                     11.60    0.91  394.57 v core.score/_119823_/A (INVx3_ASAP7_75t_R)
         1    3.40   10.37    7.84  402.41 ^ core.score/_119823_/Y (INVx3_ASAP7_75t_R)
                                             core.score/_004805_ (net)
                     10.55    0.74  403.15 ^ core.score/_141148_/A (FAx1_ASAP7_75t_R)
         1    1.74   38.98   40.79  443.94 v core.score/_141148_/SN (FAx1_ASAP7_75t_R)
                                             core.score/_005063_ (net)
                     38.99    0.36  444.31 v core.score/place68272/A (BUFx3_ASAP7_75t_R)
         1    3.84   11.46   23.58  467.89 v core.score/place68272/Y (BUFx3_ASAP7_75t_R)
                                             core.score/net68146 (net)
                     11.69    0.88  468.77 v core.score/_119825_/A (INVx3_ASAP7_75t_R)
         1    2.60    8.79    7.06  475.83 ^ core.score/_119825_/Y (INVx3_ASAP7_75t_R)
                                             core.score/_005056_ (net)
                      8.88    0.48  476.30 ^ core.score/_141146_/A (FAx1_ASAP7_75t_R)
         1    0.79   21.06   28.74  505.05 v core.score/_141146_/SN (FAx1_ASAP7_75t_R)
                                             core.score/_005058_ (net)
                     21.06    0.09  505.14 v core.score/place66081/A (BUFx3_ASAP7_75t_R)
         1    2.43    8.07   18.07  523.21 v core.score/place66081/Y (BUFx3_ASAP7_75t_R)
                                             core.score/net65955 (net)
                      8.14    0.39  523.60 v core.score/_119828_/A (INVx3_ASAP7_75t_R)
         1    2.40    7.50    5.98  529.59 ^ core.score/_119828_/Y (INVx3_ASAP7_75t_R)
                                             core.score/_005044_ (net)
                      7.56    0.35  529.94 ^ core.score/_141143_/A (FAx1_ASAP7_75t_R)
         1    1.09   25.98   32.05  561.99 v core.score/_141143_/SN (FAx1_ASAP7_75t_R)
                                             core.score/_005046_ (net)
                     25.98    0.16  562.15 v core.score/_122587_/A (INVx1_ASAP7_75t_R)
         1    2.14   19.51   14.94  577.09 ^ core.score/_122587_/Y (INVx1_ASAP7_75t_R)
                                             core.score/_004680_ (net)
                     19.54    0.40  577.49 ^ core.score/_141052_/CI (FAx1_ASAP7_75t_R)
         1    1.53   37.04   40.44  617.93 v core.score/_141052_/SN (FAx1_ASAP7_75t_R)
                                             core.score/_004682_ (net)
                     37.04    0.30  618.22 v core.score/_124661_/A (INVx1_ASAP7_75t_R)
         1    1.76   19.91   16.05  634.28 ^ core.score/_124661_/Y (INVx1_ASAP7_75t_R)
                                             core.score/_004684_ (net)
                     19.92    0.13  634.40 ^ core.score/_141137_/CI (FAx1_ASAP7_75t_R)
         1    0.75   30.17   30.83  665.23 v core.score/_141137_/SN (FAx1_ASAP7_75t_R)
                                             core.score/_005021_ (net)
                     30.17    0.03  665.26 v core.score/_124662_/A (INVx1_ASAP7_75t_R)
         1    1.16   14.55   12.12  677.39 ^ core.score/_124662_/Y (INVx1_ASAP7_75t_R)
                                             core.score/_005022_ (net)
                     14.55    0.14  677.53 ^ core.score/_141273_/B (HAxp5_ASAP7_75t_R)
         2    1.97   38.13   16.83  694.36 v core.score/_141273_/CON (HAxp5_ASAP7_75t_R)
                                             core.score/_005438_ (net)
                     38.13    0.23  694.59 v core.score/_125125_/A (INVx1_ASAP7_75t_R)
         1    1.88   21.03   16.75  711.34 ^ core.score/_125125_/Y (INVx1_ASAP7_75t_R)
                                             core.score/_004868_ (net)
                     21.04    0.18  711.52 ^ core.score/_141096_/CI (FAx1_ASAP7_75t_R)
         2    2.01   30.82   21.11  732.64 v core.score/_141096_/CON (FAx1_ASAP7_75t_R)
                                             core.score/_004869_ (net)
         1    1.35   36.69   18.23  750.86 ^ core.score/_141096_/SN (FAx1_ASAP7_75t_R)
                                             core.score/_004870_ (net)
                     36.69    0.25  751.11 ^ core.score/place57581/A (BUFx3_ASAP7_75t_R)
         1    2.28    9.01   19.68  770.79 ^ core.score/place57581/Y (BUFx3_ASAP7_75t_R)
                                             core.score/net57455 (net)
                      9.11    0.48  771.27 ^ core.score/_139736_/B (NAND2x1_ASAP7_75t_R)
         1    0.58    7.58    5.65  776.92 v core.score/_139736_/Y (NAND2x1_ASAP7_75t_R)
                                             core.score/_071355_ (net)
                      7.59    0.05  776.97 v core.score/_139737_/B (OA211x2_ASAP7_75t_R)
         1    1.21   10.49   25.88  802.85 v core.score/_139737_/Y (OA211x2_ASAP7_75t_R)
                                             core.score/_071356_ (net)
                     10.50    0.19  803.04 v core.score/_139738_/B (AO21x1_ASAP7_75t_R)
         1    1.40   12.05   18.18  821.22 v core.score/_139738_/Y (AO21x1_ASAP7_75t_R)
                                             core.score/_071357_ (net)
                     12.06    0.24  821.47 v core.score/_139746_/A1 (AO21x1_ASAP7_75t_R)
         1    0.77    7.43   16.46  837.92 v core.score/_139746_/Y (AO21x1_ASAP7_75t_R)
                                             core.score/_071365_ (net)
                      7.44    0.09  838.02 v core.score/_139753_/A2 (AO221x1_ASAP7_75t_R)
         1    0.80   10.49   21.86  859.88 v core.score/_139753_/Y (AO221x1_ASAP7_75t_R)
                                             core.score/_071372_ (net)
                     10.49    0.07  859.95 v core.score/_139795_/B (AND3x1_ASAP7_75t_R)
         1    1.45   10.26   14.49  874.44 v core.score/_139795_/Y (AND3x1_ASAP7_75t_R)
                                             core.score/_071414_ (net)
                     10.28    0.24  874.68 v core.score/_139796_/C (AO221x2_ASAP7_75t_R)
         1    9.86   37.16   36.87  911.56 v core.score/_139796_/Y (AO221x2_ASAP7_75t_R)
                                             net9206 (net)
                     41.70    6.79  918.35 v place55235/A (BUFx6f_ASAP7_75t_R)
         7   25.30   24.93   24.14  942.49 v place55235/Y (BUFx6f_ASAP7_75t_R)
                                             net55109 (net)
                     88.60   27.64  970.13 v core.score/regfile/_28709_/B2 (AO32x1_ASAP7_75t_R)
         1    0.78   10.64   41.23 1011.36 v core.score/regfile/_28709_/Y (AO32x1_ASAP7_75t_R)
                                             core.score/regfile/_23011_ (net)
                     10.65    0.07 1011.43 v core.score/regfile/_28710_/C (AO221x1_ASAP7_75t_R)
         1    0.59    8.43   21.78 1033.22 v core.score/regfile/_28710_/Y (AO221x1_ASAP7_75t_R)
                                             core.score/regfile/_23012_ (net)
                      8.43    0.02 1033.24 v core.score/regfile/_28711_/C (AO221x1_ASAP7_75t_R)
         2    2.49   18.53   27.24 1060.49 v core.score/regfile/_28711_/Y (AO221x1_ASAP7_75t_R)
                                             core.score/regfile/_23013_ (net)
                     18.56    0.38 1060.87 v core.score/regfile/_45197_/A3 (AO32x1_ASAP7_75t_R)
         1    0.74   10.61   25.10 1085.97 v core.score/regfile/_45197_/Y (AO32x1_ASAP7_75t_R)
                                             core.score/regfile/_17115_ (net)
                     10.62    0.07 1086.04 v core.score/regfile/_45198_/C (AO221x1_ASAP7_75t_R)
         1    0.68    9.07   22.10 1108.14 v core.score/regfile/_45198_/Y (AO221x1_ASAP7_75t_R)
                                             core.score/regfile/_17116_ (net)
                      9.07    0.05 1108.19 v core.score/regfile/_45209_/B (OR5x1_ASAP7_75t_R)
         1    1.49   15.69   31.68 1139.87 v core.score/regfile/_45209_/Y (OR5x1_ASAP7_75t_R)
                                             core.score/regfile/_17127_ (net)
                     15.70    0.20 1140.08 v core.score/regfile/_45210_/B2 (OA22x2_ASAP7_75t_R)
         2   15.38   48.99   35.64 1175.71 v core.score/regfile/_45210_/Y (OA22x2_ASAP7_75t_R)
                                             core.score/regfile/_17128_ (net)
                     55.43    9.23 1184.94 v core.score/regfile/_48058_/A2 (AO21x2_ASAP7_75t_R)
         2    7.62   26.60   36.22 1221.17 v core.score/regfile/_48058_/Y (AO21x2_ASAP7_75t_R)
                                             core.score/_regfile_io_busPort_addr_0[1] (net)
                     27.55    2.73 1223.90 v core.score/_074842_/A (INVx2_ASAP7_75t_R)
         2    1.86   12.48   10.18 1234.08 ^ core.score/_074842_/Y (INVx2_ASAP7_75t_R)
                                             core.score/_013459_ (net)
                     12.49    0.27 1234.35 ^ core.score/_074846_/A1 (OA22x2_ASAP7_75t_R)
         1    0.67    6.60   17.50 1251.85 ^ core.score/_074846_/Y (OA22x2_ASAP7_75t_R)
                                             core.score/_013463_ (net)
                      6.60    0.05 1251.90 ^ core.score/_074847_/B (OA21x2_ASAP7_75t_R)
         3    3.10   13.79   19.26 1271.16 ^ core.score/_074847_/Y (OA21x2_ASAP7_75t_R)
                                             core.score/_013464_ (net)
                     13.81    0.29 1271.46 ^ core.score/_076034_/A (AND3x1_ASAP7_75t_R)
         2    2.72   21.26   24.60 1296.06 ^ core.score/_076034_/Y (AND3x1_ASAP7_75t_R)
                                             core.score/_014634_ (net)
                     21.29    0.48 1296.54 ^ core.score/_076035_/A (AND5x2_ASAP7_75t_R)
         7   11.99   45.43   41.39 1337.93 ^ core.score/_076035_/Y (AND5x2_ASAP7_75t_R)
                                             core.score/_014635_ (net)
                     45.65    1.81 1339.75 ^ core.score/_076036_/A2 (AO21x1_ASAP7_75t_R)
         3    2.88   21.14   25.54 1365.28 ^ core.score/_076036_/Y (AO21x1_ASAP7_75t_R)
                                             core.score/_014636_ (net)
                     21.14    0.18 1365.47 ^ core.score/place52103/A (BUFx6f_ASAP7_75t_R)
        18   25.05   32.35   20.77 1386.24 ^ core.score/place52103/Y (BUFx6f_ASAP7_75t_R)
                                             core.score/net51977 (net)
                     47.34   11.78 1398.02 ^ core.score/place52101/A (BUFx6f_ASAP7_75t_R)
         6    6.03   10.69   21.36 1419.38 ^ core.score/place52101/Y (BUFx6f_ASAP7_75t_R)
                                             core.score/net51975 (net)
                     10.78    0.53 1419.91 ^ core.score/_076723_/A1 (AOI21x1_ASAP7_75t_R)
         1    0.71    9.55    7.81 1427.71 v core.score/_076723_/Y (AOI21x1_ASAP7_75t_R)
                                             core.score/_015311_ (net)
                      9.55    0.06 1427.77 v core.score/_076728_/B (OR3x1_ASAP7_75t_R)
         1    1.68   13.57   23.32 1451.10 v core.score/_076728_/Y (OR3x1_ASAP7_75t_R)
                                             core.score/_015316_ (net)
                     13.59    0.29 1451.39 v core.score/_076752_/A1 (AOI211x1_ASAP7_75t_R)
         1    1.61   23.95   14.64 1466.03 ^ core.score/_076752_/Y (AOI211x1_ASAP7_75t_R)
                                             core.score/_015340_ (net)
                     23.95    0.24 1466.27 ^ core.score/_076794_/B1 (OA22x2_ASAP7_75t_R)
         2    4.76   19.68   25.22 1491.50 ^ core.score/_076794_/Y (OA22x2_ASAP7_75t_R)
                                             core.score/_015382_ (net)
                     19.96    1.31 1492.81 ^ core.score/_078677_/B2 (AOI22x1_ASAP7_75t_R)
         2    1.91   20.70   14.08 1506.89 v core.score/_078677_/Y (AOI22x1_ASAP7_75t_R)
                                             core.score/_017214_ (net)
                     20.71    0.24 1507.13 v core.score/_078945_/C (AND4x1_ASAP7_75t_R)
         2    2.08   13.19   19.77 1526.90 v core.score/_078945_/Y (AND4x1_ASAP7_75t_R)
                                             core.score/_017472_ (net)
                     13.19    0.17 1527.07 v core.score/_078946_/B (AND3x4_ASAP7_75t_R)
         2    1.94    7.61   20.55 1547.62 v core.score/_078946_/Y (AND3x4_ASAP7_75t_R)
                                             core.score/_017473_ (net)
                      7.63    0.20 1547.82 v core.score/_141959_/B (HAxp5_ASAP7_75t_R)
         1    1.87   35.16   32.24 1580.05 v core.score/_141959_/SN (HAxp5_ASAP7_75t_R)
                                             core.score/_006429_ (net)
                     35.17    0.34 1580.40 v core.score/_125101_/A (INVx1_ASAP7_75t_R)
         1    3.39   28.76   21.42 1601.81 ^ core.score/_125101_/Y (INVx1_ASAP7_75t_R)
                                             core.score/_004735_ (net)
                     28.81    0.69 1602.50 ^ core.score/_141063_/B (FAx1_ASAP7_75t_R)
         1    1.42   32.41   41.66 1644.16 v core.score/_141063_/SN (FAx1_ASAP7_75t_R)
                                             core.score/_004737_ (net)
                     32.42    0.24 1644.40 v core.score/_124122_/A (INVx1_ASAP7_75t_R)
         1    1.37   16.39   13.54 1657.94 ^ core.score/_124122_/Y (INVx1_ASAP7_75t_R)
                                             core.score/_004739_ (net)
                     16.39    0.15 1658.09 ^ core.score/_142018_/A (HAxp5_ASAP7_75t_R)
         1    1.76   33.30   34.00 1692.09 v core.score/_142018_/SN (HAxp5_ASAP7_75t_R)
                                             core.score/_006555_ (net)
                     33.31    0.33 1692.42 v core.score/place49820/A (BUFx3_ASAP7_75t_R)
         7    6.08   14.59   24.41 1716.83 v core.score/place49820/Y (BUFx3_ASAP7_75t_R)
                                             core.score/net49694 (net)
                     14.73    0.78 1717.62 v core.score/_080843_/A (INVx2_ASAP7_75t_R)
         6    5.03   18.90   12.56 1730.18 ^ core.score/_080843_/Y (INVx2_ASAP7_75t_R)
                                             core.score/_019305_ (net)
                     19.02    0.86 1731.04 ^ core.score/place49715/A (BUFx3_ASAP7_75t_R)
         4    3.13    9.89   17.39 1748.43 ^ core.score/place49715/Y (BUFx3_ASAP7_75t_R)
                                             core.score/net49589 (net)
                      9.92    0.28 1748.72 ^ core.score/_080855_/B (AND2x2_ASAP7_75t_R)
         3    1.79    9.70   16.56 1765.28 ^ core.score/_080855_/Y (AND2x2_ASAP7_75t_R)
                                             core.score/_019316_ (net)
                      9.70    0.07 1765.34 ^ core.score/_082502_/A3 (AO32x1_ASAP7_75t_R)
         1    0.82   10.63   18.10 1783.45 ^ core.score/_082502_/Y (AO32x1_ASAP7_75t_R)
                                             core.score/_020856_ (net)
                     10.64    0.11 1783.56 ^ core.score/_082506_/A2 (OA211x2_ASAP7_75t_R)
         1    2.00   12.20   21.27 1804.83 ^ core.score/_082506_/Y (OA211x2_ASAP7_75t_R)
                                             core.score/_020860_ (net)
                     12.24    0.37 1805.20 ^ core.score/_082507_/B (AOI21x1_ASAP7_75t_R)
         1    1.99   15.19    9.58 1814.78 v core.score/_082507_/Y (AOI21x1_ASAP7_75t_R)
                                             core.score/_020861_ (net)
                     15.21    0.35 1815.13 v core.score/_082508_/A (INVx2_ASAP7_75t_R)
         2    3.04   13.05    9.98 1825.12 ^ core.score/_082508_/Y (INVx2_ASAP7_75t_R)
                                             core.score/_020862_ (net)
                     13.12    0.53 1825.64 ^ core.score/_140866_/C (AND3x1_ASAP7_75t_R)
         1    2.16   18.42   22.92 1848.57 ^ core.score/_140866_/Y (AND3x1_ASAP7_75t_R)
                                             core.score/lsu.ctrl._valid_T_57 (net)
                     18.43    0.17 1848.73 ^ core.score/_141109_/A (FAx1_ASAP7_75t_R)
         1    1.89   41.57   44.56 1893.29 v core.score/_141109_/SN (FAx1_ASAP7_75t_R)
                                             core.score/_004911_ (net)
                     41.58    0.35 1893.64 v core.score/_122589_/A (INVx1_ASAP7_75t_R)
         1    3.38   30.46   23.01 1916.64 ^ core.score/_122589_/Y (INVx1_ASAP7_75t_R)
                                             core.score/_004913_ (net)
                     30.52    0.84 1917.48 ^ core.score/_141173_/A (FAx1_ASAP7_75t_R)
         1    1.60   36.82   43.65 1961.13 v core.score/_141173_/SN (FAx1_ASAP7_75t_R)
                                             core.score/_005164_ (net)
                     36.83    0.29 1961.43 v core.score/_123199_/A (INVx1_ASAP7_75t_R)
         1    3.08   27.39   20.92 1982.35 ^ core.score/_123199_/Y (INVx1_ASAP7_75t_R)
                                             core.score/_005028_ (net)
                     27.44    0.70 1983.05 ^ core.score/_141139_/B (FAx1_ASAP7_75t_R)
         1    1.19   35.57   36.04 2019.09 ^ core.score/_141139_/SN (FAx1_ASAP7_75t_R)
                                             core.score/_005031_ (net)
                     35.57    0.21 2019.31 ^ core.score/_123201_/A (INVx1_ASAP7_75t_R)
         1    1.55   16.04   12.67 2031.98 v core.score/_123201_/Y (INVx1_ASAP7_75t_R)
                                             core.score/_005032_ (net)
                     16.06    0.26 2032.24 v core.score/_142091_/B (HAxp5_ASAP7_75t_R)
         2    1.95   26.83   17.70 2049.94 ^ core.score/_142091_/CON (HAxp5_ASAP7_75t_R)
                                             core.score/_006719_ (net)
                     26.84    0.24 2050.18 ^ core.score/_123203_/A (INVx1_ASAP7_75t_R)
         1    2.45   18.54   14.30 2064.48 v core.score/_123203_/Y (INVx1_ASAP7_75t_R)
                                             core.score/_004597_ (net)
                     18.55    0.22 2064.70 v core.score/_141032_/B (FAx1_ASAP7_75t_R)
         2    1.95   38.01   25.38 2090.08 ^ core.score/_141032_/CON (FAx1_ASAP7_75t_R)
                                             core.score/_004598_ (net)
                     38.01    0.08 2090.17 ^ core.score/_082356_/B (NOR2x1_ASAP7_75t_R)
         1    0.71   12.33   10.84 2101.00 v core.score/_082356_/Y (NOR2x1_ASAP7_75t_R)
                                             core.score/_020716_ (net)
                     12.33    0.09 2101.09 v core.score/_082357_/C (OA211x2_ASAP7_75t_R)
         1    0.81    9.50   28.16 2129.25 v core.score/_082357_/Y (OA211x2_ASAP7_75t_R)
                                             core.score/_020717_ (net)
                      9.51    0.07 2129.32 v core.score/_082358_/B (AO21x2_ASAP7_75t_R)
         1    2.95   12.20   21.59 2150.91 v core.score/_082358_/Y (AO21x2_ASAP7_75t_R)
                                             core.score/_020718_ (net)
                     12.25    0.42 2151.33 v core.score/_082359_/B (NAND3x2_ASAP7_75t_R)
         2   12.61   58.37   24.84 2176.17 ^ core.score/_082359_/Y (NAND3x2_ASAP7_75t_R)
                                             core.score/_020719_ (net)
                     60.54    6.07 2182.24 ^ core.score/place47844/A (BUFx3_ASAP7_75t_R)
         2    2.59   10.08   23.14 2205.37 ^ core.score/place47844/Y (BUFx3_ASAP7_75t_R)
                                             core.score/net47718 (net)
                     10.09    0.17 2205.54 ^ core.score/rebuffer86394/A (BUFx6f_ASAP7_75t_R)
         2    3.74    7.36   13.10 2218.64 ^ core.score/rebuffer86394/Y (BUFx6f_ASAP7_75t_R)
                                             core.score/net86268 (net)
                      7.45    0.43 2219.08 ^ core.score/_082589_/B (AND2x2_ASAP7_75t_R)
         2    4.02   17.57   19.24 2238.32 ^ core.score/_082589_/Y (AND2x2_ASAP7_75t_R)
                                             core.score/_020935_ (net)
                     17.62    0.54 2238.86 ^ core.score/_082619_/A (NAND2x2_ASAP7_75t_R)
         2    8.21   23.94   14.35 2253.22 v core.score/_082619_/Y (NAND2x2_ASAP7_75t_R)
                                             core.score/_020962_ (net)
                     24.28    1.59 2254.81 v core.score/place47642/A (BUFx6f_ASAP7_75t_R)
         3   14.39   18.44   20.41 2275.22 v core.score/place47642/Y (BUFx6f_ASAP7_75t_R)
                                             core.score/net47516 (net)
                     25.19    5.83 2281.06 v core.score/place47641/A (BUFx12f_ASAP7_75t_R)
         8   12.37   11.40   18.56 2299.62 v core.score/place47641/Y (BUFx12f_ASAP7_75t_R)
                                             core.score/net47515 (net)
                     15.96    3.71 2303.34 v core.score/_108309_/B1 (OAI22x1_ASAP7_75t_R)
         1    1.20   17.26   12.75 2316.08 ^ core.score/_108309_/Y (OAI22x1_ASAP7_75t_R)
                                             core.score/_042663_ (net)
                     17.27    0.22 2316.30 ^ core.score/_108310_/B (AO21x1_ASAP7_75t_R)
         1    0.72    8.33   13.36 2329.66 ^ core.score/_108310_/Y (AO21x1_ASAP7_75t_R)
                                             core.score/_007913_ (net)
                      8.34    0.07 2329.73 ^ core.score/lsu.ctrl.mem_0_data[17]$_DFFE_PP0P_/D (DFFASRHQNx1_ASAP7_75t_R)
                                   2329.73   data arrival time
    
                             10.00   10.00   clock io_aclk (rise edge)
                              0.00   10.00   clock source latency
         2   17.74    0.00    0.00   10.00 ^ io_aclk (in)
                                             io_aclk (net)
                     36.19   11.42   21.42 ^ clkbuf_0_io_aclk/A (BUFx24_ASAP7_75t_R)
         2    5.47    8.91   24.96   46.38 ^ clkbuf_0_io_aclk/Y (BUFx24_ASAP7_75t_R)
                                             clknet_0_io_aclk (net)
                      9.09    0.88   47.26 ^ clkbuf_1_1__f_io_aclk/A (BUFx24_ASAP7_75t_R)
         1    3.24    7.22   17.32   64.58 ^ clkbuf_1_1__f_io_aclk/Y (BUFx24_ASAP7_75t_R)
                                             clknet_1_1__leaf_io_aclk (net)
                      7.37    0.79   65.37 ^ _21970_/C (AND3x1_ASAP7_75t_R)
         1    2.49   19.64   23.05   88.42 ^ _21970_/Y (AND3x1_ASAP7_75t_R)
                                             _cg_clk_o (net)
                     19.69    0.51   88.93 ^ clkbuf_0__cg_clk_o/A (BUFx24_ASAP7_75t_R)
         2   14.32   11.99   21.91  110.83 ^ clkbuf_0__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_0__cg_clk_o (net)
                     15.40    3.29  114.13 ^ clkbuf_1_1_0__cg_clk_o/A (BUFx24_ASAP7_75t_R)
         2   12.57   10.61   20.05  134.18 ^ clkbuf_1_1_0__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_1_1_0__cg_clk_o (net)
                     17.62    4.51  138.68 ^ clkbuf_2_3_0__cg_clk_o/A (BUFx24_ASAP7_75t_R)
         2    9.00    9.13   20.50  159.18 ^ clkbuf_2_3_0__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_2_3_0__cg_clk_o (net)
                     11.71    2.35  161.53 ^ clkbuf_3_6_0__cg_clk_o/A (BUFx24_ASAP7_75t_R)
         2   10.10    9.63   19.03  180.55 ^ clkbuf_3_6_0__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_3_6_0__cg_clk_o (net)
                     13.42    3.16  183.72 ^ clkbuf_4_13_0__cg_clk_o/A (BUFx24_ASAP7_75t_R)
         2    7.75    8.95   19.31  203.02 ^ clkbuf_4_13_0__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_4_13_0__cg_clk_o (net)
                     10.08    1.63  204.65 ^ clkbuf_5_26__f__cg_clk_o/A (BUFx24_ASAP7_75t_R)
        14   49.17   27.69   22.73  227.38 ^ clkbuf_5_26__f__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_5_26__leaf__cg_clk_o (net)
                     31.38    5.19  232.57 ^ clkbuf_leaf_288__cg_clk_o/A (BUFx24_ASAP7_75t_R)
        23   12.35   11.32   24.79  257.35 ^ clkbuf_leaf_288__cg_clk_o/Y (BUFx24_ASAP7_75t_R)
                                             clknet_leaf_288__cg_clk_o (net)
                     12.41    1.65  259.00 ^ core.score/lsu.ctrl.mem_0_data[17]$_DFFE_PP0P_/CLK (DFFASRHQNx1_ASAP7_75t_R)
                              6.43  265.43   clock reconvergence pessimism
                            -11.62  253.81   library setup time
                                    253.81   data required time
    -----------------------------------------------------------------------------
                                    253.81   data required time
                                   -2329.73   data arrival time
    -----------------------------------------------------------------------------
                                   -2075.92   slack (VIOLATED)
    
  17. oharboe commented on May 4, 2026

    @oharboe
    Collaborator

    Does this design require retiming? What is the published frequency?

  18. maliberty commented on May 4, 2026

    @maliberty
    MemberAuthor

    Possibly a candidate for operator swapping.

  19. arthurjolo commented on May 4, 2026

    @arthurjolo
    Contributor

    I was looking at the bad tree we see. I have a branch that improves delay insertion in CTS and I tried it out. I got a skew of 77.04ps, which is not that much better.

    When looking at the CTS result and the final result there is a huge difference on the trees. During balancing CTS thinks it has done a good job at the branch on the right, but at the final the over delay appears. This looks like some designs that we were not seting the correct RC values for the clock nets.

    CTS
    Image

    Final

    Image
  20. LeThanh666 commented on May 20, 2026

    @LeThanh666

    Excuse me, has anyone synthesized this design and found the Fmax or specifications for CoralNPU?

  21. oharboe commented on May 20, 2026

    @oharboe
    Collaborator

    Excuse me, has anyone synthesized this design and found the Fmax or specifications for CoralNPU?

    The design has too many logic levels with yosys to make sense physically(60+ as I recall), IMO. I wonder if it relies heavily on retiming which abc only does to a limited extent. Same as SonicBOOM, which is documented as requiring retiming.

  22. github-actions commented on Jul 20, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 21 days if no further activity occurs. Remove the Stale label or comment to keep it open.

  23. added
    Stale
    on Jul 20, 2026
  24. removed
    Stale
    on Aug 12, 2026
  25. jeffng-or commented on Aug 14, 2026

    @jeffng-or
    Contributor

    With da37dce, the config in (https://github.com/The-OpenROAD-Project-private/OpenROAD-flow-scripts/tree/asap7-coralnpu-take-2) gets stuck in DRT (36th iteration with 3k violations/14h).

  26. jeffng-or commented on Aug 26, 2026

    @jeffng-or
    Contributor

    Added via #4474

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions