1 |
9 |
root |
<!--# include virtual="/ssi/ssi_start.shtml" -->
|
2 |
|
|
<link REL="stylesheet" TYPE="text/css" HREF="/people/tantos/styles.css">
|
3 |
|
|
|
4 |
|
|
<h1>WisboneTK</h1>
|
5 |
|
|
<h2>Asyncronous master interface</h2>
|
6 |
|
|
<h3>Description</h3>
|
7 |
|
|
<strong>Asyncronous master interface</strong> is a simple parametrized bus converter. It acts as a slave device
|
8 |
|
|
for an asyncron CPU-like master device and converts cycles to wishbone compatible bus access cycles. That
|
9 |
|
|
type of bus interface is very common between slow to middle speed CPUs and MCUs available on the
|
10 |
|
|
market. With this core it is possible to use those Wishbone peripherials from those device. The core is 100% Wishbone compatible
|
11 |
|
|
with the <a href="wb_extensions.shtml">WishboneTK extensions</a>. The address and data bus-width can be configured
|
12 |
|
|
through compile-time parameters. The speed of the asyncronous bus is controled by the wait signal.
|
13 |
|
|
|
14 |
|
|
<h3>Wishbone datasheet</h3>
|
15 |
|
|
<table border>
|
16 |
|
|
<tr><th>Description</th><th>Specification</th></tr>
|
17 |
|
|
<tr><td>General Description </td><td>Asyncronous master interface</td></tr>
|
18 |
|
|
<tr><td>Supported cycles </td><td>Master read/write<br>Master block read/write<br>Master rmw</td></tr>
|
19 |
|
|
<tr><td>Data port size </td><td>variable</td></tr>
|
20 |
|
|
<tr><td>Data port granularity </td><td>8-bit</td></tr>
|
21 |
|
|
<tr><td>Data port maximum operand size </td><td>same as data port size</td></tr>
|
22 |
|
|
<tr><td>Data transfer ordering </td><td>n/a</td></tr>
|
23 |
|
|
<tr><td>Data transfer sequencing </td><td>n/a</td></tr>
|
24 |
|
|
<tr><td>Supported signal list and cross reference to equivalent Wishbone signals</td><td>
|
25 |
|
|
<table>
|
26 |
|
|
<tr><th>Signal name</th><th>Wishbone equiv.</th></tr>
|
27 |
|
|
<!-- SLAVE SIGNALS -->
|
28 |
|
|
<tr><td>S_CLK_I </td><td>CLK_I</td></tr>
|
29 |
|
|
<tr><td>S_RST_I </td><td>RST_I</td></tr>
|
30 |
|
|
<tr><td>S_CYC_O </td><td>CYC_O</td></tr>
|
31 |
|
|
<tr><td>S_STB_O </td><td>STB_O</td></tr>
|
32 |
|
|
<tr><td>S_WE_O </td><td>WE_O </td></tr>
|
33 |
|
|
<tr><td>S_ACK_I </td><td>ACK_I</td></tr>
|
34 |
|
|
<tr><td>S_RTY_I </td><td>RTY_I</td></tr>
|
35 |
|
|
<tr><td>S_ERR_I </td><td>ERR_I</td></tr>
|
36 |
|
|
<tr><td>S_SEL_O(..) </td><td>SEL_O()</td></tr>
|
37 |
|
|
<tr><td>S_ADR_O(..) </td><td>ADR_O()</td></tr>
|
38 |
|
|
<tr><td>S_DAT_I(..) </td><td>DAT_I()</td></tr>
|
39 |
|
|
<tr><td>S_DAT_O(..) </td><td>DAT_O()</td></tr>
|
40 |
|
|
</table>
|
41 |
|
|
</table>
|
42 |
|
|
<h3>Parameter description</h3>
|
43 |
|
|
<table border>
|
44 |
|
|
<tr><th>Parameter name</th><th>Description</th></tr>
|
45 |
|
|
<tr><td>width</td><td>Data bus width</td></tr>
|
46 |
|
|
<tr><td>addr_width</td><td>Address bus width</td></tr>
|
47 |
|
|
</table>
|
48 |
|
|
<h3>Signal description</h3>
|
49 |
|
|
<table border>
|
50 |
|
|
<tr><th>Signal name</th><th>Description</th></tr>
|
51 |
|
|
<tr><td>S_CYC_O </td><td>Wishbone cycle signal. High value frames blocks of access</td></tr>
|
52 |
|
|
<tr><td>S_STB_O </td><td>Wishbone strobe signal. High value indicates cycle to this particular device</td></tr>
|
53 |
|
|
<tr><td>S_WE_O </td><td>Wishbone write enable signal. High indicates data flowing from master to slave</td></tr>
|
54 |
|
|
<tr><td>S_ACK_I </td><td>Wishbone acknowledge signal. High indicates that slave finished operation sucessfully</td></tr>
|
55 |
|
|
<tr><td>S_RTY_I </td><td>Wishbone retry signal. High indicates that slave requests retry of the <strong>last cycle in the block</strong>.</td></tr>
|
56 |
|
|
<tr><td>S_ERR_I </td><td>Wishbone error signal. High indicates that slave cannot complete the <strong>last cycle in the block</strong>.</td></tr>
|
57 |
|
|
<tr><td>S_ADR_O(addr_width-2..0) </td><td>Wishbone address bus signals</td></tr>
|
58 |
|
|
<tr><td>S_SEL_O(width/8-1..0) </td><td>Wishbone byte-selection signals</td></tr>
|
59 |
|
|
<tr><td>S_DAT_I(width-1..0) </td><td>Wishbone data bus input (to slave direction) signals</td></tr>
|
60 |
|
|
<tr><td>S_DAT_O(width-1..0) </td><td>Wishbone data bus output (to master direction) signals</td></tr>
|
61 |
|
|
<tr><th colspan="2">Aysncronous interfce signals</th></tr>
|
62 |
|
|
<tr><td>A_DATA(width-1..0)</td><td>Bidirectional data bus signals</td></tr>
|
63 |
|
|
<tr><td>A_ADDR(addr_width-1..0)</td><td>Address bus output signals</td></tr>
|
64 |
|
|
<tr><td>A_RDN</td><td>Active low read signal</td></tr>
|
65 |
|
|
<tr><td>A_WRN</td><td>Active low write signal</td></tr>
|
66 |
|
|
<tr><td>A_CEN</td><td>Active low chip-select signal</td></tr>
|
67 |
|
|
<tr><td>A_BYEN(addr_width/8-1..0)</td><td>Active-low byte-enable signals</td></tr>
|
68 |
|
|
<tr><td>A_WAITN</td><td>Active low wait signal</td></tr>
|
69 |
|
|
</td></tr></table>
|
70 |
|
|
|
71 |
|
|
<h2>Author & Maintainer</h2>
|
72 |
|
|
<p>
|
73 |
|
|
<a href="/people/tantos">Andras Tantos</a>
|
74 |
|
|
<!--# include virtual="/ssi/ssi_end.shtml" -->
|