Guest
I have a testbench which simulates my rtl design.
Then I synthesize (synplify) the rtl code and get a netlist, but also a
".vhm" file which
is a netlist description in vhdl of the synhtesis result.
Great, I use my old testbench with a new configuration (net_cfg) that
puts the netlist
entity in place of the rtl entity and can test the synt result.
Now I'd like to do the same for the "gate" level (xilinx fpga) netlist
which can be obtained
using ISE toolsuite (netgen).
I create a new configuration (gate_cfg), and start the simulator.
Now I discover that my test bench was not aware of the clock-to-out
delay that
the "real" system now shows.
So i put a generic (clock_to_out) in the testbench entity declaration.
But I would
still like to simulate on my configurations, and have them to set the
generic value!
This seem impossible?!? I read a thread here "Specifying generics in
configuration" which
touched upon similar issues, but did't come to a conclusion, except
wrapping
the testbench up in another entity where the generic can be reached.
I'm awear of the possibillity: "vsim -gclock_to_out=12ns ..." but I
would like (if possible)
to keep all such specifications into the dedicated configuration.
Any ideas or clues are appreciated!
Regards, Pontus
Then I synthesize (synplify) the rtl code and get a netlist, but also a
".vhm" file which
is a netlist description in vhdl of the synhtesis result.
Great, I use my old testbench with a new configuration (net_cfg) that
puts the netlist
entity in place of the rtl entity and can test the synt result.
Now I'd like to do the same for the "gate" level (xilinx fpga) netlist
which can be obtained
using ISE toolsuite (netgen).
I create a new configuration (gate_cfg), and start the simulator.
Now I discover that my test bench was not aware of the clock-to-out
delay that
the "real" system now shows.
So i put a generic (clock_to_out) in the testbench entity declaration.
But I would
still like to simulate on my configurations, and have them to set the
generic value!
This seem impossible?!? I read a thread here "Specifying generics in
configuration" which
touched upon similar issues, but did't come to a conclusion, except
wrapping
the testbench up in another entity where the generic can be reached.
I'm awear of the possibillity: "vsim -gclock_to_out=12ns ..." but I
would like (if possible)
to keep all such specifications into the dedicated configuration.
Any ideas or clues are appreciated!
Regards, Pontus