Upload
damali
View
50
Download
0
Embed Size (px)
DESCRIPTION
Problem sets/ EE382 Project: Starting with Verilog. 2012 - EE382 - 16905 Veynu Narasiman Carlos Villavieja. Course website. http://www.ece.utexas.edu/~patt/12s.382N/. Problem Sets. The course has two different parts: Small set of problems - individual ALU design ALU implementation - PowerPoint PPT Presentation
Citation preview
Problem sets/ EE382 Project:Starting with Verilog
2012 - EE382 - 16905Veynu NarasimanCarlos Villavieja
Course website
• http://www.ece.utexas.edu/~patt/12s.382N/
Problem Sets
• The course has two different parts:– Small set of problems - individual• ALU design • ALU implementation• Datapath design for several x86 instructions• Control logic design
– The project - groups of 3 people• Build a 1 wide-issue in-order x86 processor running a
limited set of instructions• A set of instructions will be published in the course
website
Tools location
Machines in ECE:http://www.ece.utexas.edu/it/remote_linux.cfmForget about sunservers
Tools Path:/usr/local/packages/synopsys_2011/vcs-mx/bin/vcs
Some documentation
• /usr/local/packages/synopsys_2011/vcs-mx/doc/help_vcs.txt
• /usr/local/packages/synopsys_2011/vcs-mx/doc/• /usr/local/packages/synopsys_2011/vcs-mx/
doc/UserGuide/• /usr/local/packages/synopsys_2011/vcs-mx/
doc/UserGuide/pdf/• /usr/local/packages/synopsys_2011/vcs-mx/
doc/UserGuide/pdf/mvsim_native.pdf
Let's start
Setting up the environment:
Load the compiler modules•module load synopsys/vcs•module initadd synopsys/vcs
High level diagram
LatchD
Wen
Q
Qbar
Source code at : http://www.ece.utexas.edu/~patt/12s.382N/tools/vcs_manual.html
DWen Q
QbarWen
D
S
R
D Wen D S R
0011
0101
1100
1110
1011
Q Qbar
X0X1
X1X0
Compiling and Running
• cat master /home/projects/courses/spring-12/ee382n-16905/lib/time-v /home/projects/courses/spring-12/ee382n-16905/lib/lib1
d-latch.v
• vcs –debug_all -f master• You will have a binary file ./simvRun and generate the timing info• ./simv
-v: only modules instantiated are compiled
Visualization tool - dve
• ssh –x [email protected]• Or connecting through VNC – see instructions
on the course webpage• dve • File – Open Database - .dump.vpd file
Starting dve
Waveform result
Debug – step by step