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.

Uninitialized out port

Status
Not open for further replies.

tj.diego

Junior Member level 2
Junior Member level 2
Joined
Apr 21, 2011
Messages
22
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,414
Hi floks,
i'm back again with a new error!!! :)
i wrote the vhdl code of a kogge-stone radix-2 at 8 bit, but i can't run the simulation because i get this error:

Code:
[CODE]# vsim -voptargs=+acc work.ks_tb 
# Loading std.standard
# Loading std.textio(body)
# Loading ieee.std_logic_1164(body)
# Loading ieee.std_logic_arith(body)
# Loading ieee.std_logic_unsigned(body)
# Loading work.ks_tb(tb)
# Loading work.ks(arcks)
# Loading work.redblock(arcred)
# Loading work.yellowblock(arcyellow)
# Loading work.blueblock(arcblue)
# ** Warning: (vsim-WLF-5000) WLF file currently in use: vsim.wlf
#           File in use by:   Hostname:   ProcessID: 1
#           Attempting to use alternate WLF file "./wlftc4my1s".
# ** Warning: (vsim-WLF-5001) Could not open WLF file: vsim.wlf
#           Using alternate file: ./wlftc4my1s
# ** Warning: (vsim-8683) Uninitialized out port /ks_tb/uut/s9(8 downto 0) has no driver.
# This port will contribute value (UUUUUUUUU) to the signal network.
#         Region: /ks_tb
[/CODE]

here are the two file code:
View attachment koggestone.vhd.txtView attachment koggestoneTB.vhd.txt

Thanks a lot in advance

ps here there is the schematic at 16bit that i followed!
kogge.png
 

Why don't you check the code yourself before posting? A brief view to the implementation of entity ks clarifies, that output s9 is never written.
 

what a shame....i'm really sorry, i checked the code, but i didn't saw the error!
btw i thought that this kind of error are reported from the compiler!!! so i was looking for some more important error!!!
thanks again!
 

btw i thought that this kind of error are reported from the compiler!!!

You mean like this?

# ** Warning: (vsim-8683) Uninitialized out port /ks_tb/uut/s9(8 downto 0) has no driver
 

You mean like this?

# ** Warning: (vsim-8683) Uninitialized out port /ks_tb/uut/s9(8 downto 0) has no driver

i expected something like "the port s(8 downto 0) doesn't exist"

btw i'm learning how the compiler talk to me! :)
 

i expected something like "the port s(8 downto 0) doesn't exist"

btw i'm learning how the compiler talk to me! :)

I know how you feel. Sometimes the messages can be reasonably cryptic. But you get used to it. ;) What does help however is for every new warning you don't recognize yet: cut & paste the warning into google. You learn a whole lot that way. :)
 

i did it, but this time didn't work, btw thanks a lot for your advices!!! :)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top