Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

modelsim & tcl testbench

Status
Not open for further replies.

rosaldorosa

Newbie level 1
Joined
Jan 5, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
US
Activity points
1,289
I'm trying to create testbench which creates sin(x) real value, then converts to std_logic_vector, then sends to VHDL input (in CLK interval)
Does anyone know how tcl scripts influence tested code.
I found do file somewhere on the WEB.


vcom -novopt ../vhdl/traffic.vhd ../vhdl/queue.vhd ../vhdl/tb_traffic.vhd
source intersection.tcl
draw_intersection
set_light_state green .traffic.i.ns_light
set_light_state green .traffic.i.ew_light
vmap work work
vsim -novopt tb_traffic
source lights.tcl
...........

I would like to do sth similar, like
vcom ....
source sinx.tcl
vsim ...
send_sin_STD_LOGIC_VECTOR_value_to_VHDL_input
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top