<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <meta http-equiv="Content-Type"content="text/html; charset=utf-8">
    <link href="../style.css" rel="Stylesheet" type="text/css">
    <title>CPU editor</title>
  </head>
  <body>
    <h2>CPU editor</h2>
    <p>
      The cpu editor can be used to edit the details of a cpu within a component.
    </p>
	<p>
	    <b>Name</b> is a mandatory identifier for the <i>cpu</i>.
    </p>
    <p>
        <b>Display name</b> is an optional and used for a more user-friendly identifier.
    </p>
    <p>
      <b>Short description</b> is an optional field for compact description of the <i>cpu</i>.
    </p>
    <p>
      <b>Description</b> is an optional field for textual description of the <i>cpu</i>.		
    </p>
    
    <h3>General settings</h3>

    <p>
      <b>Memory map</b> is mandatory and maps the address space defined by range and 
      width to a <i>memory map</i> in the <i>component</i>.
    </p>

    <p>
      <b>Range</b> is mandatory and defines the address range in the memory map
      accessible by the <i>cpu</i>.
    </p>
      
    <p>
      <b>Width</b> is mandatory and defines the bit width of a row in the memory
      map for the <i>cpu</i>.
    </p>

    <p>
      <b>Address unit bits</b> (AUB)  is an optinal field that defines the number 
      of data bits each address increment in the address space contains. 
      The default setting for a <i>cpu</i> address space is byte addressable (8 bits).
    </p>

    <h3>Regions</h3>
    <p>
      Regions editor can be used to describe sections of the address space available
      for the <i>cpu</i> by splitting it into smaller <i>regions</i>.
    </p>

    <p>
	    <b>Name</b> is a mandatory identifier for the <i>region</i>.
    </p>
    <p>
        <b>Display name</b> is an optional and used for a more user-friendly identifier.
    </p>
    <p>
      <b>Short description</b> is an optional field for compact description of the <i>region</i>.
    </p>
    <p>
      <b>Offset</b> is mandatory and defines the starting address of the <i>region</i> in address unit bits.
	</p>
	<p>
		<b>Range</b> is mandatory and defines the size of the <i>region</i> in address unit bits.
    </p>
    <p>
      <b>Description</b> is an optional field for textual description of the <i>region</i>.		
    </p>

    <p>
      Regions editor provides a context menu (right mouse button) with
      the following options:
    </p>
    <ul>
      <li>Add new region (Add row)</li>
      <li>Remove region (Remove row)</li>
      <li>Clear the selected cells</li>
      <li>Copy the contents of the selected cells to clipboard</li>
      <li>Paste the contents of the clipboard to the selected cells</li>
      <li>Copy selected element to clipboard (Copy elements)</li>
      <li>Paste the element from the clipboard (Paste elements)</li>	  
      <li>Import a csv-file to the editor</li>
      <li>Export the contents of the editor to a csv-file</li>
    </ul>

  </body>
</html>
