|
MUSIC’s Cookbook
MUSIC is very serious about bringing HARRP and CAM technology to the real world and enabling the broader use and distribution of this remarkable technology. One part of this effort is to re-name CAM based products as HARRP devices: HLA packaged & High performance Affordable & Asynchronous data Recall & Recognition Processors for applications that could really benefit from their unique functions and specialized operations. One of the biggest difficulties in understanding and using CAM technology devices has been their unique specifications and seemingly complex requirements.
MUSIC’s Cookbook is a visual, active representation of our working CAM based products presented as a series of easy to follow recipes.
Watch and Play with the recipes in the MUSIC Cookbook to learn about:
- Timing,
- Signal flows
- Product Functions
- Control Signal Requirements and Expressions
- Eliminate mistakes in both hardware and software
The Cookbook is intended to eliminate the need for setting up test benches in HDL or even making demo boards.
See for yourself… explore the recipes, see how easy it is to make CAM and HARRP MUSIC.
Hardware mode recipe: Write 64 bit through Address Register Devices: HARRP 2040, HARRP2080, MU9C4K64, MU9C8K64
| Ingredients |
Description |
| CAM WR AR |
Using Address register to store 64 bit entries in the device. A simple recipe shows how to write to the Address register and then use the address register as a pointer to store new entries. Once the full 64 bit entry is stored, the Address register is automatically incremented. |
| CAM WRL [AR] |
| CAM WRH [AR]+ |
Hardware mode recipe: Write 64 bit through Next Free Register Devices: HARRP 2040, HARRP2080, MU9C4K64, MU9C8K64
| Ingredients |
Description |
| Validity Bit signal |
A simple recipe to show how to use the Validity Bit signal to enable the use of Next Free Address register. The Next free address pointer automatically keeps track of free entries in the device special, for using it to store new entries the validity bit input signal should be properly conditioned. |
| CAM WRL [NFA] |
| CAM WRH [NFA] |
Hardware mode recipe: Read 64 bit through Highest Priority Match register Devices: HARRP 2040, HARRP2080, MU9C4K64, MU9C8K64
| Ingredients |
Description |
| Validity Bit signal |
A simple recipe to show how to read the 64bit contents from the device after a multi‐match compare. |
| CAM RDL [HPM] |
| CAM RDH [HPM]; NEXT |
Advanced Hardware mode recipe: MAC address search (48bit binary compares) Devices: HARRP 2040, HARRP2080, MU9C4K64, MU9C8K64
| Ingredients |
Description |
| RESET |
This recipe is a full example on how to setup the cam to perform 48 bit binary compares using a Mask register. It takes you through all the steps beginning with RESET and setting the HARRP to Hardware mode. It performs 4 MAC address insertions and then performs an SA (source Address) and DA (destination Address) lookup. Finally if the DA is not found it will insert it into the table. This last event is triggered externally by the controller looking at the Match Flag output bit. |
| WRH MR1 |
| WRH CR |
| WRL |
| MOV [NFA],CR |
| CMPL DQ {MR1} |
| CMPWL DQ {MR1} |
| MOV [NFA],CR |
Advanced Hardware Mode recipe: MAC Ternary Search (longest prefix match compares) Devices: HARRP 2040, HARRP2080, MU9C4K64, MU9C8K64
| Ingredients |
Description |
| RESET |
This example shows the Ternary functionality of the CAM The example loads the following IP numbers in the table to form an IPv4CIDR lookup table ' IP1 = 192.168.4.0 Mask1 = FF.FF.FF.F0/28 ' IP2 = 192.168.4.32 Mask2 = FF.FF.FF.E0/27 ' IP3 = 192.168.4.64 Mask3 = FF.FF.FF.C0/26 ' IP4 = 192.168.4.0 Mask4 = FF.FF.FF.00/24 when ternary lookups are performed, the CAM will give the longest prefix match first This example does a ternary compare on IP 192.168.0.40 and the result will be a match on IP2 More Information can be found in MUSIC Application Note AN‐N25
|
| WRL CR |
| WRH CR |
| MOV [NFA],CR |
| CMPT DQ |
|