From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9845 invoked by alias); 2 Jul 2009 03:05:21 -0000 Received: (qmail 9837 invoked by uid 22791); 2 Jul 2009 03:05:21 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,DNS_FROM_RFC_BOGUSMX X-Spam-Check-By: sourceware.org Received: from sebabeach.org (HELO sebabeach.org) (64.165.110.50) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Jul 2009 03:05:13 +0000 Received: from sspiff.sspiff.org (seba.sebabeach.org [10.8.159.10]) by sebabeach.org (Postfix) with ESMTP id 28E966E3C4; Wed, 1 Jul 2009 20:05:11 -0700 (PDT) Message-ID: <4A4C23E6.60401@sebabeach.org> Date: Thu, 02 Jul 2009 03:05:00 -0000 From: Doug Evans User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: "Frank Ch. Eigler" CC: Joseph A , cgen@sourceware.org Subject: Re: how can one achieve pipelined operation? References: <24210860.post@talk.nabble.com> <20090701105032.GA13767@redhat.com> In-Reply-To: <20090701105032.GA13767@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00002.txt.bz2 Frank Ch. Eigler wrote: > Hi - > > >> I have been working on a port for a while now, and I think everything is >> working except the pipeline. I have tried changing the values of issue and >> done in the functional unit description and I have added a pipeline >> statement to define-model. What do I need to do to achieve pipelined >> operation and/or is there an existing example? >> > > An exposed pipeline is reasonably easily modelled with deferred write > queues in a sid-based simulator; see the mep port. > > Thanks. The semantics for each instruction are generated from cgen, but the pipeline (i.e. instruction fetch, execute, retire) is handcrafted. [Right?] Joseph: I think that's the way to go for right now.