mirror of
http://shenjack.top:5100/ARS/ARS-docs.git
synced 2024-11-23 15:25:07 +08:00
Add | 添加一些相关测试,明确一下格式
This commit is contained in:
parent
1a31c909de
commit
58350f50a1
18
.gitea/workflows/label.yaml
Normal file
18
.gitea/workflows/label.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: 自动生成 label
|
||||
|
||||
# main 分支推送
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
Generate-label:
|
||||
runs-on: python311
|
||||
steps:
|
||||
- name: 获取仓库
|
||||
uses: http://shenjack.top:5100/mirror/checkout@v4
|
||||
|
||||
# - name: 生成 label
|
||||
# run: |
|
||||
# python3 generate_label.py
|
|
@ -1,3 +1,23 @@
|
|||
---
|
||||
```toml
|
||||
tags = [
|
||||
"小型模块",
|
||||
"算术运算模块",
|
||||
"加/减法器",
|
||||
"二级模块",
|
||||
"静音",
|
||||
"传统红石",
|
||||
"无容器",
|
||||
"Java版"
|
||||
]
|
||||
authors = ["Fredbill"]
|
||||
title = "CCA-vertial-20gt-32bit"
|
||||
description = "竖式 32位 20gt 加法器"
|
||||
[version]
|
||||
java = "1.16+"
|
||||
```
|
||||
---
|
||||
|
||||
# 32位封闭进位加法器
|
||||
|
||||
## 基本描述
|
||||
|
@ -35,7 +55,7 @@
|
|||
## 模块参数列表
|
||||
|
||||
| 端口列表 | 位宽 | 位置 | 延迟 | 注释 |
|
||||
| -------- | --- | ----- | -------- | ---- |
|
||||
| --------- | ---- | ------ | ------------ | -------- |
|
||||
| 输入数据A | 32 | 1 3 1 | 0+2[N mod 8] | 加数A |
|
||||
| 输入数据B | 32 | 4 3 1 | 0+2[N mod 8] | 加数B |
|
||||
| 输出数据 | 32 | 5 2 9 | 4+2[N mod 8] | 和 |
|
||||
|
@ -45,10 +65,10 @@
|
|||
## 模块指标列表
|
||||
|
||||
| 指标项目 | 参数 | 指标项目 | 参数 |
|
||||
| ------------------ | --- | ---------------- | --- |
|
||||
| ---------------- | ---- | ---------------- | ------ |
|
||||
| 火把 | 有 | 2rt流水线 | 不支持 |
|
||||
| 活塞 | 无 | 红石粉 | 有 |
|
||||
| 侦测器 | 无 | 容器 | 无 |
|
||||
| 应用漏斗、投掷器 | 无 | 墙电、水电、光电 | 无 | | |
|
||||
| 应用漏斗、投掷器 | 无 | 墙电、水电、光电 | 无 |
|
||||
|
||||
模块分支:封闭进位加法器
|
||||
|
|
4
scripts/parse-label.py
Normal file
4
scripts/parse-label.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
from pathlib import Path
|
||||
|
||||
def read_files(module_path: Path):
|
||||
...
|
Loading…
Reference in New Issue
Block a user