OpenCores
URL https://opencores.org/ocsvn/igor/igor/trunk

Subversion Repositories igor

[/] [igor/] [trunk/] [microprogram_assembler/] [README] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 atypic
HOW TO USE THE MICROCODE ASSEMBLER
2
 
3
Start SLIME:
4
 
5
  M-x slime
6
 
7
Load the assembler (replace string by correct path):
8
 
9
  (push "/home/oystein/ntnu/lispm/lispm/mcasm/" asdf:*central-registry*)
10
  (asdf:operate 'asdf:load-op :mcasm)
11
  OR
12
  (require 'mcasm) [ only for sbcl ]
13
 
14
Enter the MCASM package (in SLIME REPL buffer):
15
 
16
  , change-package RET mcasm RET
17
  OR 
18
  ,!p  mcasm 
19
 
20
Open and load microprogram source file:
21
 
22
  C-x C-f microprogram.lisp RET
23
  C-c C-l RET
24
 
25
Assemble it (from SLIME REPL buffer):
26
 
27
To make a microcode file for the simulator, use:
28
  (write-microprogram :output-format :simulator)
29
 
30
To make a microcode file for the emulator, use:
31
 
32
  (write-microprogram :output-format t)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.