hello in modelsim?

A

a.h e.j

Guest
hello every one
i wrote code of verilog that include hello and compile in modelsim and it's ok but
iwant to show hello how can i get to this approach?
sincerly
 
a.h e.j wrote:
hello every one
i wrote code of verilog that include hello and compile in modelsim and it's ok but
iwant to show hello how can i get to this approach?
sincerly

Do you want to see "hello" in the transcript window? Something
like:

$display ("hello");

(this would need to be inside a process, usually an initial block)

--
Gabor
 
On Thursday, February 27, 2014 10:01:14 AM UTC-8, gabor wrote:
a.h e.j wrote:

hello every one

i wrote code of verilog that include hello and compile in modelsim and it's ok but

iwant to show hello how can i get to this approach?

sincerly



Do you want to see "hello" in the transcript window? Something

like:



$display ("hello");



(this would need to be inside a process, usually an initial block)



--

Gabor

thanks Gabor but
dont work. i wrote this:

module hello;
initial
begin
$display ("helloo");
end
endmodule
but in transcript show:
# Compile of hello.v was successful.
and i didn't see helloo
thanks
 
a.h e.j wrote:
On Thursday, February 27, 2014 10:01:14 AM UTC-8, gabor wrote:
a.h e.j wrote:

hello every one
i wrote code of verilog that include hello and compile in modelsim and it's ok but
iwant to show hello how can i get to this approach?
sincerly


Do you want to see "hello" in the transcript window? Something

like:



$display ("hello");



(this would need to be inside a process, usually an initial block)



--

Gabor

thanks Gabor but
dont work. i wrote this:

module hello;
initial
begin
$display ("helloo");
end
endmodule
but in transcript show:
# Compile of hello.v was successful.
and i didn't see helloo
thanks

Well, the "helloo" won't go to the transcript until you actually
run the simulation. Try this. Once you see:
# Compile of hello.v was successful.
Type:
run 1ns
Then hopefully you should see your message.

--
Gabor
 
On Friday, February 28, 2014 8:13:49 AM UTC-8, gabor wrote:
a.h e.j wrote:

On Thursday, February 27, 2014 10:01:14 AM UTC-8, gabor wrote:

a.h e.j wrote:



hello every one

i wrote code of verilog that include hello and compile in modelsim and it's ok but

iwant to show hello how can i get to this approach?

sincerly





Do you want to see "hello" in the transcript window? Something



like:







$display ("hello");







(this would need to be inside a process, usually an initial block)







--



Gabor



thanks Gabor but

dont work. i wrote this:



module hello;

initial

begin

$display ("helloo");

end

endmodule

but in transcript show:

# Compile of hello.v was successful.

and i didn't see helloo

thanks



Well, the "helloo" won't go to the transcript until you actually

run the simulation. Try this. Once you see:

# Compile of hello.v was successful.

Type:

run 1ns

Then hopefully you should see your message.



--

Gabor
 

Welcome to EDABoard.com

Sponsor

Back
Top