Skip to content

Commit

Permalink
Merge pull request #22 from yilozt/main
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
WangXuan95 authored Mar 28, 2023
2 parents 8733e27 + 58fc0a9 commit 385d774
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,8 @@ BSV 中的类型必须派生 (deriving) 自零个、一个或多个**类型类**
| `Eq` | 派生出的类型的变量之间可以判断是否相等。 |
| `Ord` | 派生出的类型的变量之间可以比较大小。 |
| `Arith` | 派生出的类型的变量之间可以进行算术运算(加减乘除)。 |
| `Literal` | 派生出的类型的变量可以创建自从整数文字(例如123, 4567 这样)。 |
| `RealLiteral` | 派生出的类型的变量可以创建自从实数文字(例如12.3, 45.67 这样)。 |
| `Literal` | 派生出的类型的变量可以创建自从整数字面量(例如123, 4567 这样)。 |
| `RealLiteral` | 派生出的类型的变量可以创建自从实数字面量(例如12.3, 45.67 这样)。 |
| `Bounded` | 派生出的类型的变量具有有限范围。 |
| `Bitwise` | 派生出的类型的变量之间可以进行按位运算(与、或、非等)。 |
| `BitReduction` | 派生出的类型的变量可以进行逐位合并运算来产生1位的结果(类比Verilog中的 \|a 写法)。 |
Expand Down Expand Up @@ -4193,7 +4193,7 @@ BRAM2Port#(UInt#(12), int) ram2 <- mkBRAM2Server(
loadFormat : tagged Hex "data.txt", // 使用包含十六进制数的文本文件 data.txt 设置初始值
latency : 2, // 读数据和写响应的延迟=2
outFIFODepth : 4, // 读数据和写响应的缓存大小=4
allowWriteResponseBypass : False } // 不允许写响应绕过之前的读数据
allowWriteResponseBypass : False // 不允许写响应绕过之前的读数据
}
);
```
Expand Down
1 change: 1 addition & 0 deletions bsvbuild.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# sh bsvbuild.sh
#

alias echo="echo -e"

# colors for print text ------------------------------------------------------------------------------------------------------------------
error_color="\033[1;31m" # echo this to change print text color for Error message. (31 is red)
Expand Down

0 comments on commit 385d774

Please sign in to comment.