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 slave interface</h2>
|
6 |
|
|
<h3>Description</h3>
|
7 |
|
|
<strong>Asyncronous (SRAM-like) slave interface</strong> is a simple parametrized bus converter. It acts as a slave device
|
8 |
|
|
for a Wishbone bus master device and converts cycles on the wishbone bus to asyncronous access cycles, very similar to SRAM
|
9 |
|
|
access cycles. That type of bus interface is very common between slow to middle speed peripherial chips available on the
|
10 |
|
|
market. With this core it is possible to use those peripherials from a Wishbone master device. It is also possible to drive
|
11 |
|
|
high-speed SRAM devices and use them as off-core memory. The core is 100% Wishbone compatible
|
12 |
|
|
with the <a href="wb_extensions.shtml">WishboneTK extensions</a>. The address and data bus-width can be configured through compile-time
|
13 |
|
|
parameters. The speed of the external device can be set using input signals. A deactivation cycle is inserted after each access to
|
14 |
|
|
the core thus the maximum access speed is half of the speed of the Whisbone bus. Becouse deactivation cycle is completed after the
|
15 |
|
|
finish of the access cycle if the next access on the Whisbone bus is to another device zero wait-state operation can be achieved.
|
16 |
|
|
|
17 |
|
|
<h3>Wishbone datasheet</h3>
|
18 |
|
|
<table border>
|
19 |
|
|
<tr><th>Description</th><th>Specification</th></tr>
|
20 |
|
|
<tr><td>General Description </td><td>Asyncronous (SRAM-like) slave interface</td></tr>
|
21 |
|
|
<tr><td>Supported cycles </td><td>Slave read/write<br>Slave block read/write<br>Slave rmw</td></tr>
|
22 |
|
|
<tr><td>Data port size </td><td>variable</td></tr>
|
23 |
|
|
<tr><td>Data port granularity </td><td>8-bit</td></tr>
|
24 |
|
|
<tr><td>Data port maximum operand size </td><td>same as data port size</td></tr>
|
25 |
|
|
<tr><td>Data transfer ordering </td><td>n/a</td></tr>
|
26 |
|
|
<tr><td>Data transfer sequencing </td><td>n/a</td></tr>
|
27 |
|
|
<tr><td>Supported signal list and cross reference to equivalent Wishbone signals</td><td>
|
28 |
|
|
<table>
|
29 |
|
|
<tr><th>Signal name</th><th>Wishbone equiv.</th></tr>
|
30 |
|
|
<!-- SLAVE SIGNALS -->
|
31 |
|
|
<tr><td>CLK_I </td><td>CLK_I</td></tr>
|
32 |
|
|
<tr><td>RST_I </td><td>RST_I</td></tr>
|
33 |
|
|
<tr><td>STB_I </td><td>STB_I</td></tr>
|
34 |
|
|
<tr><td>WE_I </td><td>WE_I </td></tr>
|
35 |
|
|
<tr><td>ACK_O </td><td>ACK_O</td></tr>
|
36 |
|
|
<tr><td>SEL_I(..) </td><td>SEL_I()</td></tr>
|
37 |
|
|
<tr><td>ADR_I(..) </td><td>ADR_I()</td></tr>
|
38 |
|
|
<tr><td>DAT_I(..) </td><td>DAT_I()</td></tr>
|
39 |
|
|
<tr><td>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>WAIT_STATE(3..0)</td><td>Number of wait-states to generate. 0 means 1 access and one deactivation cycle, no wait-states.</td></tr>
|
52 |
|
|
<tr><td>CLK_I </td><td>Wishbone clock signal</td></tr>
|
53 |
|
|
<tr><td>RST_I </td><td>Wishbone reset signal</td></tr>
|
54 |
|
|
<tr><td>STB_I </td><td>Wishbone strobe signal. High value indicates cycle to this particular device</td></tr>
|
55 |
|
|
<tr><td>WE_I </td><td>Wishbone write enable signal. High indicates data flowing from master to slave</td></tr>
|
56 |
|
|
<tr><td>ACK_O </td><td>Wishbone acknowledge signal. High indicates that slave finished operation sucessfully</td></tr>
|
57 |
|
|
<tr><td>ACK_OI </td><td>WhisboneTK acknowledge chain input signal</td></tr>
|
58 |
|
|
<tr><td>ADR_I(addr_width-1..0) </td><td>Wishbone address bus signals</td></tr>
|
59 |
|
|
<tr><td>DAT_I(width-1..0) </td><td>Wishbone data bus input (to slave direction) signals</td></tr>
|
60 |
|
|
<tr><td>DAT_O(width-1..0) </td><td>Wishbone data bus output (to master direction) signals</td></tr>
|
61 |
|
|
<tr><td>DAT_OI(width-1..0) </td><td>WhisboneTK data bus chain input signal</td></tr>
|
62 |
|
|
<tr><td>SEL_I(addr_width/8-1..0) </td><td>Wishbone byte-selection signals</td></tr>
|
63 |
|
|
<tr><th colspan="2">Aysncronous interfce signals</th></tr>
|
64 |
|
|
<tr><td>A_DATA(width-1..0)</td><td>Bidirectional data bus signals</td></tr>
|
65 |
|
|
<tr><td>A_ADDR(addr_width-1..0)</td><td>Address bus output signals</td></tr>
|
66 |
|
|
<tr><td>A_RDN</td><td>Active low read signal</td></tr>
|
67 |
|
|
<tr><td>A_WRN</td><td>Active low write signal</td></tr>
|
68 |
|
|
<tr><td>A_CEN</td><td>Active low chip-select signal</td></tr>
|
69 |
|
|
<tr><td>A_BYEN(addr_width/8-1..0)</td><td>Active-low byte-enable signals</td></tr>
|
70 |
|
|
</td></tr></table>
|
71 |
|
|
|
72 |
|
|
<h2>Author & Maintainer</h2>
|
73 |
|
|
<p>
|
74 |
|
|
<a href="/people/tantos">Andras Tantos</a>
|
75 |
|
|
<!--# include virtual="/ssi/ssi_end.shtml" -->
|