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

Zk(Zbk, Zkn, Zks)/Zb: Scalar Cryptography/Bitmanip Extension #2950

Merged
merged 104 commits into from
Jan 18, 2023

Commits on Mar 15, 2022

  1. add the Zbk extension for Bitmanip instructions supporting cryptography

    fix decode due to the add of H extension commit
    
    Related to 185cac8
    phthinh authored and ZenithalHourlyRate committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    ee289d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5932acb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f4fcbb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    da9d6b8 View commit details
    Browse the repository at this point in the history
  5. Zbk: implement rev

    ZenithalHourlyRate committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    428f808 View commit details
    Browse the repository at this point in the history
  6. Zbk: implement zip

    ZenithalHourlyRate committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    58dc1b5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a786f23 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2eefbe0 View commit details
    Browse the repository at this point in the history
  9. Zbk: add zbkc decode

    phthinh authored and ZenithalHourlyRate committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    386e5e9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c5e0bd1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    af97f3a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0b46e1d View commit details
    Browse the repository at this point in the history
  13. zbk: fix compile

    ZenithalHourlyRate committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    380bb42 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. Configuration menu
    Copy the full SHA
    a3ba274 View commit details
    Browse the repository at this point in the history
  2. bk: fix config

    Cherry-pick part of (54a6cdd)
    Zbk: add the Zbk implementation for RV64
    ZenithalHourlyRate committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    009f0ed View commit details
    Browse the repository at this point in the history
  3. Zbk: a small correction

    phthinh authored and ZenithalHourlyRate committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    35f02e1 View commit details
    Browse the repository at this point in the history
  4. decode: add the support for the Zkn extension

    Merge conflicts with (185cac8)
    Add hypervisor extension (chipsalliance#2841)
    phthinh authored and ZenithalHourlyRate committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    c327863 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f431ffd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7ae146a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e2c8185 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2faae3f View commit details
    Browse the repository at this point in the history
  9. zkn: implement sha

    ZenithalHourlyRate committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    265d4ee View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    36350c9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0ce3f74 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d26e561 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. zk: fix compile

    ZenithalHourlyRate committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    76db33a View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2022

  1. Configuration menu
    Copy the full SHA
    d4acc70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7631b8a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8240daf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    38728ef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    65bc35c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d25c4b9 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. Configuration menu
    Copy the full SHA
    dce44b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a8d59f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    784b0e6 View commit details
    Browse the repository at this point in the history
  4. Zb: add max/min

    ZenithalHourlyRate committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    ab51f3f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5fcd554 View commit details
    Browse the repository at this point in the history
  6. Zb: add sext/bext

    ZenithalHourlyRate committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    3c29480 View commit details
    Browse the repository at this point in the history
  7. Zb: add rev8/orc

    ZenithalHourlyRate committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    960cf3e View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2022

  1. Zb: add Zba

    ZenithalHourlyRate committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    9494980 View commit details
    Browse the repository at this point in the history
  2. Zb: add Zbs

    ZenithalHourlyRate committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    cd52e3e View commit details
    Browse the repository at this point in the history
  3. Zb: add clmulr

    ZenithalHourlyRate committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    da39720 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2022

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

Commits on Apr 4, 2022

  1. ALU: refactor

    ZenithalHourlyRate committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    de9efc4 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2022

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

Commits on Apr 16, 2022

  1. ABLU: ctz: Fix when all 0

    When all 0, it is 32/64, which can not be represented
    by log(32)/log(64)
    ZenithalHourlyRate committed Apr 16, 2022
    Configuration menu
    Copy the full SHA
    978118b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd7b7be View commit details
    Browse the repository at this point in the history
  3. ABLU: fix compile

    ZenithalHourlyRate committed Apr 16, 2022
    Configuration menu
    Copy the full SHA
    81db153 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2022

  1. Instructions: sync from riscv-opcodes

    The current Instructions.scala is not up-to-date with riscv-opcodes
    
    Previous changes on this file seems to be adding new instructions manually,
    this can be inferred from
    riscv/riscv-opcodes@e2ebbf5
    which changed the name from parse-opcodes to parse_opcodes
    thus this PR reorders a lot of instructions and CSRs
    ZenithalHourlyRate committed Apr 17, 2022
    Configuration menu
    Copy the full SHA
    906cb6c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06688eb View commit details
    Browse the repository at this point in the history
  3. Instructions: Separate rocket custom instructions

    As standard instructions are synced from riscv-opcodes
    ZenithalHourlyRate committed Apr 17, 2022
    Configuration menu
    Copy the full SHA
    f39d059 View commit details
    Browse the repository at this point in the history
  4. Instructions: Separate NMI insts and CSRs

    Rocket already implemented NMI in chipsalliance#2711,
    however, riscv-opcodes currently does not have NMI
    as it is a WIP (See riscv/riscv-opcodes#67)
    
    To avoid generating Instructions.scala from a patched riscv-opcodes,
    putting NMI related insts/CSRs into CustomInstructions is reasonable.
    ZenithalHourlyRate committed Apr 17, 2022
    Configuration menu
    Copy the full SHA
    c770dd9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    374de8f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8bab78e View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. IDecode: add Zb/Zk

    ZenithalHourlyRate committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    c0f2260 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc504cf View commit details
    Browse the repository at this point in the history
  3. add zba64 decode

    ZenithalHourlyRate committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    773a119 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ad3edff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    18927be View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2022

  1. zk: sbox use ny93 instead of ROM

    Better area
    ZenithalHourlyRate committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    8240ffd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcc711f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8541647 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

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

Commits on May 6, 2022

  1. Configuration menu
    Copy the full SHA
    4f81143 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4c641a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1916f3a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a76f5d View commit details
    Browse the repository at this point in the history

Commits on May 9, 2022

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

Commits on May 15, 2022

  1. fix ALU.FN when using ABLU

    cyyself committed May 15, 2022
    Configuration menu
    Copy the full SHA
    84574f8 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2022

  1. Merge pull request #2 from cyyself/Zk-chisel

    fix ALU.FN when using ABLU
    ZenithalHourlyRate authored May 16, 2022
    Configuration menu
    Copy the full SHA
    076d041 View commit details
    Browse the repository at this point in the history
  2. Fix license

    ZenithalHourlyRate committed May 16, 2022
    Configuration menu
    Copy the full SHA
    aa52e72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d4726bc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b980b3c View commit details
    Browse the repository at this point in the history

Commits on May 17, 2022

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

Commits on Jun 13, 2022

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

Commits on Jun 15, 2022

  1. IDecode: use DW_XPR for branch insts

    The DW signal for branch insts was X,
    and making it Bool(true) is fixing it
    to one of the possible values.
    
    No matter it is DW_X or DW_XPR, ALU would
    function happily for RV32/RV64.
    
    However, for RV64 ABLU, branch inst
    depends on cmp, then xor, then adder_in1,
    and if io.dw == 0, namely DW_32
    and possibly DW_X (depending on decoder)
    the higher 32 bits of adder_in1 is filled
    with 1, then ABLU would malfunction.
    ZenithalHourlyRate committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    c8aaa14 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e52f46 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a5127f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f34d61f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4740f16 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    196c372 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d481fb6 View commit details
    Browse the repository at this point in the history
  8. ABLU: cleanup

    ZenithalHourlyRate committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    2dfd5aa View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

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

Commits on Jan 7, 2023

  1. Configuration menu
    Copy the full SHA
    46217ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a8abd8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f4d74d7 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Configuration menu
    Copy the full SHA
    058ea26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef03f08 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2023

  1. Remove useABLU

    ZenithalHourlyRate committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    9dff941 View commit details
    Browse the repository at this point in the history
  2. Fix Bitmanip name

    ZenithalHourlyRate committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    df3fbd5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a0ae1e9 View commit details
    Browse the repository at this point in the history
  4. Instantiate BitManipCrypto earlier

    Make both isaDTS and usingBitManipCrypto happy
    ZenithalHourlyRate committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    58ff23f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9229556 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2023

  1. Configuration menu
    Copy the full SHA
    beb3a11 View commit details
    Browse the repository at this point in the history
  2. Refactor ALUFN

    ZenithalHourlyRate committed Jan 15, 2023
    Configuration menu
    Copy the full SHA
    590fbb5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    879f6c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e5a5edc View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. More default ALUFN

    ZenithalHourlyRate committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    c04a3a6 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Configuration menu
    Copy the full SHA
    be84dc0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #4 from chipsalliance/Zk-chisel-fixes

    Refactors to ease migration burden
    ZenithalHourlyRate authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    57b1259 View commit details
    Browse the repository at this point in the history
  3. Fix format

    ZenithalHourlyRate committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    bccdd5f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6abee57 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

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