Sie sind auf Seite 1von 6

12/4/12

Important VLSI Commands

Go 1. Design Engineer: Takes specifications, defines architecture, does circuit design, runs simulations, supervises layout, tapes out the chip to the foundry, evaluates the prototype once th

The following are important VLSI Commands


Ads by Google

CVS

Print to PDF File

Free PDF Editor

Create a PDF File

TSMC PowerTrim libraries


Reduce std cell leakage 30-50%. No impact on chip speed
www.tela-inc.com

Important VLSI Commands.

Verilog Simulation & Test


Verilog Simulator with automatic test bench generation.
www.syncad.com

F R E Q U E N T L YU S E DC V SC O M M A N D S
1 . C h e c k o u t c v sc o< f i l e / d i r > 2 . C h e c k i n

Pipeline Simulation
in your lab with our Wax Flow Loop
www.F5-Tech.de

c v sc i m" < m e s s a g e > "< f i l e >o r c v sc i< f i l e >( m e s s a g ec a nb eg i v e ni nv ie d i t o r ) " c o m m i t "c a na l s ob eu s e da l t e r n a t i v e l yi n s t e a do f" c i " 3 . A d d i t i o no fn e wf i l e

Verilog to SystemC
Translate and abstract your VHDL or Verilog designs to SystemC RTL/TLM
www.hifsuite.com

C o p yt h ef i l et ot h ed i r e c t o r yo fc h e c k i n ,a n dg i v ef o l l o w i n gt w oc o m m a n d s c v sa d d< f i l e > c v sc i m" < m e s s a g e > "< f i l e > 4 . A d d i t i o no fn e wd i r e c t o r y G ot ot h ed i r e c t o r yu n d e rw h i c hn e ws u bd i r e c t o r yn e e d st ob ec r e a t e d , m k d i r< n e w d i r > C r e a t ed i r c h o w n< c u r r e n t g r p > : c v s g< n e w d i r > C h a n g et h eg r o u pt o" c v s g " c v sa d d< n e w d i r > a d dt or e p o s i t o r y 5 . U p d a t e c v su p< f i l e > U p d a t e sl o c a lc o p yt ol a t e s tv e r s i o ni fs t i c k yt a gi sr e s e t c v su p A< f i l e > U p d a t e sl o c a lc o p yt ol a t e s tv e r s i o nb yr e s e t t i n gt h es t i c k yt a g

H o m e

