IP Core Generator: Constant Features * Accessible from the Macro Generator Dialog and HDLPlannerTM - Included in IDS for FPGA Devices and System DesignerTM for AT94K FPSLICTM Devices * Variable Width of Output Vectors * Constant Value * Binary, Octal, Decimal or Hexadecimal Radix Value Constant A Constant can be generated with the specified values. Note that this generator has to be run with the "Hard Macro" option deselected, since constants should be implemented as soft macros so that the mapper can "fold" them in with other logic in the design. Parameters Parameter Value Explanation Width Integer > 0 Width of output vector Constant Value Integer 0 Value of the constant Binary Constant value is specified using binary representation Octal Value is octal Decimal Value is decimal Hex Value is hexadecimal Radix Programmable SLI AT40K AT40KAL AT94K Application Note Pins Type Name Out RESULT[Width - 1:0] Option No Explanation Constant value, if Width is not large enough, least significant bits of value will be used Figure 1 shows an example of the con16 macro options. Rev. 2429B-1/02 1 Figure 1. Constant Generator 2 IP Core Generator: Constant 2429B-1/02 Atmel Headquarters Atmel Operations Corporate Headquarters Memory 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 487-2600 Europe Atmel SarL Route des Arsenaux 41 Casa Postale 80 CH-1705 Fribourg Switzerland TEL (41) 26-426-5555 FAX (41) 26-426-5500 Asia Atmel Asia, Ltd. Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL (852) 2721-9778 FAX (852) 2722-1369 Japan Atmel Japan K.K. 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan TEL (81) 3-3523-3551 FAX (81) 3-3523-7581 RF/Automotive Atmel Corporate 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 436-4270 FAX 1(408) 436-4314 Atmel Heilbronn Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany TEL (49) 71-31-67-0 FAX (49) 71-31-67-2340 Microcontrollers Atmel Corporate 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 436-4270 FAX 1(408) 436-4314 Atmel Nantes La Chantrerie BP 70602 44306 Nantes Cedex 3, France TEL (33) 2-40-18-18-18 FAX (33) 2-40-18-19-60 Atmel Colorado Springs 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Atmel Grenoble Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France TEL (33) 4-76-58-30-00 FAX (33) 4-76-58-34-80 ASIC/ASSP/Smart Cards Atmel Rousset Zone Industrielle 13106 Rousset Cedex, France TEL (33) 4-42-53-60-00 FAX (33) 4-42-53-60-01 Atmel Colorado Springs 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Atmel Smart Card ICs Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland TEL (44) 1355-803-000 FAX (44) 1355-242-743 Atmel Programmable SLI Hotline e-mail (408) 436-4119 literature@atmel.com Atmel Programmable SLI e-mail Web Site fpga@atmel.com - fpslic@atmel.com http://www.atmel.com FAQ Available on web site (c) Atmel Corporation 2001. Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company's standard warranty which is detailed in Atmel's Terms and Conditions located on the Company's web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel's products are not authorized for use as critical components in life support devices or systems. Atmel (R) is the registered trademark of Atmel. FPSLICTM, HDLPlanner TM and System DesignerTM are the trademarks of Atmel. Printed on recycled paper. Other terms and product names may be the trademarks of others. 2429B-1/02/xM