|
Message
From: Jeremy Bennett<jeremy.bennett@e...>
Date: Thu Aug 28 09:47:13 CEST 2008
Subject: [openrisc] How to add additional model to or1ksim
On Wed, 2008-08-27 at 13:59 +0800, xianfeng zeng wrote:> I'd like to add some additional models of OpenCores peripherals and > system controllers to or1ksim. > Searching Opencore.org, but could not find any relevant, where can I get > the documents? Does anyone who can let me know how to do that?
Hi Xianfeng,
I have never found any detailed documentation on Or1ksim. There are the various README files in the source. You can use the "help" option in Or1ksim to get a brief explanation of its arguments and commands.
Or1ksim is only partly complete (the last stable build was 0.2.0 from 2004). The code base shows it was in a migration to a more general structure that could dynamically configure the architecture, but this work is not finished.
I had to learn about Or1ksim by reading the code. You may get a little more feel for it by looking at my application note on building a SystemC wrapper for Or1ksim.
http://www.embecosm.com/appnotes/sysc_tlm2_simple_or1k/html/index.html
One approach you may like to consider is to add additional peripherals via this SystemC interface. If you wish to modify Or1ksim itself, then I suggest you look at one of the existing peripherals (see the peripheral subdirectory), such as the 16450 UART.
If you are successful, then please contribute your code back. We're particularly interested in any bugs you find. You can record them via the OpenRISC tracker:
http://www.opencores.org/ptracker.cgi/list/or1k
If you find time to add some documentation, that will be really helpful for everyone.
Best wishes,
Jeremy
-- Tel: +44 (1202) 416955 Cell: +44 (7970) 676050 SkypeID: jeremybennett Email: jeremy.bennett@e... Web: www.embecosm.com
|
 |