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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>Chapter 7: Using QuickSim II with <strong>Synopsys</strong> <strong>Models</strong>IN C = C9 C8 C7 C6 C5 C4 C3 C2 C1 C0;IN B = B1 B0;OUT WEL = WE ;OUT RAL = RAS3 ;OUT RBL = RAS2 ;OUT RCL = RAS1 ;OUT RDL = RAS0 ;OUT Q = Q9 Q8 Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0;Conditional Pin MappingUse a conditional clause in the pin_map file to cause the model to use different parts ofa pin_map file based on the value of a certain property. The syntax is:% property_name property_valueThis method is used by the models to map the pins from the BUS symbols to the model.The pin map parser searches <strong>for</strong> the property_name in the design database and thencompares the property_value. If the property is not present, or if the actual value of theproperty does not match the property_value exactly, everything in the file until the nextpercent sign (%) is ignored.The following example shows the pin_map file that provides mapping from the pin tothe bus symbols <strong>for</strong> the Logic Devices LSH32 32-bit barrel shifter.## Bus Package <strong>for</strong> the LSH32#% PKG BUSIN I = I31 I30 I29 I28 I27 I26 I25 I24 I23 I22 I21 I20 I19 I18I17 I16 I15 I14 I13 I12 I11 I10 I9 I8 I7 I6 I5 I4 I3 I2 I1 ;OUT Y = Y15 Y14 Y13 Y12 Y11 Y10 Y9 Y8 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 ;IN SI = SI4 SI3 SI2 SI1 SI0 ;OUT SO = SO4 SO3 SO2 SO1 SO0October 6, 2003 <strong>Synopsys</strong>, Inc. 149

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

Saved successfully!

Ooh no, something went wrong!