* sid.scm (sim-finish!): Read .sim files from srcdir/cpu.
* read.scm (include): Include files from srcdir/cpu.
(-cgen): Likewise for loading .cpu files.
+ * sid.scm (sim-finish!): Read .sim files from srcdir/cpu.
* *.cpu: Move all cpu descriptions into cpu subdirectory.
* *.opc: Likewise.
* simplify.inc: Likewise.
'(comment "write hardware elements via cover functions/methods"))
; If there is a .sim file, load it.
- (let ((sim-file (string-append srcdir "/" (current-arch-name) ".sim")))
+ (let ((sim-file (string-append srcdir "/cpu/" (current-arch-name) ".sim")))
(if (file-exists? sim-file)
(begin
(display (string-append "Loading sim file " sim-file " ...\n"))