thanks very much trickydricky.
The problem is in the original testbench the same things worked while assigning values to inout signals directly and it didn't complain but the verilog one complains when you assign the directly. (so the need to probe the enables)?? I really don't know how to deal with this error (illegal inout ports vsim -3053)??? What is my solution then??
Then clearly your Verilog does NOT do what the VHDL did.
The solution would be to make the Verilog work the same.
That is as much as we can say without the VHDL and the new Verilog.
On another note; I have another problem, in my simuation some of my reset signals to from 0 to H state and they are causing Xes in my solution
Without the code. No clue.
Have you not shared it because you dont want to show off how terrible the code is?
Use the object viewer to find the variables you need
p= $fgets(line,fd);
n_items=$sscanf(line,"%h",f_data);
ReadLine(f,in_line);
HREAD(in_line, f_data);
I can't see them on object viewer either. Also
I am unable to display strings from my txt file which are in the form "Blah Blah Blah ".
Mnay thanks
- - - Updated - - -
Right .... I have a big txt file containg 32bit hex value repeated in a single continuos line like 0000 0f0h 0acc ...... ...... etc
Are these two lines not appropriate to do the job
Beacuse at the moment it does not read this while
while in the VHDL testbench
does read this type of file. Please have a look to help. Many thanks
- - - Updated - - -
It seems it is keeps on reading the first 32 bit hex value again and again... does not read the next one....
Thanks for all your replies. The things you can help without helping the code can you please help those like
1.the problem above
2. display strings from my txt file which are in "....................".
3. I am unable to see the variables from the testbench which are not on the ports.
I would really appreciate that. Many thanks
p= $fgets(line,fd);
n_items=$sscanf(line,"%h",f_data);
reg [31:0] data[0:2**32];
n_items=$fread(data,fd,0,2**32);
or
//$readmemh("test.txt",data);
People have been saying this to her from the beginning, no effect!send the txt file.
Yes, yes! Today is Friday.can we close this topic? it's time.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?