c v su p r< v e r s i o n >< f i l e >U p d a t e st h el o c a lc o p yt ot h ev e r s i o ns p e c i f i e d ,s t i c k yt a gw i l lb es a f t e re x e c u t i o no ft h i sc o m m a n d ." c v su p< f i l e > "c o m m a n dw i l lu p d a t et h el o c a lc o p yt ov e r s i o n< s t i c k yt a gi ss e tt o< v e r s i o n > .A l w a y sb e t t e rt o Ao p t i o nt og e tt h el a t e s tv e r s i o n( t o po ft r e c v su p r< t a g >< f i l e > u p d a t et h ec o p yw i t hs p e c i f i e dt a gf r o mr e p o s i t o r y 6 . R e m o v i n gaf i l e U s a g e :c v sr e m o v e[ f l R ][ f i l e s . . . ] fD e l e t et h ef i l eb e f o r er e m o v i n gi t . lP r o c e s st h i sd i r e c t o r yo n l y( n o tr e c u r s i v e ) . RP r o c e s sd i r e c t o r i e sr e c u r s i v e l y . 7 . F i n d i n gt h es t a t u s c v ss t a t< f i l e > 8 . C h e c k i nh i s t o r y c v sl o g< f i l e > 9 . D i f f c v sd i f f< f i l e > d i f f st h el o c a lc o p yw i t hr e p o s i t o r yc o p y( l a t e s t ) c v sd i f f r< v e r 1 >r< v e r 2 >< f i l e > d i f f st h ef i l eo ft w ov e r s i o n ss p e c i f i e d . 1 0 . H e l po np a r t i c u l a rc o m m a n d
www.asic.co.in/ppt/important_vlsi_commands.htm 1/6

12/4/12

Important VLSI Commands

c v s< c o m m a n d >h e l p 1 1 . H e a d e rr e l a t e df i e l d s( a u t o m a t i c a l l yf i l l e d ) F i l en a m e:$ R C S f i l e$ C h e c k i na u t h o r:$ A u t h o r$ R e v i s i o n:$ R e v i s i o n$ L a s tM o d i f i e d:$ D a t e$ I d:$ I d$ F o o t e rr e l a t e df i e l d s( a u t o m a t i c a l l yf i l l e d ) $ L o g$ 1 2 . C V Se m a i ln o t i f i c a t i o n G ot ot h eC V S R O O Td i r e c t o r yo f< p r o j e c t >d i r e c t o r y( l o g i na sr o o t )a n da d df o l l o w i n gl i n ei n < p r o j e c t _ n a m e >m a i l s% s :< e m a i l _ i d _ 1 > ,< e m a i l _ i d _ 2 > 1 3 . C V SI m p o r to fp r o j e c t( f i r s tt i m e ) c v si m p o r t< p r o j e c t >< p r o j e c t >s t a r t

C o d eC o v e r a g e

S t r u c t u r a l c o d e c o v e r a g e l o c a t e s a r e a s o f a p r o g r a m t h a t w e r e n o t e x e r c i s e d b y a s e t o f t e s t c o v e r a g ea s s u r e st h a tt h em a j o rf u n c t i o n so ft h ed e s i g nh a v eb e e na d e q u a t e l yt e s t e d .

C o d e c o v e r a g e m e a s u r e s h o w t h o r o u g h l y a t e s t b e n c h e x e r c i s e s t h e l i n e s o f H D L c o d e t h a t d e s c r i c o v e r a g e r e s u l t s r e v e a l t h e a r e a s o f t h e d e s i g n t h a t h a v e n o t b e e n f u l l y t e s t e d , o r t h a t d i d n c o v e r a g ec r i t e r i a .W h e np r o v i d e dw i t ht h i si n f o r m a t i o n ,y o uc a nd e v e l o pt e s t st ot a r g e tt h eu n t e s t a r e a s .

F o r e x a m p l e , b l o c k c o v e r a g e i n f o r m a t i o n c a n t e l l y o u w h e t h e r o r n o t v a r i o u s s e c t i o n s o f t h e s t i m u l a t e db yt e s tv e c t o r s .F S Mc o v e r a g ec a nh e l py o ud e t e r m i n ew h e t h e ro rn o ta l lp o s s i b l es t a t e s w e r ev i s i t e d .

F u n c t i o n a l c o v e r a g e i s g e n e r a t e d b y i n s e r t i n g P S L , S y s t e m V e r i l o g a s s e r t i o n s t a t e m e n t s , o r S y s t e m s t a t e m e n t si n t ot h eH D Lc o d ea n ds i m u l a t i n gt h ed e s i g n .T h ea s s e r t i o n sc r e a t ef u n c t i o n a lc o v e r a g ep t e s t s c e n a r i o s t h a t y o u w a n t t o c o v e r . F u n c t i o n a l c o v e r a g e s h o w s t h e a m o u n t o f d e s i g n f u n c t i s i m u l a t i o n ,w h i c hc a nh e l pp r o v et h a tad e s i g ni sf u n c t i o n a l l yc o r r e c t .

B l o c k c o v e r a g e m o n i t o r s a l l e x e r c i s a b l e b l o c k s i n t h e V e r i l o g / V H D L s o u r c e c o d e a n d i d e n t i f i e s t h d u r i n gs i m u l a t i o n .

E x p r e s s i o n c o v e r a g e m o n i t o r s e x p r e s s i o n s i n c o n t i n u o u s a s s i g n m e n t s a n d p r o c e d u r a l c o n t r o l c o c o n d i t i o n s ) . T o g g l ec o v e r a g e r e p o r t sc o v e r a g eb a s e do ns i g n a la c t i v i t y . F i n i t es t a t em a c h i n ec o v e r a g eS h o w ss t a t ev i s i t a t i o na n da r c s .

L i n u xc o m m a n d s

S h o wl i s to ff i l e si nc u r r e n td i r e c t o r y
www.asic.co.in/ppt/important_vlsi_commands.htm 2/6

12/4/12

Important VLSI Commands

l s l l o n g ,a h i d d e n ,r a l p h a b e t i c a lo r d e r ,t t i m e s t a m p

C h a n g i n gt h ep e r m i s s i o n so ff i l e s / d i r e c t o r i e s c h m o d+ x< f i l e n a m e > c h m o d+ w< f i l e n a m e > c h m o d+ r< f i l e n a m e > c h m o d7 4 4< f i l e n a m e > c h m o d7 7 7< f i l e n a m e > E x .7 7 7=1 1 11 1 11 1 1={ o w n e r ,g r o u p ,o t h e r s } 1 1 1={ r ,w ,x }={ r e a d ,w r i t e ,e x e c u t e }

C o p yt h ef i l e s / d i r e c t o r yt od e s t i n a t i o n c ps o u r c ed e s t i n a t i o n c o p i e sd e s t i n a t i o nt os o u r c e( f i l e ) c p rs o u r c ed e s t i n a t i o n c o p i e sr e c u r s i v e l y( d i r e c t o r y )

