1. 02 4月, 2023 1 次提交
    • Maxpicca's avatar
      Tool: cancel DIP-C write when in FPGA (#2009) · 93610df3
      Maxpicca 提交于
      * constant variable: add FPAGPlatform parameter
      
      * scripts: set WITH_CONSTANTIN to 1 by default
      
      * submodules: version to lyq repository for test
      
      * Revert "constant variable: add FPAGPlatform parameter"
      
      This reverts commit fc2f03b7.
      
      * constant: add FPGA init
      
      * chiseldb: add FPGA init
      
      * difftest: version
      
      * chisledb: add envFPGA situation
      93610df3
  2. 27 3月, 2023 2 次提交
    • Maxpicca's avatar
      LoadMissTable: add it and use constant control (#1969) · da3bf434
      Maxpicca 提交于
      * DCacheWrapper: add missdb and fix bug in `real_miss`
      
      * DCacheWrapper: add constant control of missdb
      
      * DCacheWrapper: correct the constant control logic
      
      * databases: add constant control
      
      * constantin: afix some bug
      
      * constantin: fix txt
      
      * fixbug: constant control in double core
      
      * constantin: postfix changed in `verilator.mk`
      
      * instDB: add robIdx and some TIME signals
      
      * loadMissDB-copt: rm `resp.bits.firstHit` add `s2_first_hit`
      
      * difftest: update
      
      * yml: update the git workflow
      
      * submodules: fix the binding commit-id of personal fork rep
      
      * fix: github workflow add NOOP_HOME
      
      because in constantin.scala use the absolute path of workdir by environment variable `NOOP_HOME`
      da3bf434
    • C
      scripts: update TLLog parser script (#2000) · fda2de2d
      Chen Xi 提交于
      fda2de2d
  3. 26 3月, 2023 1 次提交
  4. 22 3月, 2023 2 次提交
  5. 19 3月, 2023 2 次提交
    • H
      Fix replay logic in unified load queue (#1966) · 62dfd6c3
      happy-lx 提交于
      * difftest: monitor cache miss latency
      
      * lq, ldu, dcache: remove lq's data
      
      * lq's data is no longer used
      * replay cache miss load from lq (use counter to delay)
      * if dcache's mshr gets refill data, wake up lq's missed load
      * uncache load will writeback to ldu using ldout_0
      * ldout_1 is no longer used
      
      * lq, ldu: add forward port
      
      * forward D and mshr in load S1, get result in S2
      * remove useless code logic in loadQueueData
      
      * misc: revert monitor
      
      * lq: change replay cycle
      
      * lq: change replay cycle
      * change cycle to 11 36 10 10
      
      * Revert "lq: change replay cycle"
      
      This reverts commit 3ca74b63.
      And change replay cycles
      
      * lq: change replay cycle according to dramsim
      
      * change Reselectlen to 7
      * change replay cycle to (11, 18, 127, 17) to fit refill delay (14, 36,
      188)
      
      * lq: change replay cycle
      
      * change block_cycles_cache to (7, 0, 32, 51)
      
      * lq: change replay cycle
      
      * change block_cycles_cache to (7, 0, 126, 95)
      
      * lq: fix replay ptr update logic
      
      * fix priority of updating ptr
      * revert block_cycles_cache
      
      * lq: change tlb replay cycle
      
      * change tlbReplayDelayCycleCtrl to (15, 0, 126, 0)
      62dfd6c3
    • Maxpicca's avatar
      util: change ElaborationArtefacts to FileRegisters (#1973) · 876196b7
      Maxpicca 提交于
      * util: change ElaborationArtefacts to FileRegisters
      
      use `filename` instead of `extension` to record file
      
      * huancun: merge master
      
      * huancun: version change
      
      * util: update to main
      
      * SimTop: delete unused comment
      
      * constantin: fix bug which reduced emputy map
      
      * code opt: add write api in FileRegisters
      876196b7
  6. 16 3月, 2023 2 次提交
  7. 15 3月, 2023 1 次提交
  8. 13 3月, 2023 1 次提交
    • W
      dcache: fix plru update logic (#1921) · fa9ac9b6
      William Wang 提交于
      This commit aims to fix dcache plru access logic
      
      In the previous version, when a cacheline not in l1 is accessed, a replace way
      is picked and used to update l1 plru (set the way as lru). However, if the same
      missed cacheline is accessed multiple times before l1 refill, l1 will pick a new
      replace way and use it to update plru for each time the missed cacheline is
      accessed. It makes the plru totally a mess.
      
      To fix that problem, extra condition check is added for a missed load plru
      update. Now plru is updated on:
      
      * load/store hit (touch hit way)
      * load/store primary miss (touch replacement way)
      * load/store secondary miss (touch replacement way)
      
      `updateReplaceOn2ndmiss` is enabled. Disable it if the timing is bad.
      fa9ac9b6
  9. 27 2月, 2023 1 次提交
  10. 22 2月, 2023 1 次提交
  11. 21 2月, 2023 2 次提交
  12. 20 2月, 2023 1 次提交
    • B
      debug: add local-ci.py to run github/emy.yml's ci tests at local server (#1925) · 9473e04d
      bugGenerator 提交于
      Usage:
      1. run ci test
      `python3 scripts/local_ci.py --xs-path $(pwd) --run`
      
      2. print ci test name
      `python3 scripts/local_ci.py --xs-path $(pwd) --show-test`
      
      3. print ci test command into splited sh files. Run the sh manualy.
      `python3 scripts/local_ci.py --xs-path $(pwd)`
      More Params:
        --sh-path: default is xs-path/ci-sh.
      
      Other Params:
        --pick-test MC: only run 'EMU - MC'
        --numa: use numa ctrl, require eypc
        --head-sha: magic word, default is today's date
        --nemu-home/--am-home: don't know if it is used
      9473e04d
  13. 19 2月, 2023 1 次提交
  14. 18 2月, 2023 1 次提交
  15. 17 2月, 2023 2 次提交
  16. 15 2月, 2023 1 次提交
    • Maxpicca's avatar
      lsdb: add some information of ls instructions by chiselDB (#1900) · 8744445e
      Maxpicca 提交于
      Besides adding load/store arch database, this PR also fixed a bug which caused
      prefetch using l1 info failed to work.
      
      Former RTL change break `isFirstIssue` flag gen logic, which caused prefetcher
      failed to receive prefetch train info from L1. This commit should fix that.
      
      * ROB: add inst db drop
      
      globalID signal output is still duplicated
      
      * TLB: TLB will carry mem idx when req and resp
      
      * InstDB: update the TLBFirstIssue
      
      * InstDB: the first version is complete
      
      * InstDB: update decode logic
      
      * InstDB: update ctrlBlock writeback
      
      * Merge: fix bug
      
      * merge: fix compile bug
      
      * code rule: rename debug signals and add db's FPGA signal control
      
      * code rule: update db's FPGA signal control
      
      * ldu: fix isFirstIssue flag for ldflow from rs
      
      * ldu: isFirstIssue flag for hw pf is always false
      
      ---------
      Co-authored-by: Ngood-circle <fenghaoyuan19@mails.ucas.ac.cn>
      Co-authored-by: NWilliam Wang <zeweiwang@outlook.com>
      8744445e
  17. 14 2月, 2023 1 次提交
  18. 13 2月, 2023 1 次提交
    • B
      param: set EnableUncacheWriteOutstanding to false (#1913) · e32bafba
      bugGenerator 提交于
      Here is a bug cause by EnableUncacheWriteOutstanding:
      The case is extintr in Nexus-AM.
      Three steps of the test:
        clear intrGen's intr: Stop pass interrupt. A mmio write.
        clear plic claim: complete intr. A mmio write.
        read plic claim to check: claim should be 0. A mmio read.
      The corner case:
        intrGen's mmio write is to slow. The instruction after it executes
      and plic claim's mmio's write & read execute before it. On the side of
      core with plic, claim is cleared. But on the side of intrGen with plic,
      the source of interrupt is still enabled and trigger interrupt.
      So the "read plic claim to check" get a valid claim and failed.
      e32bafba
  19. 11 2月, 2023 3 次提交
  20. 10 2月, 2023 2 次提交
  21. 08 2月, 2023 2 次提交
  22. 06 2月, 2023 3 次提交
  23. 05 2月, 2023 5 次提交
  24. 04 2月, 2023 1 次提交