Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
program-training
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yuki.yahagi
program-training
Commits
209b7a79
Commit
209b7a79
authored
May 30, 2018
by
yuki.yahagi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
説明を追加
parent
b46a960d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
1 deletion
+53
-1
README.md
README.md
+7
-1
簡易版vcsの使い方.md
tips/簡易版vcsの使い方.md
+46
-0
No files found.
README.md
View file @
209b7a79
# プロ演用のサンプルコード,ツールの使い方一式
# プロ演用のサンプルコード,ツールの使い方一式
## 構成
./kenbaiki : 渡した券売機のコード
./semi_annealing_2x2 : アニーリングマシンのような何か
./tips : ツールの使い方など
\ No newline at end of file
tips/簡易版vcsの使い方.md
0 → 100644
View file @
209b7a79
# verilogシミュレータのVCSについて
きちんとしたものは,戸川研wikiにあるのでそこを参照.
テストベンチもそのページのものを参考にしてもらいたい.
http://www.togawa.cs.waseda.ac.jp/~nara/wiki/index.php?VCSでのシミュレーション
## 使い方
1.
Verilogファイルをサーバーに置く.
2.
サーバーにログインし,ファイルをおいた所まで行く.
(外部からなら先にstepサーバーに入る)
$ ssh -Y yuki.yahagi@step.togawa.cs.waseda.ac.jp
$ ssh -Y ryakunin
3.
スクリプトを読み込む
$ source /storage/EDA/scripts/EDA2012.sh
4.
vcsで実行ファイルを作る
$ vcs -o rtlsim +v2k -RI -M テストベンチ.v RTLファイル.v
rtlsimという実行ファイルができる.
5.
シミュレーションの実行
$ ./rtlsim
6.
波形の確認
$ dve //このツールでダンプファイルという波形データを読み込む.
※ 実は4.で -gui オプションをつけると, ./rtlsim の段階でdveが立ち上がり,
動的にシミュレーションを実行しながら波形の確認ができる.
4.
vcsを-guiオプション付きで動かす
$ vcs -o rtlsim +v2k -RI -M テストベンチ.v RTLファイル.v -gui
5.
シミュレーションを実行しながら波形確認
$ ./rtlsim //同時にdveが立ち上がる.
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment