Aug 7, 2009 #1 C cwjcwjcwj Full Member level 5 Joined Nov 8, 2004 Messages 273 Helped 17 Reputation 34 Reaction score 12 Trophy points 1,298 Activity points 1,714 testbench tcl I am beginner of using TCL to write testbench for my VHDL code. Anyone have a good tutorial or example that i can start with? thank you very much.
testbench tcl I am beginner of using TCL to write testbench for my VHDL code. Anyone have a good tutorial or example that i can start with? thank you very much.
Aug 14, 2009 #2 C cachep Member level 2 Joined Jun 1, 2006 Messages 51 Helped 6 Reputation 12 Reaction score 2 Trophy points 1,288 Activity points 1,583 fpga testbench tcl You can see h**p://www.altera.com/support/examples/tcl/counter_tcl.html or www.model.com/support/technotes/tcl_tk/tcl_testbench.pdf
fpga testbench tcl You can see h**p://www.altera.com/support/examples/tcl/counter_tcl.html or www.model.com/support/technotes/tcl_tk/tcl_testbench.pdf
Dec 23, 2010 #3 A aiko89 Newbie level 4 Joined Dec 22, 2010 Messages 6 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,351 Re: fpga testbench tcl module count (clk, rst, enable, cnt); input clk, rst, enable; output [3:0] cnt; reg [3:0] cnt; always @(posedge clk or posedge rst) // async active high reset begin if(rst) cnt <= 0; else if(enable) cnt <= cnt + 1; end endmodule ============================================================ do you know how to use this wan to do a testbench?
Re: fpga testbench tcl module count (clk, rst, enable, cnt); input clk, rst, enable; output [3:0] cnt; reg [3:0] cnt; always @(posedge clk or posedge rst) // async active high reset begin if(rst) cnt <= 0; else if(enable) cnt <= cnt + 1; end endmodule ============================================================ do you know how to use this wan to do a testbench?
Dec 23, 2010 #4 V vaisram Member level 1 Joined Dec 2, 2010 Messages 32 Helped 6 Reputation 12 Reaction score 5 Trophy points 1,288 Activity points 1,469 hi aiko89.. if you want to know how to write a testbench for any given code then check out WWW.TESTBENCH.IN website.. Here they talk about all verification concepts in detail and sample programs to help you out..
hi aiko89.. if you want to know how to write a testbench for any given code then check out WWW.TESTBENCH.IN website.. Here they talk about all verification concepts in detail and sample programs to help you out..