09.03.2013 Views

Processor Local Bus Functional Model Toolkit User's Manual

Processor Local Bus Functional Model Toolkit User's Manual

Processor Local Bus Functional Model Toolkit User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.2.1 Master <strong>Model</strong> Operation<br />

The PLB master model operation section discusses the decode unit, internal master data memory,<br />

command modes, burst modes, conversion cycles with different PLB device sizes, general purpose<br />

registers and ALU instructions, and branch instructions. The operations of PLB master model are<br />

shown in Figure 5.<br />

<strong>Bus</strong> <strong>Functional</strong><br />

Language File<br />

<strong>Bus</strong> <strong>Functional</strong><br />

Compiler<br />

Command<br />

File<br />

5.2.2 Decode Unit<br />

Decode Unit<br />

Command<br />

Memory<br />

Decode<br />

Logic<br />

Sim Info<br />

Cycle Info<br />

Queue Info<br />

Request<br />

Complete<br />

Response<br />

<strong>Bus</strong> Unit<br />

The PLB master model executes bus commands from internal command arrays which are loaded<br />

from the command file. The command file is the file generated by the bus functional compiler.<br />

When invoking the simulator, the command file should be included so that the command arrays are<br />

initialized when the simulation model is loaded. This is accomplished by using an include file<br />

parameter. The master commands are executed sequentially during simulation. The decode unit is<br />

designed to decode and queue external bus requests every PLB clock until the bus unit cycle queue<br />

is full.<br />

Memory Address<br />

Cycle<br />

Queue<br />

<strong>Bus</strong><br />

Interface<br />

Logic<br />

Memory<br />

Logic<br />

Version 4.9.2 PLB <strong>Bus</strong> <strong>Model</strong>s 17<br />

Memory Data<br />

Figure 5. PLB Master <strong>Model</strong><br />

CLK, Reset<br />

Timing Filter<br />

<strong>Processor</strong> <strong>Local</strong> <strong>Bus</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!