Download Simulator Configuration Guide for Synopsys Models
Transcript
L Chapter 12: Using QuickSim II with Synopsys Models Simulator Configuration Guide 8 Note Because the block diagram of this part does not denote specific names for the elements, their names reflect the output pin numbers on the DIP symbol (for example, pin 23 maps to Q23). For example, to program the first six elements listed in Table 28 as counters and register the last four elements as data pins from an I/O port, you would use the following commands: ADD BUS CNTR I$230/Q23, I$230/Q22, I$230/Q21, I$230/Q20, I$230/Q19, I$230/Q18 ADD BUS DATA I$230/Q17, I$230/Q16, I$230/Q15, I$230/Q14 ADD LISTS CNTR DATA -C -HEX Changing Program Flow by Setting Values You can use the SmartModel Windows feature to shorten large repetitive loops. For example, if a DMA controller has initiated a DMA transfer of 1,024 words to main memory, you can view the transfer of the first couple of words before stopping the simulation. By artificially setting the value of the DMA's transfer control register, you can control which part of the transfer to view. You can then view the last few words as they are transferred without having to wait for the entire process. Be careful when inserting values into window elements, especially when forcing data into program counters and instruction registers. This SmartModel Windows feature is recommended only for users who completely understand the implications of what is being inserted into an element. When forcing a value onto an element, the FORCE command is always interpreted as if the -CHARGED switch were present. This means that the forced value vanishes when another event attempts to update the window element. It is not possible to FIX or WIRE a forced value on a window element. SmartModel Window Elements SmartModel Window elements for SmartCircuit models can be defined only at simulator startup. This affects the way several QuickSim II commands interact with SmartCircuit models: ● The SAVE STATE and RESTORE STATE commands produce unpredictable effects if any SmartCircuit window elements are defined after saving the state. ● For SmartModel Windows to work with the SAVE STATE and RESTORE STATE commands, the window elements defined at SAVE STATE must exactly match those defined at the start of the current simulation session. 238 Synopsys, Inc. July 31, 2001