1# -*- coding: utf-8 -*- 2# Copyright (c) 2015 Jason Power 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 114 unchanged lines hidden (view full) --- 123 system.cpu.interrupts[0].pio = system.membus.master 124 system.cpu.interrupts[0].int_master = system.membus.slave 125 system.cpu.interrupts[0].int_slave = system.membus.master 126 127# Connect the system up to the membus 128system.system_port = system.membus.slave 129 130# Create a DDR3 memory controller |
131system.mem_ctrl = DDR3_1600_8x8() |
132system.mem_ctrl.range = system.mem_ranges[0] 133system.mem_ctrl.port = system.membus.master 134 135# Create a process for a simple "Hello World" application 136process = LiveProcess() 137# Set the command 138# cmd is a list which begins with the executable (like argv) 139process.cmd = [binary] --- 12 unchanged lines hidden --- |