Skip to content
GitLab
Explore
Sign in
Register
Changes
Page history
Update VerilogHDLManual
authored
Oct 29, 2019
by
Toru Koizumi
Hide whitespace changes
Inline
Side-by-side
VerilogHDLManual.md
View page @
b1e4b977
...
...
@@ -186,6 +186,8 @@ function [7:0] dec38;
endfunction
```
引数がない関数は作れません。また、
`input wire`
とするとエラーです。
## 組み合わせ回路を作るときの注意
組み合わせ回路を作るために
`if`
文や
`case`
文を使う場合、
**必ず全パターンを記述してください**
。つまり、
`else`
や
`default`
を必ず書いてくださいということです。
...
...