qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] AVR cores
@ 2016-06-03  0:40 Michael Rolnik
  2016-06-03  0:40 ` [Qemu-devel] [PATCH 1/9] target-avr: AVR cores support is added. 1. basic CPU structure 2. registers 3. no instructions Michael Rolnik
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Michael Rolnik @ 2016-06-03  0:40 UTC (permalink / raw)
  To: qemu-devel

This series of patches adds 8bit AVR cores to QEMU.
All instruction, except BREAK/DES/SPM/SPMX, are implemented. Not fully tested yet.
However I was able to execute simple code with functions. e.g fibonacci calculation.
This series of patches include a non real, sample board.
No fuses support yet. PC is set to 0 at reset.

the patches include the following
1. just a basic 8bit AVR CPU, without instruction decoding or translation
2. CPU features which allow define the following 8bit AVR cores
     avr1
     avr2 avr25
     avr3 avr31 avr35
     avr4
     avr5 avr51
     avr6
     xmega2 xmega4 xmega5 xmega6 xmega7
3. a difinition of sample machine with SRAM, FLASH and CPU which allows to execute simple code
4. encoding for all AVR instructions
5. interrupt handling
6. helpers for IN, OUT, SLEEP, WBR & unsupported instructions
7. a decoder which given an opcode decides what istruction it is
8. translation of AVR instruction into TCG
9. all features together

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-06-03  0:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-03  0:40 [Qemu-devel] AVR cores Michael Rolnik
2016-06-03  0:40 ` [Qemu-devel] [PATCH 1/9] target-avr: AVR cores support is added. 1. basic CPU structure 2. registers 3. no instructions Michael Rolnik
2016-06-03  0:40 ` [Qemu-devel] [PATCH 2/9] target-avr: adding AVR CPU features/flavors Michael Rolnik
2016-06-03  0:40 ` [Qemu-devel] [PATCH 3/9] target-avr: adding a sample AVR board Michael Rolnik
2016-06-03  0:40 ` [Qemu-devel] [PATCH 4/9] target-avr: adding instructions encodings Michael Rolnik
2016-06-03  0:40 ` [Qemu-devel] [PATCH 5/9] target-avr: adding AVR interrupt handling Michael Rolnik
2016-06-03  0:40 ` [Qemu-devel] [PATCH 6/9] target-avr: adding helpers for IN, OUT, SLEEP, WBR & unsupported instructions Michael Rolnik
2016-06-03  0:40 ` [Qemu-devel] [PATCH 7/9] target-avr: adding instruction decoder Michael Rolnik
2016-06-03  0:40 ` [Qemu-devel] [PATCH 8/9] target-avr: adding instruction translation Michael Rolnik
2016-06-03  0:40 ` [Qemu-devel] [PATCH 9/9] target-avr: updating translate.c to use instructions translation Michael Rolnik

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 NNTP newsgroup(s).