Conversion to RTL

R

RSGUPTA

Guest
Hi,
I was wonderring what this template of SystemC code would be, if
written in RTL for Synthesis:
********* Code Snippet 1 ***********
if (condition 1 == true) {
rd_ptr++;
status = "001";
}
else {
wait();
}
*********************************
********* Code Snippet 2 ***********
if (condition 1 == true) {
rd_ptr++;
while (a== false){
wait();
}
}
else {
wait();
}
 
On Nov 2, 2:30 am, RSGUPTA <rsgupta.gu...@gmail.com> wrote:
Hi,
I was wonderring what this template of SystemC code would be, if
written in RTL for Synthesis:
********* Code Snippet 1 ***********
if (condition 1 == true) {
rd_ptr++;
status = "001";}

else {
wait();}

*********************************
********* Code Snippet 2 ***********
if (condition 1 == true) {
rd_ptr++;
while (a== false){
wait();}
}

else {
wait();

}
Your instructor is trying to find out if you were paying attention
during lectures.

Were you?
 

Welcome to EDABoard.com

Sponsor

Back
Top