T02-Verilog-Tutorial
29 pages
English

T02-Verilog-Tutorial

-

Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres
29 pages
English
Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres

Description

Tutorial #2VerilogSimulation Toolflow02/16/056.884 – Spring 2005 T02 – Verilog 1% vcs mips.v% ./simv% vcs –RPP &A Hodgepodge Of Information− CVS source management system− Browsing a CVS repository with viewcvs− Makefile verilog build system− Writing SMIPS assembly − Using the SMIPS disassembler− Using trace output instead of waveforms02/16/056.884 – Spring 2005 T02 – Verilog 2Concurrent Versions System− A central repository contains all verilog code as well as information on who changed what and when− Users checkout a copy of the verilog code, edit it, and then commit their modified version− Users can see what has changed to help track down bugs and this allows multiple users to work on the same verilog code at the same time− Our repository is at /mit/6.884/cvsroot, but you should never access the repository directly. Instead use CVS commands of the following form:% cvs help02/16/056.884 – Spring 2005 T02 – Verilog 36.884 CVS RepositoryThere are three primary types of top-level directories in the repository– Examples (everyone has access)– Individual directories (only you have read/write)– Project directories (everyone has access)To checkout the examples and try them out use% cvs checkout examplesTo checkout your individual directory use% cvs checkout 02/16/056.884 – Spring 2005 T02 – Verilog 4CVS BasicsCommon CVS commands– cvs checkout pname Checkout a working ...

Informations

Publié par
Nombre de lectures 29
Langue English

Extrait

6.884 –
Spring 2005
02/16/05
Tutorial #2
Verilog Simulation Toolflow
T02 –
Verilog
1
Tol2g.68820– eVirg 2005024 –Sprin/61/50
A Hodgepodge Of Information
Using the SMIPS disassembler
Writing SMIPS assembly
Makefile verilog build system
Browsing a CVS repository with viewcvs
CVS source management system
Using trace output instead of waveforms
6.884 –S
pring 
Concurrent Versions System
Acentral repositorycontains all verilog code as well as information on who changed what and when
Userscheckoutcopy of the verilog code, edit it,a and thencommittheir modified version
Users can see what has changed to help track down bugs and this allows multiple users to work on the same verilog code at the same time
Our repository is at /mit/6.884/cvsroot, but you should never access the repository directly. Instead use CVS commands of the following form: % cvs <commandname> % cvs help
200502/1/605T02 –eVrliog3
6.884 –S
6.884 CVS Repository
There are three primary types of top-level directories in the repository
 Examples (everyone has access)
 Individual directories (only you have read/write)
 Project directories (everyone has access)
To checkout the examples and try them out use % cvs checkout examples
To checkout your individual directory use % cvs checkout <athena-username>
pring 200502/1/605T02 –eVrliog4
6.88 4–S
CVS Basics
Common CVS commands –cvs checkout pnameCheckout a working copy –cvs update pnameUpdate working dir vs. repos –cvs commit [filelist]Commit your changes –cvs add [filelist]Add new files/dirs to repos –cvs diffSee how working copy differs
Set the $CVSEDITOR environment variable to change which editor is used when writing log messages
pring 200502/1/605T02 –eVrilog5
6.884 –S
6.884 CVS Repository
Use the following commands to checkout the mips2stage test harness, test programs, etc and then put them into your own cvs directory
% cvs checkout 2005-spring/cbatten % cd 2005-spring/cbatten % cvs export –r HEAD examples/mips2stage % mv examples/mips2stage . % rm –rf examples % find mips2stage | xargs cvs add % <start to make your additions> % cvs add [new files] % cvs update % cvs commit
pring 200502/16/05T02 –Verliog6
6.88 4–S
Using CVS Tags
Symbolic tags are a way to mark all the files in your project at a certain point in the project development. You can then later checkout the whole project exactly as it existed previously with the tag.
prin
verilog1.v verilog2.v verilog 3.v verilog4.v verilog5.v 1.1 1.1 1.1 1.1 1.1 1.2 1.2 1.2 1.2 1.3 1.3 1.3 1.3 1.4 1.4 1.4 1.5 1.5 1.6
g 200502/16/05T02 –Verilog7
6.88 4–Spring 2005
CVS 
checkout
User A
Multiple Users
F.1
F.1
02/1/605
checkout
User B
F.1
T02 –eVrliog8
6.88 4–Spring 2005
CVS
User A
Multiple Users
F.1
F.2
02/16/05
commit
User B
F.2
T02 –eVrilog9
6.884 –Spring 2005
CVS  Multiple Users
co
User A
F.2
Conflict!
F.3
02/16/05
User B
F.2
T02 –eVrliog10
6.884 –pSring 2005
CVS  Multiple Users
upd
User A
F.2/3
F.2
Merges F.2 changes and denotes conflicts With <<<< >>>>  
02/1/605
User B
F.2
T02 –eVrliog11
  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents