public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: Alan Lehotsky <apl@alum.mit.edu>
To: Ben Elliston <bje@redhat.com>
Cc: apl@alum.mit.edu, cgen@sourceware.cygnus.com
Subject: Re: problems simulating register-only architecture...
Date: Thu, 24 May 2001 16:18:00 -0000	[thread overview]
Message-ID: <p04330109b73346edf565@[192.168.1.254]> (raw)
In-Reply-To: <15117.36017.164552.332785@scooby.apac.redhat.com>

At 8:35 AM +1000 5/25/01, Ben Elliston wrote:

> >>>>> "lehotsky" == lehotsky  <lehotsky@earthlink.net> writes:
>
>  lehotsky> But when I set up my "model" as follows, it doesn't work; is it
>  lehotsky> possible that the define-pmacro EA is evaluated at the
>  lehotsky> wrong time?
>
>You can debug such problems by raising the level of verbosity in the
>sim generator.  Set CGENFLAGS="-v -v -v -v" (I think).

	I assume this is a make flag, not an environment variable.  Thanks for the suggestion...

>
>  lehotsky> Or, do I need to write my "get" and "set" accessors as
>  lehotsky> escapes to C code to make this work?
>
>That shouldn't be necessary.  If it is, it's a bug.
>
>  lehotsky> ; The actual memory.... 512 32 bit words == 2048 bytes
>  lehotsky> ;
>  lehotsky> (define-hardware
>  lehotsky>   (name h-memory)
>  lehotsky>   (comment "all addressable data memory")
>  lehotsky>   (type memory QI (2048))
>  lehotsky> )
>
>  lehotsky> (define-pmacro (EA index)
>
>Is your pmacro really defined *after* the hardware elements?  Have you
>tried placing it before all of its applications?

	Yes.  I was wondering if that would work, but nothing complained......

	I'll try putting things in predeclared order....

-- Al


-- 
------------------------------------------------------------------------

		    Quality Software Management
		http://home.earthlink.net/users/~qsmgmt
			apl@alum.mit.edu
			(978)287-0435 Voice
			(978)808-6836 Cell
			(978)287-0436 Fax

	Software Process Improvement and Management Consulting
	     Language Design and Compiler Implementation

  reply	other threads:[~2001-05-24 16:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-24 13:39 lehotsky
2001-05-24 15:35 ` Ben Elliston
2001-05-24 16:18   ` Alan Lehotsky [this message]
     [not found] <200105242031.QAA10298.cygnus.local.cgen@iron>
2001-05-24 16:04 ` Frank Ch. Eigler
2001-05-24 16:23   ` Alan Lehotsky
2001-05-24 16:25     ` Frank Ch. Eigler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='p04330109b73346edf565@[192.168.1.254]' \
    --to=apl@alum.mit.edu \
    --cc=bje@redhat.com \
    --cc=cgen@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).