- removed GHDL warnings
git-svn-id: http://moon:8086/svn/vhdl/trunk@1404 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -54,14 +54,14 @@ architecture Behavioral of alu is
|
||||
|
||||
--------------------------------------------------------------------------
|
||||
function test_zero(arg : unsigned) return STD_LOGIC is
|
||||
variable result : STD_LOGIC;
|
||||
variable res : STD_LOGIC;
|
||||
begin
|
||||
result := '0';
|
||||
res := '0';
|
||||
for i in arg'range loop
|
||||
result := result or To_X01(arg(i));
|
||||
res := res or To_X01(arg(i));
|
||||
end loop;
|
||||
|
||||
return not result;
|
||||
return not res;
|
||||
end test_zero;
|
||||
|
||||
--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user