Commit Graph

38 Commits

Author SHA1 Message Date
ding 8205745eec add -t option to the picker command in ftq_top script to allow repeated directory creation 2025-06-07 18:02:42 +08:00
yeximing 0183b43290
Add "receive prefetch request" testcase (#129)
* Typo fix and add missing contents.

* Add English version for 03_add_test

* Typo fix

* Add icache submodules for eliminating warning casued by error script

* Add verilator arguments for initializing all interface

* Add 'receive prefetch quest' testcase and corresponding test environment code
2025-05-20 14:26:48 +08:00
CharlesJunic d354b0077c
update makefile & itlb_env, add generate_dirmap() in functions.py (#121)
* update makefile & itlb_env, add generate_dirmap() in functions.py

* Update build_ut_frontend_ftq_pc_mem.py

* Update build_ut_frontend_ftq_pd_mem.py

* Delete scripts/generate_dirmap.py

* Update Makefile
2025-04-24 18:29:37 +08:00
whensungoesdown cd4e5c5e9e
merge instruncache env (#119)
* add doc and testcases for InstrUncache module

* move instruncache testcases under ut_frontend directory

provides classic version and toffee version

* update README, clear commented code
2025-04-18 17:35:39 +08:00
yeximing 904f80bc9a
ICache verify enviroment and docs added. (#111)
* Add icache compile scripts, waylookup enviroment and revise dir_map.f

* Revise icache top compile script and dir_map.f for normal compiling

* Revise icache ctrlunit script and add ctrlunit test enviroment

* Delete unused script

* Add internal signal yaml and revise its responding code in compile script and iprefetchpipe test environment

* Revise internal signals yaml and its corresponding content in script

* Add mainpipe test environment

* Revise internal signals yaml and its corresponding content in script

* Add missunit test environment

* Add task.get_name

* Revise internal signals yaml and its corresponding content in script

* Revise dir_map for right mapping

* Add icache top test environment

* Add icache docs and its pics

* Add icache pic and interfaces

* Add icache _index.md

* Add icache pics

* Add icache submodule docs

* delete copy pic
2025-04-03 10:10:56 +08:00
Knight of Thunder de62e75549
Ftq env (#99)
* add rtl dir, we don't want to delete this

* scripts

* fix xiangshan-kmh.yaml for ftq_redirect_mem

* scripts for ftq_pd_mem

* add ftq_pd_mem for scripts

* nothing

* change gitignore to push testfile under dut

* add dut dir

* add ftq so for test

* restore .gitignore

* ftq enviroment: scipts

* fix: ftq env scripts

* 删除被提交的dut目录

* restore  dut/__init__.py

* fix the scripts to fit th e latest rtl version which is 25/2/28

* 删除了脚本中一些无效注释
2025-03-25 12:56:32 +08:00
CharlesJunic 2eb4fd1378
update itlb env (#92) 2025-03-18 14:38:21 +08:00
miceforrat ec9b2b3fda
Ifu top env (#91)
* add ifu_top env initially

* del 2 files rebased

* modify env according to new rtl
2025-03-17 10:14:19 +08:00
CharlesJunic 0ca85ce5ac
update makefile & /scripts/: rtl links & itlb funcov (#85) 2025-03-06 15:34:00 +08:00
miceforrat 8fcdd79da7
adapt to the new rtl and keep up with the pred checker changings (#86) 2025-03-06 09:59:17 +08:00
CharlesJunic 3baa11d910
add Itlb submodule (#82)
* update itlb document, fix readme.md: typos

* add itlb: submodule tlbfa, tlbnonblock, tlbstoragewrapper, tlbuffer
2025-03-03 14:23:59 +08:00
miceforrat 55207584ef
ifu top rtl build scripts modify (#76)
* ifu top rtl build scripts modify

* remove tagesc infos
2025-02-22 15:02:32 +08:00
CharlesJunic 1bcaa98e96
add: itlb env, update /document/zh_cn/docs/verify_env.md & /document/README.md (#74) 2025-02-21 16:44:00 +08:00
FrankOu 5ff4f0f0d7 Adapt verification code of BPU.Tage_SC to the latest RTL version(openxiangshan-kmh-ca892e73-25010301). 2025-02-10 08:17:59 +08:00
Frank OU 8e09f7c86a
Add frontend.bpu.ittage test code (#41) 2025-02-06 14:22:10 +08:00
miceforrat 88fa1057ab
Cfg add maintainer (#40)
* documents: change maintainers to be bound to the xiangshan-kmh.yaml

* fix bug of doc linking

* remove redundant docs of ifu and add further support for maintainers on the main table; add ifu build scripts

* ifu doc description fixed
2025-01-22 21:55:06 +08:00
cjh 8118deeffd add optional rtl arg 2025-01-14 16:18:41 +08:00
cjh bb9c6d6add add framework for predecode, f3predecoder, frontend_trigger; framwork includes: bundle, agent, env, test fixture
predecode framework added

predecode test env constructed

f3predecoder env construction finished

add frontend trigger and some docs
2024-12-23 17:00:44 +08:00
cjh 77de7d9748 feature: set up test envionment for pred checker under ifu; set up both
kinds of environment for RVC expander under ifu; comment out test cases
for rvc expander under decode of ctrl block at backend
2024-12-12 16:55:22 +08:00
yaozhicheng 0c660054f4 tagesc: up2latest picker 2024-11-20 09:56:38 +08:00
yaozhicheng 2ab8af3727 picker: use the latest version (241118) 2024-11-18 18:34:55 +08:00
yaozhicheng 06e89764bb dut: add -c to decode script 2024-11-15 17:52:10 +08:00
FrankOu2001 961216fced Remove invalid grammar of typing hint for Python3.8. 2024-11-13 17:20:07 +08:00
FrankOu2001 ac5ff849f3 Optimize running time of `get_rtl_dependencies`. 2024-11-12 16:35:26 +08:00
FrankOu2001 6773908d2e Convert tab to space. 2024-11-12 10:41:21 +08:00
FrankOu2001 7205dd5310 Set `cp_lib` option as false. 2024-11-11 20:18:43 +08:00
FrankOu2001 d1acc24de2 Fix typos. 2024-11-11 13:34:34 +08:00
FrankOu2001 0bae172f5d Tidy up logic of `get_rtl_dependencies`. 2024-11-11 12:45:52 +08:00
FrankOu2001 3be9448111 Fix typo of `get_rtl_dependencies` and add some comments. 2024-11-10 11:22:33 +08:00
FrankOu2001 9968b24a1e Finish script for building DUT of Tage_SC 2024-11-09 18:55:56 +08:00
yaozhicheng 69d0d7b948 fix: format script names 2024-11-06 16:23:08 +08:00
yaozhicheng 947fb4a301 fix log 2024-11-05 19:07:21 +08:00
yaozhicheng e662465a62 add line_coverage_files 2024-11-05 18:35:14 +08:00
yaozhicheng 779459867d add license header 2024-11-05 15:28:57 +08:00
yaozhicheng fe1fcf2b99 makefile -> python 2024-11-05 15:24:46 +08:00
husipeng c3f781b1a2 add tool: disasm 2024-10-16 17:33:18 +08:00
yaozhicheng 398d574af6 update 2024-10-09 20:01:48 +08:00
yaozhicheng 86edc69378 init build scripts 2024-09-27 18:07:32 +08:00