Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
b3exp
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2021
b3exp
Wiki
VerilogHDLManual
Changes
Page history
New page
Templates
Clone repository
Update VerilogHDLManual
authored
6 years ago
by
Toru Koizumi
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
VerilogHDLManual.md
+16
-0
16 additions, 0 deletions
VerilogHDLManual.md
with
16 additions
and
0 deletions
VerilogHDLManual.md
View page @
45dd7134
Verilog HDL 簡易マニュアル
Verilog HDL 簡易マニュアル
========
========
## 代入
```
wire a;
reg b;
assign a = b;
always @(*) begin
r = b;
end
```
`always`
文の中で代入する場合は
`<=`
を使います。また、その変数は
`reg`
として宣言する必要があります。
`assign`
文は、「いつでも」左辺と右辺が同じであることを記述しているため、「右辺の値が変化した時、左辺に代入する」ことを記述する
`always`
文の中では使えません。
## 数値
## 数値
```
```
...
...
This diff is collapsed.
Click to expand it.