m a n< c o m m a n d > h e l po ft h ec o m m a n d E x .m a nm v c d< d i r _ n a m e > c h a n g ed i r e c t o r y m k d i r< d i r _ n a m e > c r e a t en e wd i r e c t o r y c d g ot oh o m ed i r e c t o r y p w d d i s p l a y sp r e s e n tw o r k i n gd i r e c t o r y

f i n d. n a m e" * . v " f i n d sa l lf i l e sw i t he x t e n s i o n. vr e c u r s i v e l yf r o mc u r r e n tl o c a t i o n f i n d. n a m e" * . v " p r i n t f i n d. t y p ed a l lt h ed i r e c t o r i e sf r o mc u r r e n tl o c a t i o nr e c u r s i v e l y f i n d~t y p ed a l lt h ed i r e c t o r i e sf r o m/ h o m e / $ U S E R /r e c u r s i v e l y f i n d. t y p ef a l lt h ef i l e sf r o mc u r r e n tl o c a t i o nr e c u r s i v e l y f i n d~t y p ef a l lt h ef i l e sf r o mc u r r e n tl o c a t i o nr e c u r s i v e l y f i n d. s i z e0 z e r ol e n g t hf i l e s f i n d. e x e cg r e p" w o r d "{ }\ ;p r i n t f i n dw o r di na l lf i l e sr e c u r s i v e l y

D i s p l a yd i s ks p a c e d u ( d i s ku s a g e ) d u s. ,d us k n u m b e ro fb l o c k so nd i s k ,s u p p r e s si n d i v i d u a ld i r e c t o r yd e t a i l s d u ,d u. ,d u s k* s p a c ei nK i l o b y t e s ,i n d i v i d u a ld i r / f i l ew i s e d f ,d f k. t o t a ls p a c e,d i s kf r e ec o m m a n d

r m< f i l e _ n a m e > r e m o v e st h ef i l e r m i< f i l e _ n a m e > i n t e r a c t i v er e m o v e r m r f< d i r > r e m o v e sd i r e c t o r y


www.asic.co.in/ppt/important_vlsi_commands.htm 3/6

12/4/12

Important VLSI Commands

r m< d i r > i fd i r e c t o r yi se m p t y

h e a d< f i l e > d i s p l a y sf i r s t1 0l i n e so ft h ef i l e h e a d n< f i l e > d i s p l a y sf i r s tnl i n e so ft h ef i l e t a i l< f i l e > l a s t1 0l i n e s t a i l n< f i l e > l a s tnl i n e s

G l o b a lR e g u l a rE x p r e s s i o nP a r s e r( G R E P ) g r e p" w o r d "< f i l e > s e a r c h e sf o rt h ew o r di nt h ef i l e g r e p" ^ m o d u l e "< f i l e > s e a r c h e sf o rt h el i n e ss t a r tw i t h" m o d u l e " g r e p" ^ m o d u l e $ "< f i l e > s e a r c h e sf o rt h el i n e se n dw i t h" m o d u l e " g r e p" w o r d "< f i l e >|w c l s e a r c h e sf o rw o r di nf i l ea n dg i v e st h en u m b e ro fo c c u r r e n c e s | U n i xp i p e ,o u t p u to fo n ec o m m a n di sg i v e na si n p u tt ot h en e x tc o m m a n d

s o r t< f i l e > s o r t st h ef i l ei na l p h a b e t i c a lo r d e r s o r t< f i l e >>s o r t e d _ f i l e s o r t sa n do u t p u tw i l lb er e d i r e c t e dt os o r t e d _ f i l e > > a p p e n dm o d e > o v e r w r i t em o d e

w c( w o r dc o u n t ) w c< f i l e > d i s p l a y sl i n e ,w o r d ,c h a r a c t e rc o u n to ft h ef i l e w c l< f i l e o n l yl i n ec o u n t w c w< f i l e > o n l yw o r dc o u n t w c c< f i l e > o n l yc h a r a c t e rc o u n t

d i f f< f i l e 1 >< f i l e 2 > d i f f st w of i l e s d i f f r w< d i r 1 >< d i r 2 > d i f f st w od i r e c t o r i e s s d i f f< f i l e 1 >< f i l e 2 > d i f f sa n dr e s u l t sw i l lb ep l a c e ds i d eb ys i d e

c a t< f i l e > d i s p l a y sf i l ec o n t e n t s

c a t< f i l e >|m o r e d i s p l a y so n ep a g e ( o n es c r e e no nc o n s o l e )a tat i m e ,g o e st os e c o n ds c r e e no np r ( m o r ec o m m a n dc a nb ep i p e dw i t ha n yo t h e rc o m m a n d )

m v< f i l e 1 >< f i l e 2 > r e n a m i n gt h ef i l e ,c a na l s ob eu s e dt om o v et h ef i l e si nd i f f e r e n td i r e c t o r i e s

