×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

VHDL erro: "NUMERIC_STD.">": metavalue detected, returning FALSE"

VHDL erro: "NUMERIC_STD.">": metavalue detected, returning FALSE"

VHDL erro: "NUMERIC_STD.">": metavalue detected, returning FALSE"

(OP)
Hi everybody. I'm have to implement a testbench for a sign-mag adder in a college project, but im having problems.
I can do the analysis and the elaboration without any problems, however when i try to execute the file i receive the message "../../src/ieee/numeric_std-body.v93:1005:7:@0ms:(assertion warning): NUMERIC_STD.">": metavalue detected, returning FALSE"
Im new to vhdl, so i don't have any idea how to solve it.

The code of the testbench is:

LIBRARY ieee;
USE ieee.std_logic_1164.all;

ENTITY sign_mag_add_test IS
END sign_mag_add_test;
ARCHITECTURE arch OF sign_mag_add_test IS

SIGNAL a : STD_LOGIC_VECTOR(3 DOWNTO 0);
SIGNAL b : STD_LOGIC_VECTOR(3 DOWNTO 0);
SIGNAL sum : STD_LOGIC_VECTOR(3 DOWNTO 0);
COMPONENT sign_mag_add
PORT (
a : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
b : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
sum : OUT STD_LOGIC_VECTOR(3 DOWNTO 0)
);
END COMPONENT;
BEGIN
i1 : sign_mag_add
PORT MAP (
a => a,
b => b,
sum => sum
);
init : PROCESS
BEGIN
WAIT;
END PROCESS init;
always : PROCESS
BEGIN
a <= "0011"; b <= "0010";
wait for 200 ns;
a <= "0001"; b <= "0100";
wait for 200 ns;
a <= "1011"; b <= "0010";
wait for 200 ns;
a <= "0011"; b <= "1010";
wait for 200 ns;
a <= "1001"; b <= "0100";
wait for 200 ns;
a <= "0001"; b <= "1100";
wait for 200 ns;
a <= "1011"; b <= "0011";
wait for 200 ns;
a <= "0011"; b <= "1011";
wait for 200 ns;
wait;
WAIT;
END PROCESS always;
END arch;

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close