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

[pull] master from YosysHQ:master #258

Open
wants to merge 1,386 commits into
base: master
Choose a base branch
from
Open

[pull] master from YosysHQ:master #258

wants to merge 1,386 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 31, 2023

  1. gowin: Himbaechel. Add the GW1N-4 simple IOs

    And also fix the clock router to allow (with a warning) non-dedicated
    routing in case of false detection of clock wires.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    4d0afdf View commit details
    Browse the repository at this point in the history
  2. gowin: Himbaechel. Fix DESER and PLL

    - OSER4 can be located in neighboring IOs;
    - PLLVR also needs to rename the inputs.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    e85bb1c View commit details
    Browse the repository at this point in the history
  3. gowin: Himbaechel. Refactor.

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    09b7cad View commit details
    Browse the repository at this point in the history
  4. gowin: Himbaechel. Improve error messages

    OSER16/IDES16 placement issue reports now indicate which location is
    having trouble.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    84a27c3 View commit details
    Browse the repository at this point in the history
  5. gowin: Himbaechel. Fix IO for GW1NZ-1

    In these chips, the midline IOs are still simple, but are no longer just
    IOBUF - that is, unlike the GW1N-1 IBUF and OBUF are not obtained by
    applying a signal to the OEN input.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    1b926b2 View commit details
    Browse the repository at this point in the history
  6. gowin: Himbaechel. Add rough CMake stuff

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    fdd45d1 View commit details
    Browse the repository at this point in the history
  7. gowin: Himbaechel. Improve CMake thing a little

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    f428059 View commit details
    Browse the repository at this point in the history
  8. gowin: Himbaechel. Handling of disabled units

    Using  extra cell functions to mark disabled units using the PLL example.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    6513299 View commit details
    Browse the repository at this point in the history
  9. gowin: Himbaechel. Install bases

    Install the Himbaechel gowin chipdb .bin files to
    /usr/local/nextpnr/himbaehel/gowin
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    aca14cc View commit details
    Browse the repository at this point in the history
  10. gowin: Himbaechel. Fix problems.

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    3e0b982 View commit details
    Browse the repository at this point in the history
  11. gowin: Himbaechel. Fix the device selection

    Slightly change the Gowin device selection mechanism for database generation.
    By default, nothing is generated as before.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    98b09c3 View commit details
    Browse the repository at this point in the history
  12. clangformat

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    a9a9251 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2023

  1. ecp5: Improve packer robustness to FF dangling M input

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    79c6840 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. json: Fix handling of offsets in backend

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    9994ba1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    732b329 View commit details
    Browse the repository at this point in the history
  3. himbaechel/gowin: recognize -DAPYCULA_INSTALL_PREFIX=.../virtualenv.

    This option can be empty, in which case the virtualenv is left
    exactly as it was in the build environment.
    whitequark authored and gatecat committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    eef5243 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Configuration menu
    Copy the full SHA
    f9825c3 View commit details
    Browse the repository at this point in the history
  2. gowin: Himbaechel. Extend clock router

    Now the clock router can place a buffer into the specified network,
    which divides the network into two parts: from the source to the buffer,
    routing occurs through any available PIPs, and after the buffer to the
    sink, only through a dedicated global clock network.
    
    This is made specifically for the Tangnano20k where the external
    oscillator is soldered to a regular non-clock pin. But it can be used
    for other purposes, you just need to remember that the recipient must be
    a CLK input or output pin.
    
    The port/network to set the buffer to is specified in the .CST file:
    
    CLOCK_LOC "name" BUFG;
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    78ee20b View commit details
    Browse the repository at this point in the history
  3. gowin: Himbaechel. Use a more appropriate function

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    890d7f7 View commit details
    Browse the repository at this point in the history
  4. himbaechel: Initial timing support

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    3e1e783 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. himbaechel: Fix for Python 3.9

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    3cac90a View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. himbaechel: Add discovery of uarch and chipdb

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    565927d View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. gowin: Himbaechel. Support DragonFlyBSD

    We add support right here so that later I don’t have to make patches to the ports.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    165e89f View commit details
    Browse the repository at this point in the history
  2. gowin: Himbaechel. Support DragonFlyBSD

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    8a54e5e View commit details
    Browse the repository at this point in the history
  3. gowin: Himbaechel. Support DragonFlyBSD

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    f5996ff View commit details
    Browse the repository at this point in the history
  4. gowin: Himbaechel. Fix install path

    Use himbaechel/gowin instead of himbaechel/gowin/gowin.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    682c914 View commit details
    Browse the repository at this point in the history
  5. gowin: Himbaechel. Specify the chip variant.

    For GW2A-18 and GW1N-9 you need to specify the family in addition to partno.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    8e84006 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. tmg: Fix argument order in run method

    Router 2 expects "update_route_delays" to be the first argument to `tmg.run`.
    rowanG077 authored and gatecat committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    38d2a4b View commit details
    Browse the repository at this point in the history
  2. tmg: Fix logging of slack histogram

    rowanG077 authored and gatecat committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    3f2e550 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. hashlib: Improve pool hash function.

    wanda-phi authored and mwkmwkmwk committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    c07ca64 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. Configuration menu
    Copy the full SHA
    e8602fb View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Load timing data

    mmicko authored and gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    58cb8a8 View commit details
    Browse the repository at this point in the history
  2. optimization/cleanup

    mmicko authored and gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    1edb449 View commit details
    Browse the repository at this point in the history
  3. fix import

    mmicko authored and gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    40313ea View commit details
    Browse the repository at this point in the history
  4. use timing data

    mmicko authored and gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    c2b75b3 View commit details
    Browse the repository at this point in the history
  5. import proper data where possible

    mmicko authored and gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    657d289 View commit details
    Browse the repository at this point in the history
  6. made delay_t int type

    mmicko authored and gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    72546a2 View commit details
    Browse the repository at this point in the history
  7. select proper signal

    mmicko authored and gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    ed7064b View commit details
    Browse the repository at this point in the history
  8. properly assign latest fuzzed data

    mmicko authored and gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    1a92c83 View commit details
    Browse the repository at this point in the history
  9. update trellis version

    mmicko authored and gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    1811c71 View commit details
    Browse the repository at this point in the history
  10. remove commented sections

    mmicko authored and gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    c2e7d3d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f032573 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e4cb7ea View commit details
    Browse the repository at this point in the history
  13. Fix timing lookup for DP8KC

    mmicko authored and gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    95e7598 View commit details
    Browse the repository at this point in the history
  14. placer_static: Initial prototype

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    0eb9a9a View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. compile fix

    mmicko committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    5a2eff2 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2023

  1. Configuration menu
    Copy the full SHA
    4a7e58a View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Fixes for building on windows

    alchitry authored and gatecat committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    1238b69 View commit details
    Browse the repository at this point in the history
  2. Fixes for building on windows

    alchitry authored and gatecat committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    95f0a19 View commit details
    Browse the repository at this point in the history
  3. Fixes for building on windows

    alchitry authored and gatecat committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    7cac024 View commit details
    Browse the repository at this point in the history
  4. Undid accidental formatting

    alchitry authored and gatecat committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    6bae89b View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. clangformat

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    74d7ebc View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. himbaechel: Generation speedup and improvements

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    d40c6e8 View commit details
    Browse the repository at this point in the history
  2. ice40: add static placer support

    Ravenslofty authored and gatecat committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    d6f54fd View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Configuration menu
    Copy the full SHA
    214cc43 View commit details
    Browse the repository at this point in the history
  2. ice40: add IO group to static

    Ravenslofty authored and gatecat committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    e3c44dd View commit details
    Browse the repository at this point in the history
  3. archapi: Add new API for global constant routing

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    fe52840 View commit details
    Browse the repository at this point in the history
  4. himbaechel: Add support for new constants API

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    cf64746 View commit details
    Browse the repository at this point in the history
  5. clangformat

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    7b0e082 View commit details
    Browse the repository at this point in the history
  6. router2: Don't use estimates for constant nets

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    4c6003a View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Configuration menu
    Copy the full SHA
    506d5f9 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. gowin: Himbaechel. Diff io BUGFIX.

    Fixed incorrect use of attributes instead of parameters.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    0106c3d View commit details
    Browse the repository at this point in the history
  2. Fix printf formats

    uis246 authored and gatecat committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    a4d2244 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. ecp5: Don't segfault while packing FFs when DI port of TRELLIS_FF unc…

    …onnected
    
    Currently a segfault happens when the DI port is not specified. Leaving
    it unconnected is probably incorrect, but it shouldn't crash the placer.
    Fix by adding a check.
    laanwj authored and gatecat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    a32ad13 View commit details
    Browse the repository at this point in the history
  2. himbaechel: Adding a xilinx uarch for xc7 with prjxray

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    5bfe0dd View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. himbaechel: Switch default back to router1 for now

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    e2a887e View commit details
    Browse the repository at this point in the history
  2. Update README

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    55635cf View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. himbaechel: Fix when more then 32k unique node shapes

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    6683fd4 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Fix abstract class implementation for fpga_interchange

    Signed-off-by: Balint Cristian <[email protected]>
    cbalint13 authored and gatecat committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    7814f44 View commit details
    Browse the repository at this point in the history
  2. python: Remove deprecated use of Py_SetProgramName

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    de3d5be View commit details
    Browse the repository at this point in the history
  3. fix compile warning

    mmicko authored and gatecat committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    0b8a93e View commit details
    Browse the repository at this point in the history
  4. set render bound box, so grid is displayed

    mmicko authored and gatecat committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    1ec8e41 View commit details
    Browse the repository at this point in the history
  5. create wiremap for himbaechel arch

    mmicko authored and gatecat committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    ec60542 View commit details
    Browse the repository at this point in the history
  6. CRLF -> LF eol

    mmicko authored and gatecat committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    e3f4578 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2023

  1. gowin: Himbaechel. Initial BSRAM support

    Only pROM/pROMX9 for now
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    f2c280f View commit details
    Browse the repository at this point in the history
  2. gowin: Himbaechel. Add GW1NZ-1 BSRAM.

    The following primitives are implemented for the GW1NZ-1 chip:
    
    * pROM     - read only memory - (bitwidth: 1, 2, 4, 8, 16, 32).
    * pROMX9   - read only memory - (bitwidth: 9, 18, 36).
    * SDPB     - semidual port    - (bitwidth: 1, 2, 4, 8, 16, 32).
    * SDPX9B   - semidual port    - (bitwidth: 9, 18, 36).
    * DPB      - dual port        - (bitwidth: 16).
    * DPX9B    - dual port        - (bitwidth: 18).
    * SP       - single port      - (bitwidth: 1, 2, 4, 8, 16, 32).
    * SPX9     - single port      - (bitwidth: 9, 18, 36).
    
    Also:
     - The creation of databases for GW1NS-2 has been removed - this was not
       planned to be supported in Himbaechel from the very beginning and
       even examples were not created in apicula for this chip due to the
       lack of boards with it on sale.
     - It is temporarily prohibited to connect DFFs and LUTs into clusters
       because for some reason this prevents the creation of images on lower
       chips (placer cannot find the placement), although without these
       clusters the images are quite working. Requires further research.
     - Added creation of ALU with mode 0 - addition. Such an element is not
       generated by Yosys, but it is a favorite vendor element and its
       support here greatly simplifies the compilation of vendor netlists.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    90d4863 View commit details
    Browse the repository at this point in the history
  3. gowin: Himbaechel. Add BSRAM for all chips.

        The following primitives are implemented for the GW1N-1, GW2A-18,
        GW2AR-18C, GW1NSR-4C, GW1NR-9C, GW1NR-9 and GW1N-4 chips:
    
        * pROM     - read only memory - (bitwidth: 1, 2, 4, 8, 16, 32).
        * pROMX9   - read only memory - (bitwidth: 9, 18, 36).
        * SDPB     - semidual port    - (bitwidth: 1, 2, 4, 8, 16, 32).
        * SDPX9B   - semidual port    - (bitwidth: 9, 18, 36).
        * DPB      - dual port        - (bitwidth: 16).
        * DPX9B    - dual port        - (bitwidth: 18).
        * SP       - single port      - (bitwidth: 1, 2, 4, 8, 16, 32).
        * SPX9     - single port      - (bitwidth: 9, 18, 36).
    
        For GW1NSR-4C and GW1NR-9 chips, SP/SPX9 primitives with data widths
        of 32/36 bits are implemented using a pair of 16-bit wide
        primitives.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    c13b34f View commit details
    Browse the repository at this point in the history
  4. static: Reduce stddev of initial solution

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    6d93224 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Configuration menu
    Copy the full SHA
    b4ca68c View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. static/ice40: bug fixes for ultraplus

    Ravenslofty authored and gatecat committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    d1083fd View commit details
    Browse the repository at this point in the history
  2. placer1: Fix various bitrot

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    535709a View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. nexus: Improve error reporting for illegal carry chains

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    5658785 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2023

  1. .gitignore for nextpnr-himbaechel

    mmicko authored and gatecat committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    4191487 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2023

  1. run clangformat

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    4a40251 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Add Rust FFI bindings

    Ravenslofty authored and gatecat committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    d2297b1 View commit details
    Browse the repository at this point in the history
  2. first round of review fixes

    Ravenslofty authored and gatecat committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    1dbd810 View commit details
    Browse the repository at this point in the history
  3. second round of review fixes

    Ravenslofty authored and gatecat committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    49d5058 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1bbcc5f View commit details
    Browse the repository at this point in the history
  5. rust: Fix segfault

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    e12ab86 View commit details
    Browse the repository at this point in the history
  6. rust: silence warnings

    Ravenslofty authored and gatecat committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    50d4374 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. common/kernel: Fixed unused parameters and spurious ; warnings in s…

    …ome of the headers
    dragonmux authored and gatecat committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    7fd80c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb4db2d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9c69ac View commit details
    Browse the repository at this point in the history
  4. rust: Reworked npnr_context_get_wires_leak() using std::accumulate(…

    …) and fixed an accidental copy problem
    dragonmux authored and gatecat committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    7d0c4ea View commit details
    Browse the repository at this point in the history
  5. rust: Reworked npnr_context_get_pips_leak() using std::accumulate()…

    … and fixed an accidental copy problem
    dragonmux authored and gatecat committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    cfeb588 View commit details
    Browse the repository at this point in the history
  6. rust: Reworked the unwrap helpers by effectively hiding the crime of …

    …memcpy()'ing into a non-POD type from the compiler
    
    There is still the possibility that this can explode horribly, but the result should be the same codegen and fixes the warning
    
    This also makes the helpers `inline` so they'll usually be compiled out for a nice speed boost
    dragonmux authored and gatecat committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    3e46fbc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cb269b4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6a9ad61 View commit details
    Browse the repository at this point in the history
  9. Add trivially copyable invariant for ID types

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    5013392 View commit details
    Browse the repository at this point in the history
  10. upgrade to C++17

    Ravenslofty authored and gatecat committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    d867019 View commit details
    Browse the repository at this point in the history
  11. Fix a renamed Qt item

    Ravenslofty authored and gatecat committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    2c8ad5f View commit details
    Browse the repository at this point in the history
  12. hashlib: constify const_iterators

    Ravenslofty authored and gatecat committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    d557e3e View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Configuration menu
    Copy the full SHA
    257fbe5 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. frontend: Ignore $scopeinfo

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    d00fdc8 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. clangformat

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    2afb1f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. rust: add mutex for arch manipulation

    Ravenslofty authored and gatecat committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    f12e764 View commit details
    Browse the repository at this point in the history
  2. rust: slight cleanup

    Ravenslofty authored and gatecat committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    c5fc34f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8e1cbc View commit details
    Browse the repository at this point in the history
  4. rust: nets isn't send/sync

    Ravenslofty authored and gatecat committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    6e4e814 View commit details
    Browse the repository at this point in the history
  5. rust: fix build error

    Ravenslofty authored and gatecat committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    d0e0166 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dfd651a View commit details
    Browse the repository at this point in the history
  7. rust: rework portref_cell

    Ravenslofty authored and gatecat committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    14a0906 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a0e360f View commit details
    Browse the repository at this point in the history
  9. gui: Remove const on max_elems_

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    4220ce1 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Increase the set of PnR-excluded cells

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    8968c84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97f5c3c View commit details
    Browse the repository at this point in the history
  3. gowin: Himbaechel. Deal with SP BSRAM ports.

    The OCE signal in the SP(X)9B primitive is intended to control the
    built-in output register. The documentation states that this port is
    invalid when READ_MODE=0 is used. However, it has been experimentally
    established that you cannot simply apply VCC or GND to it and forget it
    - the discrepancy between the signal on this port and the signal on the
    CE port leads to both skipping data reading and unnecessary reading
    after CE has switched to 0.
    Here we force these ports to be connected to the network, except in the
    case where the user controls the OCE signal using non-constant signals.
    
    Also:
      * All PIPs for clock spines are made inaccessible to the common router
        - in general, using these routes for signals that have not been
        processed by a special globals router is fraught with effects that
        are difficult to detect.
      * The INV primitive has been added purely to speed up development -
        this primitive is not generated by Yosys, but is almost always
        present in vendor output files.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    91b0c4f View commit details
    Browse the repository at this point in the history
  4. gowin: Himbaechel. Fix the style.

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    73b7de7 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. static: Add a basic threadpool

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    9dcd0ef View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. static: Fix ifdefs

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    e7192cd View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. gowin: Himbaechel. SPX9 BSRAM BUGFIX.

    This type setting is not needed here - the packer distinguishes memory
    features by the X9 attribute, which will be correct anyway.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    325985e View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Update workflows

    mmicko authored and gatecat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    a65ddff View commit details
    Browse the repository at this point in the history
  2. gowin: Himbaechel. Global router BUGFIX.

    Ignore networks without users.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    b05cb86 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. gowin: Himbaechel. Improve global router.

    * Don't stop at the first bad "arc", but use the global network to the
      maximum.
    * Report partial/full use of global wires for the network.
    * In case of complete routing failure, releasing the source - this is
      actually a BUGFIX.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    4eeb56c View commit details
    Browse the repository at this point in the history
  2. gowin: Himbaechel. Edit message text.

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    833cb86 View commit details
    Browse the repository at this point in the history
  3. gowin: Himbaechel. Handle SDP OCE

    Semi-dual port BSRAM (in Gowin terminology) has the same feature as
    Single Port - the CE and OCE signals must be synchronized.
    
    Such a sin has not yet been noticed for Dual Port.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    cc273c1 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. static: First pass at timing-driven placement

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    255633c View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. static: Improve singleton handling

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    aa26ba7 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. ecp5: Improve router performance on slower speed grades

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    05ed930 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. gowin: Himbaechel. Improve the global router

    A small improvement - do not waste time analyzing already processed
    networks in the previous step (and possibly steps).
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    4981ebb View commit details
    Browse the repository at this point in the history
  2. gowin: Himbaechel. Allow to combine IOLOGIC.

    Corrects the situation when it is impossible to use IOBUF with two
    IOLOGIC elements at the same time - input and output.
    
    Addresses #1275
    
    This is done by dividing one IOLOGIC Bel into two - input IOLOGIC and
    output IOLOGIC plus checking for compatibility of the cells located
    there.
    
    At the moment, this check is simple and allows only the combination of
    DDR and DDRC primitives.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    4e8436a View commit details
    Browse the repository at this point in the history
  3. gowin: Himbaechel. Fix IDES16/OSER16

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    ff96fc5 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. gowin: Add support for DSP primitives.

    For the following primitives:
      - PADD9
      - PADD18
      - MULT9X9
      - MULT18X18
      - MULT36X36
      - MULTALU18X18
      - MULTALU36X18
      - MULTADDALU18X18
      - ALU54D
    packing and processing of fixed wires between macro and between DSP
    blocks is implemented.
    Clusters of DSP and macro blocks are processed using custom placement of
    cluster elements.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    210e0fa View commit details
    Browse the repository at this point in the history
  2. gowin: BUGFIX fix typo

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    5ecb669 View commit details
    Browse the repository at this point in the history
  3. Eliminate gcc13 warnings.

    abellgithub authored and gatecat committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    693058a View commit details
    Browse the repository at this point in the history
  4. One more warning.

    abellgithub authored and gatecat committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    b4da575 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Tweak the FreeBSD version of proc_self_dirname() to work on NetBSD an…

    …d use it.
    
    Resolves issue #1298.
    thorpej authored and whitequark committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    7f9f75c View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Add share to .gitignore

    mmicko authored and gatecat committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    465cbfa View commit details
    Browse the repository at this point in the history
  2. gui: user more reliable locking

    mmicko authored and gatecat committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    75af8cc View commit details
    Browse the repository at this point in the history
  3. gui: fix warning on closing application

    mmicko authored and gatecat committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    ac72546 View commit details
    Browse the repository at this point in the history
  4. Make example more like other arch

    mmicko authored and gatecat committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    1f25f20 View commit details
    Browse the repository at this point in the history
  5. update ci build script

    mmicko authored and gatecat committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    9bb46b9 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Gowin. Add PLL pads.

    If the CLKIN input of the PLL is connected to a special pin, then it
    makes sense to try to place the PLL so that it uses a direct implicit
    non-switched connection to this pin.
    
    The transfer of information about pins for various purposes has been
    implemented (clock input signal, feedback, etc), but so far only CLKIN
    is used.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    6b7723e View commit details
    Browse the repository at this point in the history
  2. Gowin. PLL Pads. Fix the condition.

    Do not search for pads if the signal source for the PLL is something
    other than the IO pin - these are guaranteed to already be placed and
    have a bound Bel.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    d3b53d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Gowin. Fix DSP MULT36X36

    When multiplying 36 bits by 36 bits using four 18x18 multipliers, the
    sign bits of the higher 18-bit parts of the multipliers were correctly
    switched, but what was incorrect was leaving the sign bits of the lower
    parts of the multipliers uninitialized. They now connect to VSS.
    
    Addresses YosysHQ/apicula#242
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    4d5c48a View commit details
    Browse the repository at this point in the history
  2. Ignore compile artifacts in rust directory

    mmicko authored and gatecat committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    edcafcf View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Fixed header files for boost 1.85.0

    pdaehne authored and gatecat committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    f085950 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. static: Exclude dark nodes from steplength

    Signed-off-by: gatecat <[email protected]>
    gatecat committed May 3, 2024
    Configuration menu
    Copy the full SHA
    7a00e76 View commit details
    Browse the repository at this point in the history
  2. static: Fix float overflow issue

    Co-authored-by: Lofty <[email protected]>
    Signed-off-by: gatecat <[email protected]>
    gatecat and Ravenslofty committed May 3, 2024
    Configuration menu
    Copy the full SHA
    89e3b7d View commit details
    Browse the repository at this point in the history
  3. static: Guard density CSV dumps behind a flag

    Signed-off-by: gatecat <[email protected]>
    gatecat committed May 3, 2024
    Configuration menu
    Copy the full SHA
    3f2451f View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Configuration menu
    Copy the full SHA
    0dc4bcb View commit details
    Browse the repository at this point in the history
  2. fix for windows path

    lushaylabs authored and gatecat committed May 6, 2024
    Configuration menu
    Copy the full SHA
    f99346b View commit details
    Browse the repository at this point in the history
  3. use boost for windows path

    lushaylabs authored and gatecat committed May 6, 2024
    Configuration menu
    Copy the full SHA
    eb05543 View commit details
    Browse the repository at this point in the history
  4. update import to boost

    lushaylabs authored and gatecat committed May 6, 2024
    Configuration menu
    Copy the full SHA
    09703c7 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. static: Make bin stamping more consistent

    Signed-off-by: gatecat <[email protected]>
    gatecat committed May 8, 2024
    Configuration menu
    Copy the full SHA
    423f1b7 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. nexus: Use a toposort when preplacing clock primitives

    Signed-off-by: gatecat <[email protected]>
    gatecat committed May 17, 2024
    Configuration menu
    Copy the full SHA
    59a29e5 View commit details
    Browse the repository at this point in the history
  2. Update cached Yosys in CI

    Signed-off-by: gatecat <[email protected]>
    gatecat committed May 17, 2024
    Configuration menu
    Copy the full SHA
    b7f91e5 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. prefine: Add shared lock around bel availability checks

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    61cc525 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. static: Various convergence improvements for ECP5

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    945cf48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c89037d View commit details
    Browse the repository at this point in the history
  3. clangformat

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    a29a17f View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Gowin. Add fix for Single Port BSRAM

    Add description of BSRAM harness
    
    In some cases, Gowin IDE adds a number of LUTs and DFFs to the BSRAM. Here we are trying to add similar elements.
    
    More details with pictures: https://github.com/YosysHQ/apicula/blob/master/doc/bsram-fix.md
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    8f87918 View commit details
    Browse the repository at this point in the history
  2. Gowin. Fix pipeline mode in BSRAM.

    It seems that the internal registers on the BSRAM output pins in
    READ_MODE=1'b1 (pipeline) mode do not function properly because in the
    images generated by Gowin IDE an external register is added to each pin,
    and the BSRAM itself switches to READ_MODE=1'b0 (bypass) mode .
    
    This is observed on Tangnano9k and Tangnano20k boards.
    
    Here we repeat this fix.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    2e8280a View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Gowin. Fix BSRAM block selection.

    In the images generated by Gowin IDE, the signals for dynamic BSRAM
    block selection (BLKSEL[2:0]) are not always connected directly to the
    ports - some chips add LUT2, LUT3 or LUT4 to turn these signals into
    Clock Enable.  Apparently there are chips with an error in the operation
    of these ports.
    
    Here we make such a decoder instead of using ports directly.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    0639681 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba29343 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Gowin. Implement power saving primitive

    As the board on the GW1N-1 chip becomes a rarity, its replacement is the
    Tangnano1k board with the GW1NZ-1 chip. This chip has a unique mechanism
    for turning off power to important things such as OSC, PLL, etc.
    
    Here we introduce a primitive that allows energy saving to be controlled
    dynamically.
    
    We also bring the names of some functions to uniformity.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    7dd4a8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b5b21e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cecd6b3 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Gowin. Taking into account the features of ROM

    For pROM(X9) primitives in images generated by Gowin IDE, there is an
    interesting recommunication of inputs depending on the data bit depth.
    For example, in some cases, a high logical level may be applied to the
    Write Enable input, which, let’s say, is not entirely usual for Read
    Only memory.
    
    Here we will do similar manipulations.
    
    In addition, several minor bug fixes are included:
    
     - Fixed bit numbering for non-X9 series primitives.
     - Fixed decoder generation for BLKSEL - do not assume unused inputs are
       connected to GND.
     - Use default values for BSRAM parameters - don't assume their
       mandatory presence.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    1871afe View commit details
    Browse the repository at this point in the history
  2. Gowin. Bugfix.

    The statement in the Gowin documentation that in the reading mode
    "READ_MODE=0" the output register is not used and the OCE signal is
    ignored is not confirmed by practice - if the OCE was left unconnected
    or connected to the constant network, then a change in output data was
    observed even with CE=0, as well as the absence of such at CE=1.
    
    Synchronizing CE and OCE helps and the memory works properly in complex
    systems such as RISC-V emulation and i8080 emulation (with 32K RAM and
    16K BSRAM based ROM), but there is no theoretical basis for this fix, so
    it is a hack.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    eb099a9 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Gowin. BUGFIX. Fix placement checks

    It was not taken into account that there are only 6 ALUs per cell. As a
    result, on complex designs where ALUs and LUT-based memory are involved
    and there are many LUTs (like in the RISCV emulator), there were
    sometimes false positives about placement conflicts.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and Ravenslofty committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    f17caa2 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Gowin. Implement clock management primitives.

    DQCE and DCS primitives are added.
    
    DQCE allows the internal logic to enable or disable the clock network in
    the quadrant. When clock network is disabled, all logic drivern by this
    clock is no longer toggled, thus reducing the total power consumtion of
    the device.
    
    DCS allows you to select one of four sources for two clock wires (6 and 7).
    Wires 6 and 7 have not been used up to this point.
    
    Since "hardware" primitives operate strictly in their own quadrants,
    user-specified primitives are converted into one or more "hardware"
    primitives as needed.
    
    Also:
      - minor edits to make the most of helper functions like connectPorts()
      - when creating bases, the corresponding constants are assigned to the
        VCC and GND wires, but for now huge nodes are used because, for an
        unknown reason, the constants mechanism makes large examples
        inoperable. So for now we remain on the nodes.
    
    Compatible with older Apicula databases.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    10a5a44 View commit details
    Browse the repository at this point in the history
  2. Gowin. Fix GW2A-18(c) DCS and DQCE

    We filter out PIPs from these chips that bypass DCS.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and gatecat committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    11d335c View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Himbaechel Gowin: HCLK Support (#1340)

    * Himbaechel Gowin: Add support for CLKDIV and CLKDIV2
    
    * Himbaechel Gowin: Add support for CLKDIV and CLKDIV2
    
    * Gowin Himbaechel: HCLK Bug fixes and corrections
    Seyviour authored Aug 3, 2024
    Configuration menu
    Copy the full SHA
    e9e7dce View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Update shell.nix (#1347)

    rowanG077 authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    f199c3e View commit details
    Browse the repository at this point in the history
  2. SDC parsing support (#1348)

    * kernel: Add SDC file parser
    
    * kernel: Add sdc as valid option
    
    * kernel/sdc: Add error on EOF when fetching strings
    
    * kernel/sdc: WIP command parsing for set_false_path
    
    * kernel/sdc: Fully parse set_false_path
    
    * kernel/sdc: Handle review comments
    rowanG077 authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    0d5d329 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    fa55e93 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    ccdc2f6 View commit details
    Browse the repository at this point in the history
  2. Gowin. Add clock wires delays.

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and Ravenslofty committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    01737a4 View commit details
    Browse the repository at this point in the history
  3. Gowin. BUGFIX. Timing

    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored and Ravenslofty committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    32e2d92 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2dc7121 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Gowin. Implement the UserFlash primitive (#1357)

    * Gowin. Implement the UserFlash primitive
    
    Some Gowin chips have embedded flash memory accessible from the fabric.
    Here we add primitives that allow access to this memory.
    
    Signed-off-by: YRabbit <[email protected]>
    
    * Gowin. Fix cell creation
    
    Signed-off-by: YRabbit <[email protected]>
    
    ---------
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    4cf7afe View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Gowin. BUGFIX. Create all Clock Pips. (#1358)

    Some Clocks PIPS were not created due to a check for the presence of a
    delay class, now all wires are attributed to the class so that there is
    no longer any need for this check.
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    4d1de45 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    8d0f52f View commit details
    Browse the repository at this point in the history
  2. Gowin. Add DHCEN primitive. (#1349)

    * Gowin. Add DHCEN primitive.
    
    This primitive allows you to dynamically turn off and turn on the
    networks of high-speed clocks.
    
    This is done tracking the routes to the sinks and if the route passes
    through a special HCLK MUX (this may be the input MUX or the output MUX,
    as well as the interbank MUX), then the control signal of this MUX is
    used.
    
    Signed-off-by: YRabbit <[email protected]>
    
    * Gowin. Change the DHCEN binding
    
    Use the entire PIP instead of a wire - avoids normalisation and may also
    be useful in the future when calculating clock stuff.
    
    Signed-off-by: YRabbit <[email protected]>
    
    ---------
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    ff7b853 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Gowin. Implement the EMCU primitive. (#1366)

    * Gowin. Implement the EMCU primitive.
    
    Add support for the GW1NSR-4C's embedded Cortex-M3 processor. Since it
    uses flash in its own way, we disable additional flash processing for
    this case.
    
    Signed-off-by: YRabbit <[email protected]>
    
    * Gowin. Fix merge.
    
    Signed-off-by: YRabbit <[email protected]>
    
    ---------
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    50bd8d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2627d4e View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Fix handling of RNG seed

    * Fix truncation of output seed value from 64 bits to 32 bits (int
      instead of uint64) when written to json file.
    
    * Fix input seed value conversion when --seed option is used.
    
    * Remove input seed value scrambling (use of rngseed()) when --seed
      or --randomize-seed option is used since the output seed value will
      be the scrambled value and not the seed that was actually supplied
      or generated.
    jthornblad authored and gatecat committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    6ca6452 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Bump tests submodule

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    4b63b11 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    2d542eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    44665a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c25da06 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7aeed52 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    82ea65d View commit details
    Browse the repository at this point in the history
  6. timing: Make hold violations an error

    rowanG077 authored and gatecat committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    60ee682 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fc3b2de View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    86106cb View commit details
    Browse the repository at this point in the history
  9. timing: cleanup clock2clock reporting

    timing: Add clock2clock delay as seperate
            timing line item.
    rowanG077 authored and gatecat committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    8e12dfc View commit details
    Browse the repository at this point in the history
  10. log: Remove bad usage of [[no_return]]

    rowanG077 authored and gatecat committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    4488d42 View commit details
    Browse the repository at this point in the history
  11. report: Handle new segment types

    rowanG077 authored and gatecat committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    3b7fec8 View commit details
    Browse the repository at this point in the history
  12. report: Handle new segment types

    timing_log: Use common segment type strings
    rowanG077 authored and gatecat committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    eb0bf9e View commit details
    Browse the repository at this point in the history
  13. timing: Fix slack calculations

    timing: Fix max_delay_by_domain_pair function
    timing: Fix hold time check
    rowanG077 authored and gatecat committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    bca6f63 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a7f79fd View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8ee2c56 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5488cd9 View commit details
    Browse the repository at this point in the history
  17. timing_log: Fix logging indendation to match master

    timing: Disable clock_skew analysis by default
    rowanG077 authored and gatecat committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    25d64b2 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0fce4b8 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    098dcae View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    93e233d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    0af42f1 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    bbdf7aa View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    db0c991 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    04f5f80 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    ad9a54c View commit details
    Browse the repository at this point in the history
  26. Himbaechel xilinx : DSP packing : Fix identification of cascaded port…

    …s and share identification code
    marzoul authored and gatecat committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    9bea22e View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    a08229d View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    8a0e062 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    81bf92a View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    2031a06 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    9da05b6 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    cd51a0c View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    437fb70 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. xilinx: Filter out another missing pip type

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    c90d872 View commit details
    Browse the repository at this point in the history
  2. xilinx: Remove unnecessary assert

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    118ecbc View commit details
    Browse the repository at this point in the history
  3. xilinx: Few more stub timings

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    7516b89 View commit details
    Browse the repository at this point in the history
  4. xilinx: Support single-port LUTRAM variants

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e4dfd4e View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. xilinx: Fix workaround for unsupported xdc construct

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    38e5fac View commit details
    Browse the repository at this point in the history
  2. xilinx: Fix BRAM placement, clangformat

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    d3c0f94 View commit details
    Browse the repository at this point in the history
  3. xilinx: Basic I/ODDR support

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    24fc33c View commit details
    Browse the repository at this point in the history
  4. xilinx: Support for complex IOLOGIC

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    1967db1 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Remove fpga_interchange

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    fcdaf3f View commit details
    Browse the repository at this point in the history
  2. clangformat

    Signed-off-by: gatecat <[email protected]>
    gatecat committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    9b51c6e View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. BaseCtx : Fix crash in getNetByAlias()

    marzoul authored and gatecat committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    cc04882 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff9ba9e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9cc7f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3d00b97 View commit details
    Browse the repository at this point in the history
  5. Himbaechel Xilinx : XDC commands : Also search nets with lowercase fo…

    …r better interoperability with other synthesis tools and RTL languages
    marzoul authored and gatecat committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    7f33329 View commit details
    Browse the repository at this point in the history
  6. clang-format on basectx.h

    marzoul authored and gatecat committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    b3b2392 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. router2: additional heatmap data

    Ravenslofty authored and gatecat committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    268b32c View commit details
    Browse the repository at this point in the history
  2. Gowin. Fix the port check for connectivity. (#1376)

    * Gowin. Fix the port check for connectivity.
    
    What happens is that it's not enough to check for a network, we also
    need to make sure that the network is functional: has src and sinks.
    
    And the style edits - they get automatically when I make sure to run
    clang-format10.
    
    Signed-off-by: YRabbit <[email protected]>
    
    * Gowin. Fix the port check for connectivity.
    
    What happens is that it's not enough to check for a network, we also
    need to make sure that the network is functional: has src and sinks
    
    Signed-off-by: YRabbit <[email protected]>
    
    ---------
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    65cf6d8 View commit details
    Browse the repository at this point in the history
  3. heap: Fix ripup criterea (#1378)

    Signed-off-by: gatecat <[email protected]>
    gatecat authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    75d2ce6 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. ice40: Fix missing clock pin types (#1380)

    Signed-off-by: gatecat <[email protected]>
    gatecat authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    854549a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e5b134 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    d27993f View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. apicula: add support for magic sip pins (#1370)

    * apicula: add support for magic sip pins
    
    * fix nullptr check
    
    * DDR fix by xiwang
    
    * WIP support for setting the iostd
    
    * add iostd
    pepijndevos authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    028be14 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c45980 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf42baa View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    f36a657 View commit details
    Browse the repository at this point in the history
  2. Gowin. FFs placement. (#1386)

    * Gowin. FFs placement.
    
    * Allow clusters to be created from FFs and LUTs;
    
    * Immediately create pass-through LUTs from free LUTs adjacent to FF - at the same time ensure alternating use of LUT inputs;
    
    * In case of constant networks, such pass-through LUTs are disconnected from networks altogether;
    
    * Allow FF to be placed directly into SSRAM slides - this is useful when using synchronous reading.
    
    Signed-off-by: YRabbit <[email protected]>
    
    * Gowin. Fix aux name creation
    
    Signed-off-by: YRabbit <[email protected]>
    
    * Gowin. Use I3 for pass-trough LUTs
    
    Signed-off-by: YRabbit <[email protected]>
    
    ---------
    
    Signed-off-by: YRabbit <[email protected]>
    yrabbit authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    9c2d96f View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. Himbaechel GUI (#1295)

    * Extend Himbaechel API with gfx drawing methods
    
    * Add bel drawing in example uarch
    
    * changed API and added tile wire id in db
    
    * extend API so we can distinguish CLK wires
    
    * added bit more wires
    
    * less horrid way of handling gfx ids
    
    * loop wire range
    
    * removed not needed brackets
    
    * bump database version to 5
    
    * Removed not used GfxFlags
    mmicko authored Nov 21, 2024
    Configuration menu
    Copy the full SHA
    5503546 View commit details
    Browse the repository at this point in the history