05-06-2012 11:50 PM
I am trying to glow some LEDs with hardware co-simulation using system generator. I am getting proper output when I make change in i/p file (input to gateway in) and when I change my verilog file (which is assigned to black box), the simulation works properly but at the output of the hardware block it shows me older values (the values correspond to the i/p when the hardware is generated), So can we change the output of hardware block by changing verilog file's content?
Solved! Go to Solution.
05-16-2012 03:43 AM - edited 10-17-2012 06:51 AM
I got the answer from my friend that "In case of simulation, path of the the verilog file (attached with the black box) is directly given in config file" so whatever changes are done in verilog file is reflected in simulation, while in case of HW Cosim., generation of HW block refers the code of the verilog file at the time of generation, change in the code can not change the hardware, for that we need to generate HW block again after changing the code.