08.11.2014 Views

Scoreboard Design Using Method Ports

Scoreboard Design Using Method Ports

Scoreboard Design Using Method Ports

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.

How to implement (monitor cont.)<br />

• Create a method to collect data by calling each method port in<br />

the list<br />

– Send_msg(message : trans_s) is {<br />

for each in out_trans_l {it$(message); };<br />

};<br />

• Call this method whenever the data extractor has something to<br />

report<br />

– data_extract_tcm() is @clk {<br />

….<br />

send_msg(cap_data_s);<br />

};

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

Saved successfully!

Ooh no, something went wrong!