T.R | Title | User | Personal Name | Date | Lines |
---|
79.1 | | PISA::BRETT | | Tue Jan 21 1986 11:11 | 4 |
| Ada provides all the multi-tasking, etc., that you need to build
simulations...
/Bevin
|
79.2 | | PIPER::REILLY | | Tue Jan 21 1986 11:33 | 25 |
| I have a copy of a SIMULA compiler for VAX/VMS (I ran it last under V3).
I can't remember where I got it, though I believe the folks at NCC
wrote it. (So, your customer should be able to get a tape through
the Norweigan Computing Center.)
Alas, the compiler does not support call by name, so NONE of the
whizzy SIMIO stuff works, but all the other features are supported.
The generated code is not well optimized either, so if your customer
is into simulating the history of the U.S. Postal Service, one transaction
at a time, a model compiled by this compiler might be a real pig.
From what I can tell SIMULA is in its death throes as a language, especially
now that all the features of SIMULA (classes, objects, processes, "type-monitor"
concepts) have been incorporated in ADA. Your customer might be better
off writing his simulations in ADA if he is capable. (If he could
master SIMULA, he can learn enough ADA to get by.)
Finally, if the customer owns a DECSYSTEM20, there is a SIMULA compiler
available from DECUS that runs under TOPS10 and TOPS20.
Hope this is helpfull.....
matt
|
79.3 | | R2ME2::MAILMAN | | Tue Jan 21 1986 19:43 | 5 |
| Its been 8 years since I used SIMULA, care to refreash my memory...
What is a class?
thanks
/steve
|
79.4 | | PIPER::REILLY | | Wed Jan 22 1986 11:49 | 82 |
| A Class is a description of an object. It can be a data structure
declaration, or a combination of a structure declaration and a
set of procedures for manipulating the data contained in an object
of this class.
The class description may be parameterized. These parameters are
used to initialize the data structure, or in the code called when
an object of this class is created.
An object is created by a statement of the form:
NEW classname (parameter-list)
The following code is a description of a processor (memory reference generator)
that I used in a simulation of a multiprocessor memory interconnect.
It has no private procedures. It is a class with characteristics of a SIMULA
Process.
Process CLASS processor (min, mean, hitrat, writrat, modnum, procnum);
INTEGER min, mean, modnum, procnum;
REAL hitrat, writrat;
BEGIN
INTEGER reqtime;
INTEGER bank, quarter;
INTEGER pass;
INTEGER accesses, acctime, cyctime;
BOOLEAN hit, writec;
accesses := acctime := cyctime := 0;
WHILE NOT end_of_simulation DO
BEGIN
! generate a memory request at some time in the future.
! wait until then.
Hold(Poisson(mean, seed));
reqtime := Time;
! pick a bank/quarter for the request
bank := Randint(0,7,seed);
quarter := Mod(bank,4);
! is the access a hit or miss? write or read?
hit := Draw(hitrat,seed);
writec := Draw(writrat,seed);
! put a request into a cache object service queue
Into(cache(modnum,quarter).pqueue);
! if the cache service queue is empty, activate the
! cache server process.
IF cache(modnum,quarter).Idle THEN
ACTIVATE cache(modnum,quarter);
! Wait for a response from the cache
Passivate;
IF collect_statistics THEN accesses := accesses + 1;
! was this a double cycle ? ;
IF double_all AND NOT (writec AND double_write) THEN Hold(100);
! now wait until it is time for READY to
be asserted;
pass := Time - reqtime - 200;
IF pass < 0 THEN Hold(-pass)
ELSE Hold(200 - Mod(pass,200));
IF collect_statistics THEN
acctime := acctime + Time - reqtime;
! wait for the logic to settle out;
Hold(min);
IF collect_statistics THEN
cyctime := cyctime + Time - reqtime;
END;
END *** of processor ***;
|
79.5 | | PISA::WINALSKI | Paul S. Winalski | Sun Jan 26 1986 12:56 | 3 |
| GASP runs on VAXen.
--PSW
|
79.6 | Thanks for the info. | MMO01::SANDERS | Jim Sanders | Wed Jan 29 1986 10:45 | 10 |
| RE: .5,
Paul, what's GASP? (Did you mean GPSS?)
RE: .1,
Tell me more about NCC. Do you have any info, address, etc.
Thanks,
Jim
|
79.7 | where to send for VAX/SIMULA info | PIPER::REILLY | | Wed Jan 29 1986 20:03 | 15 |
| I looked through the (meager) documentation that I have on the
SIMULA compiler here. Evidently some folks in Stockholm did the
port of the "Portable SIMULA Front End" written at NCC (according
to some compiler error messages). The address for info is
QZ, Stockholm University Computing Center
Box 27322
S-102 54 Stockholm
Sweden
(That's the way the address appears in the documentation I have.)
Good luck,
matt
|
79.8 | | TLE::WINALSKI | Paul S. Winalski | Thu Jan 30 1986 21:32 | 15 |
| No, I meant GASP (the SP means Simulation Package, don't know what the GA is).
GASP is a library of FORTRAN subroutines to assist in writing simulation
programs. The routines include random number generators, statistical routines,
report formatters, queue and event management routines, etc. You can treat
the calls to these routines almost like a higher-level language, but the
entirety of FORTRAN is there if you need it or wish to use it.
It's a pretty powerful package. It's written in ANSI Standard FORTRAN-66,
and it runs absolutely everywhere. It is the most portable non-trivial
piece of software I've ever seen. I took the DEC-10 version and it compiled
and ran on a IBM System/370 and on a VAX without changing a single line of
code!
--PSW
|
79.9 | VHDL | BLITZN::PALO | Rik @(oo)@ Palo | Sat Mar 08 1986 22:49 | 17 |
|
VHDL is the VHSIC H/W Description Language and is a project sponsored
by USAF at Write Patterson AFB. It's used to describe H/W circuits
and their interconnections, then bundle it all up and simulate it
in a workbench type situation. The VHDL language is based on Ada
and has neat things like program libraries and packages and such.
I'm working on the Independent Verification & Validation of that
compiler/simulation system (UTMC is the prime) and Intermetrics
out of Bethesda, Md. is the developer of the first system which
is being written in VAX Ada for, of course, the VAX. It will also
be targetted to the IBM/370.
VHDL has recently been "grabbed" by IEEE and is in the process of
being drafted as a Standard. There will be an IEEE conference on
VHDL 20th-21st Mar in North Carolina.
\rik
|
79.10 | New infos on SIMULA? | PAULUS::THIMM | Andreas Thimm, SAM Frankfurt, @FRO | Mon Nov 02 1987 06:26 | 15 |
|
Hi all, hi Matt,
nearly two years have passed since the last entry on SIMULA in this
note / conference / DECnote-world had been typed.
Does anybody know about any actual dates of the compiler? (Version,
where_to_get_it_from, price (if not DEC internal), ...)
Thanks very much
Andreas
|