This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

SID generator application


At long last, here is a contributed application for generating SID
CPU components.  I won't list the new files here, but I will include the
patch to dev.scm for review.

Okay to commit?


2000-12-08  Ben Elliston  <bje@redhat.com>

        * dev.scm (load-sid): New function.
        * cgen-sid.scm: New file.
        * sid-cpu.scm: Likeiwse.
        * sid-decode.scm: Likewise.
        * sid-model.scm: Likewise.
        * sid.scm: Likewise.

--- /u5/sources.redhat.com/src/cgen/dev.scm	Mon Nov 20 11:50:33 2000
+++ ./dev.scm	Fri Dec  8 09:12:29 2000
@@ -9,6 +9,7 @@
 ; (use-c)
 ; (load-opc)
 ; (load-sim)
+; (load-sid)
 ; (cload #:arch arch #:machs "mach-list" #:isas "isa-list" #:options "options")

 ; First load fixup.scm to coerce guile into something we've been using.
@@ -106,6 +107,16 @@
   (set! APPLICATION 'GAS-TEST)
 )

+(define (load-sid)
+  (load "read")
+  (load "utils-sim")
+  (load "sid")
+  (load "sid-cpu")
+  (load "sid-model")
+  (load "sid-decode")
+  (set! verbose-level 3)
+  (set! APPLICATION 'SIMULATOR)
+)

 (define (load-sim)
   (load "read")
@@ -171,6 +182,10 @@
 [none yet]
 \n")

+(display "\
+sid options:
+[wip]
+\n")

 ; If ~/.cgenrc exists, load it.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]