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.

[SOLVED] Waveform testbench Output Error

Status
Not open for further replies.

hby01

Newbie level 4
Newbie level 4
Joined
Feb 19, 2014
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
41
Hi. I'm working on this 32-bit kogge stone adder and I can't seem to get the wavform testbench right. The output signals are giving me H'UUUUUUUU and i cant seem to figure out the solution.
my testbench is as follows:
 
Last edited:

Since you didn't include the ksa.vhd file, I can only guess that you didn't connect the Sum output in that file, U means Unassigned/Unknown in simulation.

Regards
 

just sent you the ksa.vhd file. Hope you could check it and give me some feedback.
 


Code VHDL - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
VHDL code:
 
----------------------------------------------------------------------------------
-- Company: 
-- Engineer: 
-- 
-- Create Date:    18:12:20 03/31/2014 
-- Design Name: 
-- Module Name:    ksa - Behavioral 
-- Project Name: 
-- Target Devices: 
-- Tool versions: 
-- Description: 
--
-- Dependencies: 
--
-- Revision: 
-- Revision 0.01 - File Created
-- Additional Comments: 
--
----------------------------------------------------------------------------------

 
Last edited:

I tried adding G and P to process sensitivity list but nothing changed.
 

Why are you generating a clock? Cin is not a clock according to ksa.vhd
Why have you created an array of std_logic? why not use std_logic_vector? (you're going to make your life difficult)
As signals in the design only change when the input changes, you need to provide enough inputs to allow the output to ripple all the way through G and P.
 
  • Like
Reactions: hby01

    hby01

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top