S Y S T E ML E V E LC O M M A N D S p s l o w np r o c e s sd e t a i l s p s l a a l lp r o c e s s e s p s u< u s e r > p r o c e s sd e t a i l so fp a r t i c u l a ru s e r

p s u< u s e r >|g r e p< k e y w o r d > s e a r c h e sf o rp a r t i c u l a rp r o c e s so fap a r t i c u l a ru s e r ,p r o c e s sd e f i n k i l l9< P I D > k i l lp r o c e s sh a v i n gI D ,P I D( s u r ek i l l ) e n v l i s t se n v i r o n m e n tv a r i a b l e sa n dt h e i rv a l u e s e n v|g r e p< u s e r > e n v i r o n m e n tv a r i a b l e so fp a r t i c u l a ru s e r
www.asic.co.in/ppt/important_vlsi_commands.htm 4/6

12/4/12

Important VLSI Commands

s e t e n vC V S R O O T/ p r o j / a s i c si n. c s h r cf i l e s e t t i n gu pe n v i r o n m e n tv a r i a b l e s e t e n vC V S R O O T=/ p r o j / a s i c s /i nb a s h s e t t i n gu pe n v i r o n m e n tv a r i a b l e e c h o$ E N V _ V A R I A B L E d i s p l a y i n gt h ev a l u eo fe n v i r o n m e n tv a r i a b l eE N V _ V A R I A B L E w h o l i s to fu s e r sl o g g e di n w h oa mi c u r r e n tu s e r w h i c hp e r l p e r ls o u r c ed i r e c t o r y a l i a sd i r l s l|g r e p^ d a l i a sf o rl i s t i n gd i r e c t o r i e s a l i a sl l l s l|m o r e

V IE D I T O RC O M M A N D S
: q c l o s ef i l e v i c r e a t e / o p e nn e wf i l e / < w o r d _ t o b e _ s e a r c h e d > : w s a v ef i l e : w q s a v ea n dq u i tf r o mf i l e : q ! q u i tf r o mar e a do n l yf i l e : w q ! s a v ea n dq u i tf r o mar e a do n l yf i l e : 0 g ot of i r s tl i n e : 1 g ot of i r s tl i n e G g ot ot h el a s tl i n e c t r l + g p r i n t st o t a ln u m b e ro fl i n e sa n dc u r r e n tl i n ei n% : % s ? < s t r i n g _ t o b e _ r e p l a c e d > ? < n e w _ s t r i n g > g g l o b a ls e a r c ha n dr e p l a c e k g ot op r e v i o u sl i n e j g ot on e x tl i n e a g ot on e x tc h a r a c t e ra n di n s e r tm o d e i i n s e r tm o d e e s c a p e c o m eo u to fi n s e r tm o d e o g ot ot h en e x tl i n ea n di n s e r tm o d e B P a g eu p F P a g ed o w n h g ot op r e v i o u sc h a r a c t e r l g ot on e x tc h a r a c t e r x d e l e t ec h a r a c t e r d d d e l e t es i n g l el i n e nd d d e l e t enl i n e s ma m a r kc u r r e n tl i n ew i t h a `a g ot ot h el i n em a r k e d a : a , b y c o p yt h el i n e sm a r k e db e t w e e n a a n d b : e< f i l e > o p e n ss e c o n df i l e y y ,p c o p y&p a s t e d d ,p c u t&p a s t e ny y c o p ynl i n e s : r< f i l e > i n s e r t st h ef i l ec o n t e n t ss p e c i f i e di nt oc u r r e n tf i l ea f t e rc u r r e n tl i n e( c u r s o r ) r< c > r e p l a c e sc u r r e n tc h a r a c t e rw i t h c c t r l+d h a l fs c r e e nd o w n c t r l+u h a l fs c r e e nu p ^ g ot os t a r to fl i n e
www.asic.co.in/ppt/important_vlsi_commands.htm 5/6

12/4/12

Important VLSI Commands

$ g ot oe n do fl i n e w g ot ot h en e x tw o r d l g ot ot h en e x tc h a r a c t e r e g ot ot h ee n do fc u r r e n tw o r d d w d e l e t ec u r r e n tw o r d c w r e p l a c ec u r r e n tw o r d c c r e p l a c ec u r r e n tl i n e . e x e c u t ep r e v i o u sc o m m a n d J j o i nt h en e x tl i n et oc u r r e n tl i n e S h i f t + 5 m a t c h i n gb e g i ne n d

: s p< f i l e > o p e n so t h e rf i l es p e c i f i e di nt h es a m es c r e e n ,c t r l + w wc a nb eu s e dt os h i f tb e t w e e

www.asic.co.in/ppt/important_vlsi_commands.htm

6/6

Das könnte Ihnen auch gefallen