1. 16 7月, 2021 3 次提交
    • Z
      [WIP] BPU: Fix numBr width not match bugs · 47863f7e
      zoujr 提交于
      47863f7e
    • L
      [WIP] fix cloneType error of CfiInfoToCtrl · dec9f595
      Lingrui98 提交于
      dec9f595
    • L
      [WIP] finish ftq logic and fix syntax errors · f06ca0bf
      Lingrui98 提交于
      * Now can pass compiling.
      
      [WIP] comment out-of-date code in frontend
      
      [WIP] move NewFtq to xiangshan.frontend and rename class to Ftq
      
      Ibuffer: update sigal names for new IFU
      
      [WIP] remove redundant NewFrontend
      
      [WIP] set entry_fetch_status to f_sent once send req to buf
      
      Fix syntax error in IFU
      
      Fix syntax error in IFU/ICache/Ibuffer
      
      [WIP] indent fix in ftq
      
      BPU: Move GlobalHistory define from IFU.scala to BPU.scala
      
      [WIP] fix some compilation errors
      
      BPU: Remove HasIFUConst
      and move some bundles from BPU.scala to frontendBundle.scala
      
      [WIP] fix some compilation errors
      
      [WIP] rename ftq-bpu ios
      
      [WIP] recover some const definitions
      
      [WIP] fix some compilation errors
      
      [WIP]connect some IOs in frontend
      
      BPU: fix syntax error
      
      [WIP] fix compilation errors in predecode
      
      BPU: fix RAS syntax error
      
      [WIP] add some simulation perf counters back
      
      BPU: Remove numBr redefine in ubtb and bim
      f06ca0bf
  2. 15 7月, 2021 4 次提交
  3. 14 7月, 2021 4 次提交
  4. 13 7月, 2021 1 次提交
  5. 12 7月, 2021 2 次提交
  6. 10 7月, 2021 9 次提交
  7. 09 7月, 2021 2 次提交
  8. 06 7月, 2021 1 次提交
  9. 03 7月, 2021 4 次提交
  10. 14 6月, 2021 1 次提交
  11. 04 6月, 2021 2 次提交
  12. 27 5月, 2021 1 次提交
  13. 18 5月, 2021 3 次提交
  14. 15 5月, 2021 1 次提交
    • Y
      backend,RS: rewrite RS to optimize timing (#812) · 5c7674fe
      Yinan Xu 提交于
      * test,vcs: call $finish when difftest fails
      
      * backend,RS: refactor with more submodules
      
      This commit rewrites the reservation station in a more configurable style.
      
      The new RS has not finished.
      - Support only integer instructions
      - Feedback from load/store instructions is not supported
      - Fast wakeup for multi-cycle instructions is not supported
      - Submodules are refined later
      
      * RS: use wakeup signals from arbiter.out
      
      * RS: support feedback and re-schedule when needed
      
      For load and store reservation stations, the instructions that left RS before may be
      replayed later.
      
      * test,vcs: check difftest_state and return on nemu trap instructions
      
      * backend,RS: support floating-point operands and delayed regfile read for store RS
      
      This commit adds support for floating-point instructions in reservation stations.
      Beside, currently fp data for store operands come a cycle later than int data. This
      feature is also supported.
      
      Currently the RS should be ready for any circumstances.
      
      * rs,status: don't trigger assertions when !status.valid
      
      * test,vcs: add +workload option to specify the ram init file
      
      * backend,rs: don't enqueue when redirect.valid or flush.valid
      
      * backend,rs: support wait bit that instruction waits until store issues
      
      This commit adds support for wait bit, which is mainly used in load and
      store reservation stations to delay instruction issue until the corresponding
      store instruction issued.
      
      * backend,RS: optimize timing
      
      This commit optimizes BypassNetwork and PayloadArray timing.
      
      - duplicate bypass mask to avoid too many FO4
      - use one-hot vec to get read data
      5c7674fe
  15. 12 5月, 2021 2 次提交
    • L
      PTW: rewrite ptw for multiple requests support (#811) · 4d586ba1
      Lemover 提交于
      * PTW: add ptw multi-processing graph
      
      * [WIP] PTW: try to add miss queue, failed for complexity and not very useful
      
      * [WIP] PTW: rewrite ptw for multi req support
      
      * PTW: remove some assert, fix level init bug
      
      * PTW: itlb has highter priority than dtlb
      
      * PTW: fix bug that mix cache's resp logic
      
      * PTW: fix stupid bug that mix .U and .W
      
      * PTW: replay will not be blocked if fsm empty
      
      * PTW: miss queue req may return miss queue
      
      In the before design, only miss queue req can go into
      fsm, and would not be blocked.
      Now, to simplify design, miss queue req are just the
      same with new req, may blocked, going to fsm or miss queue.
      
      * PTW: fix ptw filter iss valid bug
      
      * PTW.fsm: fix bug that should not mem.req when sfenceLatch
      
      * PTW: fix ptw sfenceLatch's bug
      
      * PTW: add some perf counters
      
      * PTW: fix bug in filter enq ptr logic
      
      * PTW: fix bug of sfence in ptw
      
      * test: add current branch to ci-test, tmp
      
      * PTW: fix bug of cache's hit logic and fsm's pf
      
      * PTW: fix bug of filter's enq and block* signal
      
      * PTW: fix bug of filter's pteResp filter
      
      * PTW: add some assert of filter's counter
      
      * PTW: fix bug of filter's enq logic
      
      * PTW: set PTWMSHRSIZE 16
      
      * PTW: fix naive perf counter's bug
      
      * PTW: set PTWMSHRSIZE 8
      
      * PTW: set PTWMSHRSIZE 32
      
      * Revert "PTW: set PTWMSHRSIZE 32"
      
      This reverts commit fd3981ae8bbb015c6cd398c4db60486d39fc92ef.
      
      * Revert "test: add current branch to ci-test, tmp"
      
      This reverts commit 8a7a8a494d5c05789e05a385a9fc7791a8ffef2f.
      4d586ba1
    • W
      Configs: update MinimalConfig for FPGA (#809) · 05f23f57
      William Wang 提交于
      * Configs: add MinimalFPGAConfig
      
      * TODO: change cache parameters
      
      * Chore: add parameter print
      
      * README: add simulation usage
      
      Currently, XiangShan does not support NOOP FPGA. FPGA related
      instructions are removed
      
      * Configs: limit frontend width in MinimalConfig
      
      * MinimalConfig: limit L1/L2 cache size
      
      * MinimalConfig: limit ptw size, disable L2
      
      * MinimalConfig: limit L3 size
      
      * Sbuffer: force trigger write if sbuffer fulls
      05f23f57