From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16856 invoked by alias); 22 Jul 2004 18:52:35 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16849 invoked from network); 22 Jul 2004 18:52:34 -0000 Received: from unknown (HELO neptune.TidalNetworks.net) (67.114.153.34) by sourceware.org with SMTP; 22 Jul 2004 18:52:34 -0000 Received: from xinanpc ([172.16.0.111]) by neptune.TidalNetworks.net with Microsoft SMTPSVC(6.0.3790.0); Thu, 22 Jul 2004 11:52:38 -0700 From: "Xinan Tang" To: "Monika Chaddha" Cc: Subject: RE: "igen vs. cgen?" Date: Thu, 22 Jul 2004 19:12:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-reply-to: <008a01c46fbb$22dec9d0$5100a8c0@monika> X-OriginalArrivalTime: 22 Jul 2004 18:52:38.0937 (UTC) FILETIME=[0F7C1890:01C4701D] X-SW-Source: 2004-07/txt/msg00284.txt.bz2 Hi Monika, Thanks for the reply. Is there doc. showing any examples on how to add a new instruction or disable some existing ones based on existing *.igen files? I googled the web and only found a few pages from psim online manual. However it does not provide enough details. Thanks --Xinan -----Original Message----- From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com]On Behalf Of Monika Chaddha Sent: Wednesday, July 21, 2004 11:12 PM To: 'Xinan Tang' Cc: gdb@sources.redhat.com Subject: RE: "igen vs. cgen?" Hi Xinan Igen would be used for adding new simulator input. There are many igen files present in the source... Mips.igen, M16.igen etc... The source for 'igen' (the simulator generator used) is present at 'src/sim/igen'. The 'igen' simulator generator takes input the mips.igen file which includes other igen files and generates the simulator source. The source for simulator will generate in build directory. The contents of this source will depend on the input 'mips.igen' file. These files are responsible for instruction implementation. U need new model name also to add any new instruction. Monika