Behavioral Queue

  • Thread starter Vinilkant Tejaswi
  • Start date
V

Vinilkant Tejaswi

Guest
hi,

I would like to know if there is a method to test a behavioral queue
with no input or output signals. The question really is how to test
this.

module be_queue;

reg [7:0] data;
reg [2:0] cnt;
reg [7:0] queue [7:0];


endmodule

task full;

endtask

task empty; endtask
task put; endtask
task get; endtask


Thanks!!.

vinil
 
"Neo" <zingafriend@yahoo.com> wrote in message
news:1110440861.457913.3620@f14g2000cwb.googlegroups.com...
yep, do the io from a file inside the module.

or use hierarchical path to access regs, tasks, etc. (e.g. queue1.put,
queue1.get)

HTH,
Jim
jimwu88NOOOSPAM@yahoo.com (remove capital letters)
http://www.geocities.com/jimwu88/chips
 

Welcome to EDABoard.com

Sponsor

Back
Top