# Unipro ARM system

OBJECT cpu0 TYPE armv5te {
	freq_mhz: 30
	physical_memory: phys_mem0
	queue: cpu0
}

OBJECT phys_mem0 TYPE memory-space {
        map: (
	      (0x00000000, memory1, 0, 0, 0x01000000),
	      (0x12000000, bsr_bcr, 0, 0, 0x00000004),
              (0x80000000, sa1110_0, 0, 0, 0x20000000),
              (0xe0000000, rom0, 0, 0, 0x10000000),
              (0xc0000000, memory0, 0, 0, 0x02000000),
	      (0xd0000000, memory3, 0, 0, 0x01000000),
	      (0xf0000000, memory2, 0, 0, 0x00010000))
}

OBJECT sa1110_0 TYPE SA1110-device {
        queue: cpu0
        irq_dev: cpu0
	console: con0
}

OBJECT memory1 TYPE ram {
	image: memory1_image
}

OBJECT memory3 TYPE ram {
	image: memory3_image
}

OBJECT memory0 TYPE ram {
	image: memory0_image
}

OBJECT memory2 TYPE ram {
	image: memory2_image
}

OBJECT memory2_image TYPE image {
	queue: cpu0
	size: 0x00010000
	}

OBJECT memory1_image TYPE image {
	queue: cpu0
	size: 0x10000000
}

OBJECT memory3_image TYPE image {
	queue: cpu0
	size: 0x1000000
}

OBJECT memory0_image TYPE image {
	queue: cpu0
	size: 0x20000000
}

OBJECT rom0 TYPE rom {
        image: rom0_image
}

OBJECT rom0_image TYPE image {
        queue: cpu0
        size: 0x10000000
}

OBJECT bsr_bcr TYPE rom {
        image: bsr_bcr_image
}

OBJECT bsr_bcr_image TYPE image {
        queue: cpu0
        size: 0x00000004
}

OBJECT con0 TYPE xterm-console {
        title: "arm-test-machine"
	bg-color: "black"
	fg-color: "green"
	queue: cpu0
 	device: sa1110_0
	output-timeout: 120
}
