__init__.py revision 7087
14104Ssaidi@eecs.umich.edu# Copyright (c) 2007 The Hewlett-Packard Development Company
24104Ssaidi@eecs.umich.edu# All rights reserved.
34104Ssaidi@eecs.umich.edu#
44104Ssaidi@eecs.umich.edu# The license below extends only to copyright in the software and shall
54104Ssaidi@eecs.umich.edu# not be construed as granting a license to any other intellectual
64104Ssaidi@eecs.umich.edu# property including but not limited to intellectual property relating
74104Ssaidi@eecs.umich.edu# to a hardware implementation of the functionality of the software
84104Ssaidi@eecs.umich.edu# licensed hereunder.  You may use the software subject to the license
94104Ssaidi@eecs.umich.edu# terms below provided that you ensure that this notice is replicated
104104Ssaidi@eecs.umich.edu# unmodified and in its entirety in all distributions of the software,
114104Ssaidi@eecs.umich.edu# modified or unmodified, in source code or in binary form.
124104Ssaidi@eecs.umich.edu#
134104Ssaidi@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
144104Ssaidi@eecs.umich.edu# modification, are permitted provided that the following conditions are
154104Ssaidi@eecs.umich.edu# met: redistributions of source code must retain the above copyright
164104Ssaidi@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
174104Ssaidi@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
184104Ssaidi@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
194104Ssaidi@eecs.umich.edu# documentation and/or other materials provided with the distribution;
204104Ssaidi@eecs.umich.edu# neither the name of the copyright holders nor the names of its
214104Ssaidi@eecs.umich.edu# contributors may be used to endorse or promote products derived from
224104Ssaidi@eecs.umich.edu# this software without specific prior written permission.
234104Ssaidi@eecs.umich.edu#
244104Ssaidi@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
254104Ssaidi@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
264104Ssaidi@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
274104Ssaidi@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
284104Ssaidi@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
294104Ssaidi@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
304104Ssaidi@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
314104Ssaidi@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
324104Ssaidi@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
334104Ssaidi@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
344104Ssaidi@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
354104Ssaidi@eecs.umich.edu#
364104Ssaidi@eecs.umich.edu# Authors: Gabe Black
374104Ssaidi@eecs.umich.edu
384104Ssaidi@eecs.umich.educategories = ["ascii_adjust",
394104Ssaidi@eecs.umich.edu              "bcd_adjust",
408229Snate@binkert.org              "endian_conversion",
414104Ssaidi@eecs.umich.edu              "extract_sign_mask",
427723SAli.Saidi@ARM.com              "sign_extension",
434104Ssaidi@eecs.umich.edu              "translate"]
444104Ssaidi@eecs.umich.edu
458739Sgblack@eecs.umich.edumicrocode = ""
468232Snate@binkert.orgfor category in categories:
474104Ssaidi@eecs.umich.edu    exec "import %s as cat" % category
484104Ssaidi@eecs.umich.edu    microcode += cat.microcode
498229Snate@binkert.org