12.07.2015 Views

Simulator Configuration Guide for Synopsys Models

Simulator Configuration Guide for Synopsys Models

Simulator Configuration Guide for Synopsys Models

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 7: Using QuickSim II with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>NoteBecause the block diagram of this part does not denote specific names <strong>for</strong>the elements, their names reflect the output pin numbers on the DIP symbol(<strong>for</strong> example, pin 23 maps to Q23).For example, to program the first six elements listed in Table 18 as counters and registerthe last four elements as data pins from an I/O port, you would use the followingcommands:ADD BUS CNTR I$230/Q23, I$230/Q22, I$230/Q21, I$230/Q20, I$230/Q19,I$230/Q18ADD BUS DATA I$230/Q17, I$230/Q16, I$230/Q15, I$230/Q14ADD LISTS CNTR DATA -C -HEXChanging Program Flow by Setting ValuesYou can use the SmartModel Windows feature to shorten large repetitive loops. Forexample, if a DMA controller has initiated a DMA transfer of 1,024 words to mainmemory, you can view the transfer of the first couple of words be<strong>for</strong>e stopping thesimulation. By artificially setting the value of the DMA's transfer control register, youcan control which part of the transfer to view. You can then view the last few words asthey are transferred without having to wait <strong>for</strong> the entire process.Be careful when inserting values into window elements, especially when <strong>for</strong>cing datainto program counters and instruction registers. This SmartModel Windows feature isrecommended only <strong>for</strong> users who completely understand the implications of what isbeing inserted into an element.When <strong>for</strong>cing a value onto an element, the FORCE command is always interpreted as ifthe -CHARGED switch were present. This means that the <strong>for</strong>ced value vanishes whenanother event attempts to update the window element. It is not possible to FIX or WIREa <strong>for</strong>ced value on a window element.Custom Symbols<strong>Synopsys</strong> provides symbols representing default package pinouts <strong>for</strong> Smart<strong>Models</strong>.However, you may need to create custom symbols <strong>for</strong> some of the following reasons:●●To con<strong>for</strong>m to internal drafting requirementsTo make a symbol match a component's pinout●To match external drafting specifications (<strong>for</strong> example, military specifications)144 <strong>Synopsys</strong>, Inc. October 6, 2003

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!