29.01.2015 Views

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

108 Chapter 8<br />

A mo<strong>de</strong>m (HW) which emulates the transaction to emit the enco<strong>de</strong>d picture<br />

and receive a picture accordingly to a baud rate.<br />

A vi<strong>de</strong>o card which combines both pictures and synchronize with a GUI<br />

posix thread tracing the images.<br />

A keyboard to activate the flows and switch between simple and double<br />

display.<br />

The tool generates co<strong>de</strong> <strong>for</strong> the accesses to the bus and a skeleton of module<br />

to be completed with the operation implementation. Then everything is<br />

compiled and linked to obtain a simulator of the plat<strong>for</strong>m. The simulator can<br />

be launched as a self standing simulator like a classical SystemC2.0 program,<br />

or one may use the VISTA tool to control and monitor the execution of the<br />

simulation (step by step, continuous, pause, resume).<br />

The tool also allows to drag observable variables to an oscilloscope which<br />

displays their states. These variables are figured like kind of output ports in<br />

the tool. The tool can interact with the simulation to change some settings of<br />

the system <strong>for</strong> analysis purpose. Some configuration variables can be introduced<br />

in a system mo<strong>de</strong>l. They are figured like kind of inputs ports. These<br />

observable and configuration variables are provi<strong>de</strong>d with the vista library:<br />

there are no signals at the transactional level of abstraction.<br />

VISTA embeds a protocol which allows to run the monitoring and the<br />

simulator tools on two different hosts. It even allows to monitor SystemC<br />

programs without having mo<strong>de</strong>led them with the tool. Using these vista variables<br />

allows to drive an analysis session illustrated in Figure 8-10. For<br />

example, one may think of increasing or <strong>de</strong>creasing the baud rate of the

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

Saved successfully!

Ooh no, something went wrong!