SConscript revision 12689:f554325372e9
16145Snate@binkert.org# -*- mode:python -*-
26145Snate@binkert.org
36145Snate@binkert.org# Copyright (c) 2017 ARM Limited
46145Snate@binkert.org# All rights reserved.
56145Snate@binkert.org#
66145Snate@binkert.org# The license below extends only to copyright in the software and shall
76145Snate@binkert.org# not be construed as granting a license to any other intellectual
86145Snate@binkert.org# property including but not limited to intellectual property relating
96145Snate@binkert.org# to a hardware implementation of the functionality of the software
106145Snate@binkert.org# licensed hereunder.  You may use the software subject to the license
116145Snate@binkert.org# terms below provided that you ensure that this notice is replicated
126145Snate@binkert.org# unmodified and in its entirety in all distributions of the software,
136145Snate@binkert.org# modified or unmodified, in source code or in binary form.
146145Snate@binkert.org#
156145Snate@binkert.org# Copyright (c) 2006 The Regents of The University of Michigan
166145Snate@binkert.org# All rights reserved.
176145Snate@binkert.org#
186145Snate@binkert.org# Redistribution and use in source and binary forms, with or without
196145Snate@binkert.org# modification, are permitted provided that the following conditions are
206145Snate@binkert.org# met: redistributions of source code must retain the above copyright
216145Snate@binkert.org# notice, this list of conditions and the following disclaimer;
226145Snate@binkert.org# redistributions in binary form must reproduce the above copyright
236145Snate@binkert.org# notice, this list of conditions and the following disclaimer in the
246145Snate@binkert.org# documentation and/or other materials provided with the distribution;
256145Snate@binkert.org# neither the name of the copyright holders nor the names of its
266145Snate@binkert.org# contributors may be used to endorse or promote products derived from
276145Snate@binkert.org# this software without specific prior written permission.
286145Snate@binkert.org#
296145Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
306145Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
316145Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
326145Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
336145Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
346145Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
356145Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
366145Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
376145Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
386145Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
396145Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
406145Snate@binkert.org#
416145Snate@binkert.org# Authors: Andreas Sandberg
426145Snate@binkert.org
436145Snate@binkert.orgImport('*')
446145Snate@binkert.org
457002Snate@binkert.orgif env['TARGET_ISA'] == 'null':
467002Snate@binkert.org    Return()
477002Snate@binkert.org
488946Sandreas.hansson@arm.comSimObject('Serial.py')
498946Sandreas.hansson@arm.comSimObject('Terminal.py')
507002Snate@binkert.orgSimObject('Uart.py')
517454Snate@binkert.org
527832Snate@binkert.orgSource('serial.cc')
537454Snate@binkert.orgSource('simple.cc')
547454Snate@binkert.orgSource('terminal.cc')
557056Snate@binkert.orgSource('uart.cc')
567048Snate@binkert.orgSource('uart8250.cc')
578229Snate@binkert.org
587048Snate@binkert.orgDebugFlag('Terminal')
597048Snate@binkert.orgDebugFlag('TerminalVerbose')
606154Snate@binkert.orgDebugFlag('Uart')
616154Snate@binkert.org